Skip to content

Inconsistent color tokens for text/icons #2586

Answered by loreina
dholliday3 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dholliday3,

Our token values change with the theme you're using (default or dark) to serve multiple design languages and comply with accessibility standards.

When using the light/dark toggle on the Paste docs site, the token list page will swap to either show default theme values with light mode, or dark theme values in dark mode. So in default theme, colorTextIconWarning points to rgb(227, 106, 25) and in dark theme, colorTextIconWarning points to rgb(255, 179, 122).

Hope that clarifies things. Feel free to reply here if you have any other questions!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dholliday3
Comment options

@serifluous
Comment options

Answer selected by loreina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants