All themes
Use one in your app
Every theme here ships in the CSS preset. Wrap your layout in
ThemeProvider and call SetThemeAsync; the choice persists to localStorage and a
cookie. The theming guide covers dark mode, your own theme list and a picker.
<ThemeProvider @ref="_themes">
@Body
</ThemeProvider>
@code {
private ThemeProvider _themes = null!;
private Task PutOn(string theme) => _themes.SetThemeAsync(theme); // "synthwave", "nord", "system"…
}