Skip to main content

load_theme_file

Function load_theme_file 

Source
pub fn load_theme_file(path: &str, base: Theme) -> Result<Theme, ThemeError>
Expand description

Load a theme from a file, filling anything absent from base.

ยงErrors

ThemeError::Io if the file cannot be read, and otherwise as load_theme_str.