-
Hi, Maybe I am not following something but if I want the FluentHeader to be dark/black in dark mode and say pink in light mode. What's the approach? Is it OK/Recommended to use Style="@(" background-color: var(--neutral-layer-2);")" on the component? I tried using tokens by changing the values by calling await AccentBaseColor.SetValueFor(ref1!.Element, "#000000".ToSwatch()); as an example but then I end up with a light gray color. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can set/use anything you want to get the desired result. If you use the tokens for that, there is always a recipe involved that changes the colors. That is part of the Web Components script and can't be changed. |
Beta Was this translation helpful? Give feedback.
You can set/use anything you want to get the desired result.
If you use the tokens for that, there is always a recipe involved that changes the colors. That is part of the Web Components script and can't be changed.