aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/theme.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/theme.rs b/src/config/theme.rs
index 4b91b526..8f28390c 100644
--- a/src/config/theme.rs
+++ b/src/config/theme.rs
@@ -104,6 +104,7 @@ pub struct CustomThemeColors {
pub panel_bg: Option<String>,
pub sidebar_bg: Option<String>,
pub active_row_bg: Option<String>,
+ pub selection_bg: Option<String>,
pub surface0: Option<String>,
pub surface1: Option<String>,
pub surface_dim: Option<String>,
@@ -266,6 +267,7 @@ name = "nord"
panel_bg = "#1e1e2e"
sidebar_bg = "#181825"
active_row_bg = "#313244"
+selection_bg = "#45475a"
accent = "#ff79c6"
red = "rgb(255, 85, 85)"
"##;
@@ -275,6 +277,7 @@ red = "rgb(255, 85, 85)"
assert_eq!(custom.panel_bg.as_deref(), Some("#1e1e2e"));
assert_eq!(custom.sidebar_bg.as_deref(), Some("#181825"));
assert_eq!(custom.active_row_bg.as_deref(), Some("#313244"));
+ assert_eq!(custom.selection_bg.as_deref(), Some("#45475a"));
assert_eq!(custom.accent.as_deref(), Some("#ff79c6"));
assert_eq!(custom.red.as_deref(), Some("rgb(255, 85, 85)"));
assert!(custom.green.is_none());