@@ -16,7 +16,7 @@ pub static DEFAULT_THEME: Lazy<Theme> = Lazy::new(|| {
16 toml::from_slice(include_bytes!("../../theme.toml")).expect("Failed to parse default theme")
16 toml::from_slice(include_bytes!("../../theme.toml")).expect("Failed to parse default theme")
18pub static BASE16_DEFAULT_THEME: Lazy<Theme> = Lazy::new(|| {
18pub static BASE16_DEFAULT_THEME: Lazy<Theme> = Lazy::new(|| {
19− toml::from_slice(include_bytes!("../../base16_tty.toml"))
19+ toml::from_slice(include_bytes!("../../base16_theme.toml"))
20 .expect("Failed to parse base 16 default theme")
20 .expect("Failed to parse base 16 default theme")
@@ -150,8 +150,7 @@ impl Theme {
152 pub fn get(&self, scope: &str) -> Style {
152 pub fn get(&self, scope: &str) -> Style {
154− .unwrap_or_default()
153+ self.try_get(scope).unwrap_or_default()
157 pub fn try_get(&self, scope: &str) -> Option<Style> {
156 pub fn try_get(&self, scope: &str) -> Option<Style> {