Skip to main content

load_theme_by_name

Function load_theme_by_name 

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

Load and activate a theme by name from the available theme directories.

ยงErrors

Returns an error when no theme with the given name can be found or loaded.