Added base theme for defaults
This commit is contained in:
parent
31179d64e5
commit
eb692b56e4
2 changed files with 101 additions and 3 deletions
|
|
@ -31,6 +31,10 @@ pub fn discover_themes() -> Result<Vec<String>> {
|
|||
let Some(name) = path.file_name().and_then(|name| name.to_str()) else {
|
||||
continue;
|
||||
};
|
||||
// "base" is a reserved layer name, not a selectable theme.
|
||||
if name == "base" {
|
||||
continue;
|
||||
}
|
||||
themes.push(name.to_string());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue