[Security Solution][EUI visual refresh] remove JSON tokens in favor of color tokens #201889
Labels
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Team:Threat Hunting:Investigations
Security Solution Investigations Team
Team:Threat Hunting
Security Solution Threat Hunting Team
Milestone
Context
Changes are made to EUI that will be visible to end-users in Kibana:
These changes are available in a new theme called Borealis.
See parent ticket for how to use the new theme and labels to add to the PR for tracking
Description
All usages of JSON tokens have been removed in favor of color tokens, where possible.
Exported legacy JSON tokens will be deprecated in the future and will eventually be replaced with tokens from the EUI theme. We'd appreciate it if teams could spend some time migrating away from these.
Please discontinue use of these and replace them with a JS variable from our theme context.
JSON tokens are anything from:
For example:
https://github.com/elastic/kibana/blob/main/packages/kbn-visualization-ui-components/components/dimension_buttons/palette_indicator.tsx#L32
Before:
After:
The text was updated successfully, but these errors were encountered: