Skip to main content

load_theme

Function load_theme 

Source
pub fn load_theme(cwd: &Path, name_or_path: &str) -> Result<Theme, String>
Expand description

Load a theme from an explicit JSON path without discovering configured Pi packages. Startup code that has passed the package gate uses load_theme_with_resources to resolve package theme names.