Skip to main content

find_theme_path

Function find_theme_path 

Source
pub fn find_theme_path(
    dirs: &ThemeDirs,
    id: &ThemeId,
) -> Option<(PathBuf, bool)>
Expand description

Find a theme file by ID on the search path.

The highest-precedence tier holding the file wins. Returns (path, is_custom) or None if not found.