Skip to content

Conversation

@weronikaolejniczak
Copy link
Contributor

@weronikaolejniczak weronikaolejniczak commented Jan 7, 2026

Summary

Removed euiPaletteForLightBackground and euiPaletteForDarkBackground. Updated docs to use euiTheme.colors.vis.euiColorVisTextX.

Why are we making this change?

Related to #1469

Removal of the deprecated functions was planned for December 2025.

Screenshots #

Screenshot 2026-01-07 at 17 42 11

Impact to users

🔴 This is a breaking change. It removes deprecated palette functions.

Kibana (0 usages):

Cloud UI (0 usages):

It can still affect other consumers.

QA

Specific checklist

  • Verify there is no regression on the Data viz > Sizing page (staging, prod)

General checklist

  • Browser QA
    • Checked in both light and dark modes
    • Checked in both MacOS and Windows high contrast modes
    • Checked in mobile
    • Checked in Chrome, Safari, Edge, and Firefox
    • Checked for accessibility including keyboard-only and screenreader modes
  • Docs site QA
  • Code quality checklist
  • Release checklist
    • A changelog entry exists and is marked appropriately
    • If applicable, added the breaking change issue label (and filled out the breaking change checklist)
    • If the changes unblock an issue in a different repo, smoke tested carefully (see Testing EUI features in Kibana ahead of time)
  • Designer checklist
    • If applicable, file an issue to update EUI's Figma library with any corresponding UI changes. (This is an internal repo, if you are external to Elastic, ask a maintainer to submit this request)

@weronikaolejniczak weronikaolejniczak self-assigned this Jan 7, 2026
@weronikaolejniczak weronikaolejniczak added the breaking change PRs with breaking changes. (Don't delete - used for automation) label Jan 7, 2026
@github-actions
Copy link

github-actions bot commented Jan 7, 2026

This PR contains breaking changes. The opener of this pull request is asked to perform the following due diligence steps below, to assist EUI in our next Kibana upgrade:

  • If this PR contains prop/API changes:
    • Search through Kibana for <EuiComponent usages (example search)
    • In the PR description or in a PR comment, include a count or list with the number of component usages in Kibana that will need to be updated (if that amount is "none", include that information as well)
  • If this PR contains CSS changes:
    • Search through Kibana for the changed EUI selectors, e.g. .euiComponent (example search)
    • In the PR description or in a PR comment, include a count or list with the number of custom CSS overrides in Kibana that will need to be updated (if that amount is "none", include that information as well)
  • 🔍 Tip: When searching through Kibana, consider excluding **/target, **/*.snap, **/*.storyshot files to reduce noise and only look at source code usages
  • ⚠️ For extremely risky changes, the EUI team should potentially consider the following precautions:
    • Using a pre-release release candidate to test Kibana CI ahead of time
    • Using kibana-a-la-carte for manual QA, and to give other Kibana teams a staging server to quickly test against

@weronikaolejniczak weronikaolejniczak force-pushed the chore/remove-deprecated-palette-functions branch from 813cd9c to f256cfb Compare January 7, 2026 16:44
@weronikaolejniczak weronikaolejniczak force-pushed the chore/remove-deprecated-palette-functions branch from cc5f500 to 18b89bc Compare January 7, 2026 16:50
@weronikaolejniczak weronikaolejniczak force-pushed the chore/remove-deprecated-palette-functions branch from 18b89bc to 4cf1430 Compare January 7, 2026 16:51
@weronikaolejniczak weronikaolejniczak marked this pull request as ready for review January 7, 2026 16:52
@weronikaolejniczak weronikaolejniczak requested a review from a team as a code owner January 7, 2026 16:52
Copy link
Contributor

@mgadewoll mgadewoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Change LGTM, and the updated docs don't have any regression. Thanks for the cleanup!

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @weronikaolejniczak

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @weronikaolejniczak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change PRs with breaking changes. (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants