Skip to main content

find_theme_path

Function find_theme_path 

Source
pub fn find_theme_path(
    dirs: &[(PathBuf, bool)],
    id: &str,
) -> Option<(PathBuf, bool)>
Expand description

Find a theme file by ID in the given directories.

Checks directories in reverse order so the highest-priority directory wins. Returns (path, is_custom) or None if not found.