Fix a typo to make Catppuccin Latte detected as light theme (#1745)

Also sort `LIGHT_SYNTAX_THEMES`
This commit is contained in:
Justin Su 2024-07-17 05:18:00 -04:00 committed by GitHub
parent 048ae76aaa
commit f2c43ae0f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,13 +39,13 @@ pub fn is_light_syntax_theme(theme: &str) -> bool {
}
const LIGHT_SYNTAX_THEMES: [&str; 7] = [
"catppuccin-latte",
"GitHub",
"gruvbox-light",
"gruvbox-white",
"Monokai Extended Light",
"OneHalfLight",
"Solarized (light)",
"Catppuccin-latte",
];
const DEFAULT_LIGHT_SYNTAX_THEME: &str = "GitHub";