You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Colors] Create text-ink and text-ghost tokens and replace respective old tokens in the code #8968
Currently we have leftover tokens (euiColorInk and euiColorGhost), that originally belong to Amsterdam and were intended to be deprecated. During Borealis update, we mapped those to old "shades" tokens (euiTheme.colors.ink and euiTheme.colors.ghost) -> the leftovers of both approaches can be currently found in the code base.
The problem is, that in order to clean up the code base and fit such usages into new color system (and reflect this similarly in Figma) we need to align on consistent approach to that. The proposal is based on this discussion.
Proposed Solution
Create text-ghost and text-ink color tokens in Borealis theme, which will be used for text and icons; check the usages of those and replace with proper tokens.
The ones that are known are EuiLink (ghost color) and EuiBadge (for customized badges), but maybe there are some more.
Use plainLight and plainDark instead in all other cases (meaning in all cases that are not icons or text, but rather background or border, for example) — we don't envision a lot of such usages, so we don't introduce 3rd level tokens for those specifically.
These usages might include contrast mode borders (black/white), for example.
Notes
We still keep the approach of using the enforced color mode when possible: e.g. in EuiTooltip we don't use any other color tokens, but rather enforce the component to eb in a dark mode, and use regular text-paragraph there, for example.
The change is already used in Figma, since we needed this tokens to apply them to respective elements, so we only need to clean up the code. cc @JoseLuisGJ just fyi.
Value / Impact
Cleaning up the leftovers after transition to Borealis. Almost no visual impact.
Urgency
Not urgent, but desirable for full theme migration and code base cleanness.
Closing this because I don't think we're going to be planning it any time soon. It'll still be here in our repository if we decide to reconsider and open it back up in the future. But for now it'll be closed.
Re-opened, Kate highlighted that this is one we should prioritize. The work is done in Figma, it just needs to be updated in the EUI library as well.
It sounds like the work here is, at a glance:
Remove euiColorInk and euiColorGhost tokens
Add text ghost and text ink tokens
Replace existing usage:
- If text or icon -- use new text ghost and text ink tokens
- For anything else (backgrounds, etc.) -- use plainLight and `plainDark
This can be handled as either a deprecation or a breaking change.
Usage in Kibana appears to be minimal (~10 references), so a straight breaking change is likely fine.
Activity
JoseLuisGJ commentedon Aug 22, 2025
Let's sync the work for this ticket also with the work needed in Figma. This way we will deliver the same on both sides at the same time.
JasonStoltz commentedon Dec 15, 2025
Closing this because I don't think we're going to be planning it any time soon. It'll still be here in our repository if we decide to reconsider and open it back up in the future. But for now it'll be closed.
JasonStoltz commentedon Dec 17, 2025
Re-opened, Kate highlighted that this is one we should prioritize. The work is done in Figma, it just needs to be updated in the EUI library as well.
It sounds like the work here is, at a glance:
euiColorInkandeuiColorGhosttokens- If text or icon -- use new text ghost and text ink tokens
- For anything else (backgrounds, etc.) -- use
plainLightand `plainDarkThis can be handled as either a deprecation or a breaking change.
Usage in Kibana appears to be minimal (~10 references), so a straight breaking change is likely fine.