Skip to main content

try_load_theme

Function try_load_theme 

Source
pub fn try_load_theme(
    source: &Value,
    options: &ThemeOptions<'_>,
) -> Result<ResolvedTheme, Vec<ThemeIssue>>
Expand description

Validate + flatten, returning issues instead of failing loudly.