Header and theme color #2415
Replies: 2 comments
-
The design tokens from the web components always use a 'recipe' in this version (see https://www.fluentui-blazor.net/DesignTokens#adaptive-color-system). We normally use these calculated colors in our components, but you should be able to overrule that with your own CSS. This will probably involve |
Beta Was this translation helpful? Give feedback.
-
This worked in light mode but in dark mode it was still
This didn't do anything in light mode or dark mode. It was
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The default theme colour will be the same colour as our company brand. This colour is reflected in
--accent-base-color
.The header uses
--accent-fill-rest
so it's a slightly lighter version of the colour that we want. Ideally I would want to use--accent-base-color
for the header in light mode and--accent-fill-rest
in dark mode. Not sure if there is a way to do that?Beta Was this translation helpful? Give feedback.
All reactions