thank you guys for the ThemeService which is a great addition.
I need some clarification in this respect:
in my app.razor I am using the humanistic theme with WCAG, however when changing to material3, I am loosing the css from my app.
furthermore, when switching to dark mode, the app is reverting always to the humanistic dark mode.
Kindly advise what might I be doing wrong.
Hi @Fady1956,
Material3 is a premium theme and as such it is not being distributed with the open source Radzen.Blazor package.
Have a look at the bottom of this demo page to see how to persist the theme in a cookie - ThemeService.
This is how dark mode works - uses the dark version of the current theme.
I am a radzem premium subscriber so the material3 is part of my subscription.what do I have to do to make it work?
so there is no way to have dark mode on the theme that the user will switch to?
You should set the theme from Radzen Blazor Studio.
Check the live demos - every theme has a dark version. Premium themes have to first be copied via Radzen Blazor Studio.
I did that, but still have the same problem with material3, however it switches properly to fluent and fluent dark.
so the issue is only with material3, everything else works fine.
You have to also set material 3 dark from radzen studio so the css file is copied.
got it finally. thanks.