-
Notifications
You must be signed in to change notification settings - Fork 855
[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
[EuiPalettes] Add additional color palettes #8725
Conversation
- aligns namings and adds additional required tokens
- adds palettes euiPaletteSkyBlue/yellow/Orange
💚 Build SucceededHistory
cc @mgadewoll |
💚 Build Succeeded
cc @mgadewoll |
There was a problem hiding this 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"?
@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. |
I agree, I wouldn't change anything now either (but it caught my attention); so thank you @mgadewoll for the explanation 🙂 |
There was a problem hiding this 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 👌
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:
|
`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]>
# 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-->
Summary
closes #8697
This PR introduces three new color palettes:
euiPaletteSkyBlue
,euiPaletteYellow
andeuiPaletteOrange
.Changes
euiPaletteSkyBlue
,euiPaletteYellow
andeuiPaletteOrange
palette functions and respective hooks:useEuiPaletteSkyBlue
useEuiPaletteYellow
useEuiPaletteOrange
vis.euiColorVisNeutral0
toeuiColorVisBase0
- with the introduction of aneutral
color, we need a different naming for the palette base color (euiColorVisNeutral0
euiColorVisNeutral1
-
euiColorVisWarning1
euiColorVisRisk0
euiColorVisRisk1
euiColorVisWarning0
- effectively moves the value to tokeneuiColorVisWarning1
to align with the existing naming (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
General checklist
Checked in both MacOS and Windows high contrast modesChecked in mobileChecked for accessibility including keyboard-only and screenreader modesProps have proper autodocs (using@default
if default values are missing) and playground togglesChecked Code Sandbox works for any docs examplesIf applicable, added the breaking change issue label (and filled out the breaking change 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)