Skip to content

V9 tokens - Should the semantic border tokens be color palette agnostic? #23263

Answered by khmakoto
osfprieto asked this question in Ideas
Discussion options

You must be logged in to vote

@osfprieto this is a distinction between global and alias tokens.

Our global color tokens come from a specified palette of colors and include tokens such as colorPaletteAnchorBorderActive above. You can normally notice which ones are global based on if they include the word palette in them or not. Other examples are colorPaletteBlueBackground1 and colorPaletteTealForeground2.

We also have alias color tokens, which depend on the global tokens and a provided brand ramp. These are the other type of tokens you see, such as colorNeutralForeground1.

Regarding your question about semantic tokens for border states, we do have them, they are just called stroke instead of border as they can also be…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@osfprieto
Comment options

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