Skip to content

[EuiPalettes] Add additional color palettes #8725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 3, 2025

Conversation

mgadewoll
Copy link
Contributor

@mgadewoll mgadewoll commented May 30, 2025

Summary

closes #8697

This PR introduces three new color palettes: euiPaletteSkyBlue, euiPaletteYellow and euiPaletteOrange.

Screenshot 2025-05-30 at 16 07 41

Changes

  • adds euiPaletteSkyBlue, euiPaletteYellow and euiPaletteOrange palette functions and respective hooks:
    • useEuiPaletteSkyBlue
    • useEuiPaletteYellow
    • useEuiPaletteOrange
  • renames vis.euiColorVisNeutral0 to euiColorVisBase0 - with the introduction of a neutral color, we need a different naming for the palette base color (⚠️ requires consumer update)
  • adds new tokens for the palettes:
    • euiColorVisNeutral0
    • euiColorVisNeutral1
      -euiColorVisWarning1
    • euiColorVisRisk0
    • euiColorVisRisk1
  • updates value of euiColorVisWarning0 - effectively moves the value to token euiColorVisWarning1 to align with the existing naming (⚠️ requires consumer update)

Important

The marked changes on token naming/value require updates on consumers but are not technically breaking but visually. The tokens are available but the values changed.
The changes required on Kibana are prepared here. There are no usages on Cloud-UI.

Note

The new tokens have been added for Amsterdam as well to ensure parity. The values have been derived from available vis colors (there is no design spec for these) but they are not expected to be used as Amsterdam is the legacy theme.

QA

  • ci and new tests pass
  • review added palettes in the docs

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)
  • 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)

@mgadewoll mgadewoll requested a review from gvnmagni May 30, 2025 14:30
@mgadewoll mgadewoll self-assigned this May 30, 2025
@mgadewoll mgadewoll added breaking change PRs with breaking changes. (Don't delete - used for automation) visual refresh and removed breaking change PRs with breaking changes. (Don't delete - used for automation) labels May 30, 2025
@elastic elastic deleted a comment from github-actions bot May 30, 2025
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @mgadewoll

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @mgadewoll

@mgadewoll mgadewoll marked this pull request as ready for review May 30, 2025 17:28
@mgadewoll mgadewoll requested a review from a team as a code owner May 30, 2025 17:28
@acstll acstll self-requested a review June 2, 2025 08:17
Copy link
Contributor

@acstll acstll left a comment

Choose a reason for hiding this comment

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

From the code side it's looking good! (even commit messages ;)) 🟢

[feel free to ignore completely] I found it a bit peculiar that the palettes are generated using vis colors with semantic names (warning) but are exposed with the color name (yellow); in the case of "sky blue" it made me think, what if the "neutral" colors change at some point to something different (another blue or something else), wouldn't the euiPaletteSkyBlue API become "obsolete"?

@mgadewoll
Copy link
Contributor Author

mgadewoll commented Jun 2, 2025

[feel free to ignore completely] I found it a bit peculiar that the palettes are generated using vis colors with semantic names (warning) but are exposed with the color name (yellow); in the case of "sky blue" it made me think, what if the "neutral" colors change at some point to something different (another blue or something else), wouldn't the euiPaletteSkyBlue API become "obsolete"?

