diff options
-rw-r--r-- | src/options/theme.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options/theme.rs b/src/options/theme.rs index fa5cbef0..52de3ea0 100644 --- a/src/options/theme.rs +++ b/src/options/theme.rs @@ -35,7 +35,7 @@ pub fn set__is_light_mode__syntax_theme__syntax_set( } pub fn is_light_syntax_theme(theme: &str) -> bool { - LIGHT_SYNTAX_THEMES.contains(&theme) + LIGHT_SYNTAX_THEMES.contains(&theme) || theme.to_lowercase().contains("light") } const LIGHT_SYNTAX_THEMES: [&str; 6] = [ |