-
Notifications
You must be signed in to change notification settings - Fork 842
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
[Visual Refresh] Update color token mappings #8211
Merged
mgadewoll
merged 22 commits into
elastic:eui-theme/borealis
from
mgadewoll:eui-theme/147-borealis-color-mapping-updates
Dec 12, 2024
Merged
Changes from 18 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1798eed
refactor: remove base semantic colors from theme colors
mgadewoll 307afaa
refactor: update primitive color values
mgadewoll 50ef806
refactor: update legacy JSON token values
mgadewoll eb67a85
refactor: remove transparent scales, add specific transparent semanti…
mgadewoll 0876442
fix: update subdued badge background mapping
mgadewoll 45c76bc
refactor: fix docs sass and JSON token loading; remove unexpected dep…
mgadewoll 74d9510
refactor: update text and title color token values
mgadewoll 49a9d5c
refactor: update beacon successcolor mapping
mgadewoll ad469fd
refactor: update beta_badge mappings
mgadewoll 813e38b
chore: update deprecation description
mgadewoll 762cbf7
refactor: update select background color token mapping
mgadewoll 27c8f2b
refactor: update datagrid border and select color mappings
mgadewoll aec9180
feat: add backgroundBaseHighlighted color token
mgadewoll e33d51f
feat: support generic highlighted background usage
mgadewoll bb9248a
refactor: update flyout footer to use highlighted background
mgadewoll 9b5ace3
refactor: add highlighted background option control to comment stories
mgadewoll 772325c
refactor: align default and subdued badge color mappings
mgadewoll 27f4581
refactor: update legacy JSON warning color mappings
mgadewoll c8f257e
refactor: update plainLightAlpha6 to plainLightAlpha8
mgadewoll 0a7507b
refactor: update white/black usages to full hex codes
mgadewoll 99520c4
refactor: inherit base colors for alpha colors
mgadewoll 0521dcb
chore: cleanup
mgadewoll File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Are these colors for the data visualization? If so, where can I see the mapping to test against?
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.
These JSON files are legacy files that used to be generated from the Sass files but now only exist until Kibana migrated to use our theme tokens via EuiProvider instead.
The theme vis color tokens are defined here.
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.
Thanks, Lene! 💚 What I wanted to know is what is the purpose of
euiColorVis*
tokens. I checked in Kibana and it does seem they are predominantly used in data visualization (charts).And is there a design definition of the mapping anywhere, so that I can verify that e.g.
euiColorVis0 -> #16C5C0
is the correct mapping?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.
Sorry, yes. vis colors are visualization colors.
Yes and no. There is this Figma file but when implementing the tokens I was told by @gvnmagni that it's not up to date and he provided the expected mappings 🫠
The same is mirrored in the Figma variables in this file, I'm not sure if those are the latest state though? @gvnmagni
ℹ️ There is also still ongoing work on parts of the vis color palettes for severity (issue)
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.
@mgadewoll my eyes burn after so much HEX BUT they all look okay 👌🏻 Feel free to resolve or wait for @gvnmagni confirmation 😄
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.
I think we can proceed also without @gvnmagni - in case there is a need to update something, we can do that separately any time 🙂