Skip to content

Usage of some tokens #2271

Answered by Sarenor
devtrix asked this question in Q&A
Nov 29, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

We also offer a Discord if you want faster answer/a conversation.

--on-primary is not a design token, it's a css variable that's used in design tokens.
So if you apply bg-primary-500 to a div, the --on-primary variable should be applied to the text color.

Replies: 1 comment 2 replies

Comment options

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

@devtrix
Comment options

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