@acstll Yes, that's a good point. And I agree: the naming doesn't really fit together (anymore). 🫠 For palettes it was decided that names are more agnostic in that sense as they could be used in different contexts and with different meanings.
Currently the vis colors are not quite correct anymore. Now that we start separating severity colors out, some of the (temp-ish) tokens don't really make full sense anymore there. The actual vis colors are only the main datavis colors, everything else is palettes then.
My plan was for those to be moved out of colors.vis into their own grouping, similar to we now also have colors.severity.
But that would require a bit more consolidation to check how are they in use (since the datavis colors couldn't support all color needs initially). I'd like for the color needs and updates to first settle into a more stable form before getting back to this, otherwise we might touch it multiple times and palettes are not that critical 😄

@acstll
Copy link
Contributor

acstll commented Jun 3, 2025

I'd like for the color needs and updates to first settle into a more stable form before getting back to this, otherwise we might touch it multiple times and palettes are not that critical 😄

I agree, I wouldn't change anything now either (but it caught my attention); so thank you @mgadewoll for the explanation 🙂

Copy link
Contributor

@gvnmagni gvnmagni left a comment

Choose a reason for hiding this comment

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

From the design perspective everything looks good 👌

@mgadewoll mgadewoll merged commit 0596135 into elastic:main Jun 3, 2025
6 checks passed
@mgadewoll mgadewoll added the breaking change PRs with breaking changes. (Don't delete - used for automation) label Jun 6, 2025
Copy link

github-actions bot commented Jun 6, 2025

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

JasonStoltz added a commit to elastic/kibana that referenced this pull request Jun 17, 2025
`102.3.0` ⏩ `103.0.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

## Changes

[#8736](elastic/eui#8736),
[#8732](elastic/eui#8732), and
[#8732](elastic/eui#8732) include a number of
small style tweaks `EuiResizableCollapseButton`, `EuiTitle`, and
`EuiListGroupItem`.

[#8756](elastic/eui#8756) and
[#8744](elastic/eui#8744) rename a couple of
icons:

`questionInCircle` -> `question`
`iInCircle` > `info`

In both cases, the old name is **backwards-compatible** (unless
importing directly from `assets` folder (see more in the release notes
regarding that). However, the old name will eventually be deprecated as
a part of a larger set of deprecations.

**No action is required at this time to handle this renaming. We will
issue a dedicated PR to Kibana to replace the old names with the new
names in the future**

[#8725](elastic/eui#8725) adds Sky Blue, Yellow,
and Orange palettes to EUI's [color
palettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),
as well as new tokens for Risk, Neutral, and Warning.

**[Breaking change]** Please note that as part of this change, the
following tokens have been renamed:
`euiColorVisNeutral0` -> `euiColorVisBase0`
`euiColorVisWarning0` -> `euiColorVisWarning1`

The original tokens still exist, but have been updated to use new colors
in a way that would be breaking. This PR updates the existing references
in 0b21d2d.

## Package updates

### `@elastic/eui`

## [`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)

- Replaced `question` icon glyph
([#8756](elastic/eui#8756))
- Updated `EuiResizableCollapseButton` to use an empty button
([#8736](elastic/eui#8736))
- Added `info` icon glyph
([#8744](elastic/eui#8744))
- Removed uppercase styling from `EuiText` `h6` headings to match
`EuiTitle` ([#8732](elastic/eui#8732))
- Removed heavier font weight from `xs` and `s` `EuiListGroupItem` sizes
for consistency ([#8732](elastic/eui#8732))
- Updated the `font-weight` of default `EuiFilterButton` and
`EuiButtonGroupButton` to `450`
([#8734](elastic/eui#8734))
- Added color pallete functions and related hooks:
([#8725](elastic/eui#8725))
  - `euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`
  - `euiPaletteYellow`, `useEuiPaletteYellow`
  - `euiPaletteOrange`, `useEuiPaletteOrange`
- Added new tokens on `colors.vis`:
([#8725](elastic/eui#8725))
  -  `euiColorVisNeutral0`
  -  `euiColorVisNeutral1`
  -  `euiColorVisWarning1`
  -  `euiColorVisRisk0`
  -  `euiColorVisRisk1`
- Updated the value of token `colors.vis.euiColorVisWarning0`
([#8725](elastic/eui#8725))
- Updated EuiFilterButton's `numActiveFilters` prop to accept percentage
values ([#8705](elastic/eui#8705))

**Bug fixes**

- Fixed visual positioning issue for notifications in
`EuiHeaderSectionItemButton`
([#8736](elastic/eui#8736))
- Fixed a visual issue where `EuiCollabsibleNavItem` did not have a
visible selected state
([#8736](elastic/eui#8736))
- Fixed handling of unregistered code block languages in
`EuiMarkdownFormat` ([#8729](elastic/eui#8729))

**Breaking changes**

- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`
([#8725](elastic/eui#8725))

### `@elastic/eui-theme-borealis`

##
[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)

- Added new tokens on `colors.vis`:
([#8725](elastic/eui#8725))
  -  `euiColorVisNeutral0`
  -  `euiColorVisNeutral1`
  -  `euiColorVisWarning1`
  -  `euiColorVisRisk0`
  -  `euiColorVisRisk1`
- Updated the value of token `colors.vis.euiColorVisWarning0`
([#8725](elastic/eui#8725))

**Bug fixes**

- Fixed missing source map warnings emitted by some bundlers by
excluding source maps from being published
([#8764](elastic/eui#8764))
- To align with `@elastic/eui` and many other popular packages, we made
a call to not ship source maps anymore

**Breaking changes**

- Renamed `colors.vis.euiColorVisNeutral0` to `euiColorVisBase0`
([#8725](elastic/eui#8725))

<!--ONMERGE {"backportTargets":["8.19","9.0"]} ONMERGE-->

---------

Co-authored-by: Lene Gadewoll <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
JasonStoltz added a commit to elastic/kibana that referenced this pull request Jun 18, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [Upgrade EUI to v103.0.0
(#223414)](#223414)

<!--- Backport version: 10.0.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Jason
Stoltzfus","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-06-17T10:16:40Z","message":"Upgrade
EUI to v103.0.0 (#223414)\n\n`102.3.0` ⏩ `103.0.0`\n\n[Questions? Please
see our Kibana
upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n##
Changes\n\n[#8736](https://github.com/elastic/eui/pull/8736),\n[#8732](https://github.com/elastic/eui/pull/8732),
and\n[#8732](elastic/eui#8732) include a number
of\nsmall style tweaks `EuiResizableCollapseButton`, `EuiTitle`,
and\n`EuiListGroupItem`.\n\n[#8756](elastic/eui#8756)
and\n[#8744](elastic/eui#8744) rename a couple
of\nicons:\n\n`questionInCircle` -> `question`\n`iInCircle` >
`info`\n\nIn both cases, the old name is **backwards-compatible**
(unless\nimporting directly from `assets` folder (see more in the
release notes\nregarding that). However, the old name will eventually be
deprecated as\na part of a larger set of deprecations.\n\n**No action is
required at this time to handle this renaming. We will\nissue a
dedicated PR to Kibana to replace the old names with the new\nnames in
the future**\n\n[#8725](elastic/eui#8725) adds
Sky Blue, Yellow,\nand Orange palettes to EUI's
[color\npalettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),\nas
well as new tokens for Risk, Neutral, and Warning.\n\n**[Breaking
change]** Please note that as part of this change, the\nfollowing tokens
have been renamed:\n`euiColorVisNeutral0` ->
`euiColorVisBase0`\n`euiColorVisWarning0` ->
`euiColorVisWarning1`\n\nThe original tokens still exist, but have been
updated to use new colors\nin a way that would be breaking. This PR
updates the existing references\nin
0b21d2d.\n\n## Package updates\n\n###
`@elastic/eui`\n\n##
[`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)\n\n-
Replaced `question` icon
glyph\n([#8756](https://github.com/elastic/eui/pull/8756))\n- Updated
`EuiResizableCollapseButton` to use an empty
button\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Added
`info` icon
glyph\n([#8744](https://github.com/elastic/eui/pull/8744))\n- Removed
uppercase styling from `EuiText` `h6` headings to match\n`EuiTitle`
([#8732](https://github.com/elastic/eui/pull/8732))\n- Removed heavier
font weight from `xs` and `s` `EuiListGroupItem` sizes\nfor consistency
([#8732](https://github.com/elastic/eui/pull/8732))\n- Updated the
`font-weight` of default `EuiFilterButton` and\n`EuiButtonGroupButton`
to `450`\n([#8734](https://github.com/elastic/eui/pull/8734))\n- Added
color pallete functions and related
hooks:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`\n - `euiPaletteYellow`,
`useEuiPaletteYellow`\n - `euiPaletteOrange`, `useEuiPaletteOrange`\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n-
Updated EuiFilterButton's `numActiveFilters` prop to accept
percentage\nvalues
([#8705](https://github.com/elastic/eui/pull/8705))\n\n**Bug
fixes**\n\n- Fixed visual positioning issue for notifications
in\n`EuiHeaderSectionItemButton`\n([#8736](https://github.com/elastic/eui/pull/8736))\n-
Fixed a visual issue where `EuiCollabsibleNavItem` did not have
a\nvisible selected
state\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed
handling of unregistered code block languages in\n`EuiMarkdownFormat`
([#8729](https://github.com/elastic/eui/pull/8729))\n\n**Breaking
changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n###
`@elastic/eui-theme-borealis`\n\n##\n[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)\n\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n**Bug
fixes**\n\n- Fixed missing source map warnings emitted by some bundlers
by\nexcluding source maps from being
published\n([#8764](https://github.com/elastic/eui/pull/8764))\n- To
align with `@elastic/eui` and many other popular packages, we made\na
call to not ship source maps anymore\n\n**Breaking changes**\n\n-
Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n\n\n---------\n\nCo-authored-by:
Lene Gadewoll <[email protected]>\nCo-authored-by: Elastic
Machine
<[email protected]>","sha":"61ea2f398f8f8e2dcac7f36719557f6999ef6e9b","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","EUI","ci:cloud-deploy","Team:obs-ux-infra_services","backport:version","v9.1.0","v8.19.0"],"title":"Upgrade
EUI to
v103.0.0","number":223414,"url":"https://github.com/elastic/kibana/pull/223414","mergeCommit":{"message":"Upgrade
EUI to v103.0.0 (#223414)\n\n`102.3.0` ⏩ `103.0.0`\n\n[Questions? Please
see our Kibana
upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n##
Changes\n\n[#8736](https://github.com/elastic/eui/pull/8736),\n[#8732](https://github.com/elastic/eui/pull/8732),
and\n[#8732](elastic/eui#8732) include a number
of\nsmall style tweaks `EuiResizableCollapseButton`, `EuiTitle`,
and\n`EuiListGroupItem`.\n\n[#8756](elastic/eui#8756)
and\n[#8744](elastic/eui#8744) rename a couple
of\nicons:\n\n`questionInCircle` -> `question`\n`iInCircle` >
`info`\n\nIn both cases, the old name is **backwards-compatible**
(unless\nimporting directly from `assets` folder (see more in the
release notes\nregarding that). However, the old name will eventually be
deprecated as\na part of a larger set of deprecations.\n\n**No action is
required at this time to handle this renaming. We will\nissue a
dedicated PR to Kibana to replace the old names with the new\nnames in
the future**\n\n[#8725](elastic/eui#8725) adds
Sky Blue, Yellow,\nand Orange palettes to EUI's
[color\npalettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),\nas
well as new tokens for Risk, Neutral, and Warning.\n\n**[Breaking
change]** Please note that as part of this change, the\nfollowing tokens
have been renamed:\n`euiColorVisNeutral0` ->
`euiColorVisBase0`\n`euiColorVisWarning0` ->
`euiColorVisWarning1`\n\nThe original tokens still exist, but have been
updated to use new colors\nin a way that would be breaking. This PR
updates the existing references\nin
0b21d2d.\n\n## Package updates\n\n###
`@elastic/eui`\n\n##
[`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)\n\n-
Replaced `question` icon
glyph\n([#8756](https://github.com/elastic/eui/pull/8756))\n- Updated
`EuiResizableCollapseButton` to use an empty
button\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Added
`info` icon
glyph\n([#8744](https://github.com/elastic/eui/pull/8744))\n- Removed
uppercase styling from `EuiText` `h6` headings to match\n`EuiTitle`
([#8732](https://github.com/elastic/eui/pull/8732))\n- Removed heavier
font weight from `xs` and `s` `EuiListGroupItem` sizes\nfor consistency
([#8732](https://github.com/elastic/eui/pull/8732))\n- Updated the
`font-weight` of default `EuiFilterButton` and\n`EuiButtonGroupButton`
to `450`\n([#8734](https://github.com/elastic/eui/pull/8734))\n- Added
color pallete functions and related
hooks:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`\n - `euiPaletteYellow`,
`useEuiPaletteYellow`\n - `euiPaletteOrange`, `useEuiPaletteOrange`\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n-
Updated EuiFilterButton's `numActiveFilters` prop to accept
percentage\nvalues
([#8705](https://github.com/elastic/eui/pull/8705))\n\n**Bug
fixes**\n\n- Fixed visual positioning issue for notifications
in\n`EuiHeaderSectionItemButton`\n([#8736](https://github.com/elastic/eui/pull/8736))\n-
Fixed a visual issue where `EuiCollabsibleNavItem` did not have
a\nvisible selected
state\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed
handling of unregistered code block languages in\n`EuiMarkdownFormat`
([#8729](https://github.com/elastic/eui/pull/8729))\n\n**Breaking
changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n###
`@elastic/eui-theme-borealis`\n\n##\n[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)\n\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n**Bug
fixes**\n\n- Fixed missing source map warnings emitted by some bundlers
by\nexcluding source maps from being
published\n([#8764](https://github.com/elastic/eui/pull/8764))\n- To
align with `@elastic/eui` and many other popular packages, we made\na
call to not ship source maps anymore\n\n**Breaking changes**\n\n-
Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n\n\n---------\n\nCo-authored-by:
Lene Gadewoll <[email protected]>\nCo-authored-by: Elastic
Machine
<[email protected]>","sha":"61ea2f398f8f8e2dcac7f36719557f6999ef6e9b"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/223414","number":223414,"mergeCommit":{"message":"Upgrade
EUI to v103.0.0 (#223414)\n\n`102.3.0` ⏩ `103.0.0`\n\n[Questions? Please
see our Kibana
upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n##
Changes\n\n[#8736](https://github.com/elastic/eui/pull/8736),\n[#8732](https://github.com/elastic/eui/pull/8732),
and\n[#8732](elastic/eui#8732) include a number
of\nsmall style tweaks `EuiResizableCollapseButton`, `EuiTitle`,
and\n`EuiListGroupItem`.\n\n[#8756](elastic/eui#8756)
and\n[#8744](elastic/eui#8744) rename a couple
of\nicons:\n\n`questionInCircle` -> `question`\n`iInCircle` >
`info`\n\nIn both cases, the old name is **backwards-compatible**
(unless\nimporting directly from `assets` folder (see more in the
release notes\nregarding that). However, the old name will eventually be
deprecated as\na part of a larger set of deprecations.\n\n**No action is
required at this time to handle this renaming. We will\nissue a
dedicated PR to Kibana to replace the old names with the new\nnames in
the future**\n\n[#8725](elastic/eui#8725) adds
Sky Blue, Yellow,\nand Orange palettes to EUI's
[color\npalettes](https://eui.elastic.co/docs/utilities/color-palettes/#recommended-quantitative-palettes),\nas
well as new tokens for Risk, Neutral, and Warning.\n\n**[Breaking
change]** Please note that as part of this change, the\nfollowing tokens
have been renamed:\n`euiColorVisNeutral0` ->
`euiColorVisBase0`\n`euiColorVisWarning0` ->
`euiColorVisWarning1`\n\nThe original tokens still exist, but have been
updated to use new colors\nin a way that would be breaking. This PR
updates the existing references\nin
0b21d2d.\n\n## Package updates\n\n###
`@elastic/eui`\n\n##
[`v103.0.0`](https://github.com/elastic/eui/releases/v103.0.0)\n\n-
Replaced `question` icon
glyph\n([#8756](https://github.com/elastic/eui/pull/8756))\n- Updated
`EuiResizableCollapseButton` to use an empty
button\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Added
`info` icon
glyph\n([#8744](https://github.com/elastic/eui/pull/8744))\n- Removed
uppercase styling from `EuiText` `h6` headings to match\n`EuiTitle`
([#8732](https://github.com/elastic/eui/pull/8732))\n- Removed heavier
font weight from `xs` and `s` `EuiListGroupItem` sizes\nfor consistency
([#8732](https://github.com/elastic/eui/pull/8732))\n- Updated the
`font-weight` of default `EuiFilterButton` and\n`EuiButtonGroupButton`
to `450`\n([#8734](https://github.com/elastic/eui/pull/8734))\n- Added
color pallete functions and related
hooks:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiPaletteSkyBlue`, `useEuiPaletteSkyBlue`\n - `euiPaletteYellow`,
`useEuiPaletteYellow`\n - `euiPaletteOrange`, `useEuiPaletteOrange`\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n-
Updated EuiFilterButton's `numActiveFilters` prop to accept
percentage\nvalues
([#8705](https://github.com/elastic/eui/pull/8705))\n\n**Bug
fixes**\n\n- Fixed visual positioning issue for notifications
in\n`EuiHeaderSectionItemButton`\n([#8736](https://github.com/elastic/eui/pull/8736))\n-
Fixed a visual issue where `EuiCollabsibleNavItem` did not have
a\nvisible selected
state\n([#8736](https://github.com/elastic/eui/pull/8736))\n- Fixed
handling of unregistered code block languages in\n`EuiMarkdownFormat`
([#8729](https://github.com/elastic/eui/pull/8729))\n\n**Breaking
changes**\n\n- Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n###
`@elastic/eui-theme-borealis`\n\n##\n[`v2.0.0`](https://github.com/elastic/eui/blob/main/packages/eui-theme-borealis/changelogs/CHANGELOG_2025.md#v200)\n\n-
Added new tokens on
`colors.vis`:\n([#8725](https://github.com/elastic/eui/pull/8725))\n -
`euiColorVisNeutral0`\n - `euiColorVisNeutral1`\n -
`euiColorVisWarning1`\n - `euiColorVisRisk0`\n - `euiColorVisRisk1`\n-
Updated the value of token
`colors.vis.euiColorVisWarning0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n**Bug
fixes**\n\n- Fixed missing source map warnings emitted by some bundlers
by\nexcluding source maps from being
published\n([#8764](https://github.com/elastic/eui/pull/8764))\n- To
align with `@elastic/eui` and many other popular packages, we made\na
call to not ship source maps anymore\n\n**Breaking changes**\n\n-
Renamed `colors.vis.euiColorVisNeutral0` to
`euiColorVisBase0`\n([#8725](https://github.com/elastic/eui/pull/8725))\n\n\n\n---------\n\nCo-authored-by:
Lene Gadewoll <[email protected]>\nCo-authored-by: Elastic
Machine
<[email protected]>","sha":"61ea2f398f8f8e2dcac7f36719557f6999ef6e9b"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
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) visual refresh
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Visual Refresh] Add additional color palettes
4 participants