load_theme_by_name

Function load_theme_by_name 

Source
pub fn load_theme_by_name(name: &str) -> Result<(), ThemeError>
Expand description

Load and set a theme by name (searches discovery paths).

ยงErrors

Returns an error if the theme is not found or cannot be loaded.