Checked checkbox styling in v9 fluent UI #24566
Answered
by
micahgodbolt
djayMehrotra
asked this question in
General
-
How can I change the checked checkbox's color from primary blue to red in v9 Fluent UI? |
Beta Was this translation helpful? Give feedback.
Answered by
micahgodbolt
Aug 29, 2022
Replies: 1 comment
-
Components are styled with CSS tokens so that you don't need to override specific selectors and styles. The 3 colors used in the Checkbox are colorCompoundBrandBackground, colorCompoundBrandBackgroundHover and colorCompoundBrandBackgroundPressed. Tokens can be applied via FluentTheme provider, or as a 1 off with a style tag
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
micahgodbolt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Components are styled with CSS tokens so that you don't need to override specific selectors and styles.
The 3 colors used in the Checkbox are colorCompoundBrandBackground, colorCompoundBrandBackgroundHover and colorCompoundBrandBackgroundPressed.
Tokens can be applied via FluentTheme provider, or as a 1 off with a style tag