How to implement Dark/Light theme?

Is there any examples how to implement Dark/Light theme switch in Blazor Webassembly app ?

You can see how theme switching works for https://blazor.radzen.com by having a look at the source code on GitHub:

Note that MaterialDark is a premium theme.

1 Like

Thanks for answer,

Should change something in repository /root/index.html ?

because in my WebAssembly application nothing changes.

You can check here: How to Change the theme? - #9 by SCosmos