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.
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
[Visual Refresh] Update color token mappings #8211
Changes from 12 commits
1798eed
307afaa
50ef806
eb67a85
0876442
45c76bc
74d9510
49a9d5c
ad469fd
813e38b
762cbf7
27c8f2b
aec9180
e33d51f
bb9248a
9b5ace3
772325c
27f4581
c8f257e
0a7507b
99520c4
0521dcb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 🙂