Skip to main content

register_theme

Function register_theme 

Source
pub fn register_theme(theme: Theme)
Expand description

Add a custom theme to the enclosing ThemeProvider’s registry, replacing any existing theme with the same id. No-op without a provider.