diff options
Diffstat (limited to 'src/config/theme.rs')
| -rw-r--r-- | src/config/theme.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/theme.rs b/src/config/theme.rs index fc601d3f..e98c9dfb 100644 --- a/src/config/theme.rs +++ b/src/config/theme.rs @@ -32,6 +32,7 @@ pub struct ThemeConfig { pub struct CustomThemeColors { pub accent: Option<String>, pub panel_bg: Option<String>, + pub sidebar_bg: Option<String>, pub surface0: Option<String>, pub surface1: Option<String>, pub surface_dim: Option<String>, @@ -164,6 +165,7 @@ name = "nord" [theme.custom] panel_bg = "#1e1e2e" +sidebar_bg = "#181825" accent = "#ff79c6" red = "rgb(255, 85, 85)" "##; @@ -171,6 +173,7 @@ red = "rgb(255, 85, 85)" assert_eq!(config.theme.name.as_deref(), Some("nord")); let custom = config.theme.custom.as_ref().unwrap(); assert_eq!(custom.panel_bg.as_deref(), Some("#1e1e2e")); + assert_eq!(custom.sidebar_bg.as_deref(), Some("#181825")); assert_eq!(custom.accent.as_deref(), Some("#ff79c6")); assert_eq!(custom.red.as_deref(), Some("rgb(255, 85, 85)")); assert!(custom.green.is_none()); |
