diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index c6b9a3e6f..a864ab6d7 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -153,7 +153,10 @@ impl Component for FilePicker { (end.saturating_sub(start) as u16 + 1) .min(inner.height.saturating_sub(offset)), ), - cx.editor.theme.get("ui.selection"), + cx.editor + .theme + .try_get("ui.highlight") + .unwrap_or_else(|| cx.editor.theme.get("ui.selection")), ); } } diff --git a/theme.toml b/theme.toml index b66ac499d..3166b2d62 100644 --- a/theme.toml +++ b/theme.toml @@ -51,6 +51,7 @@ module = "#ff0000" "ui.cursor.insert" = { bg = "white" } "ui.cursor.match" = { fg = "#212121", bg = "#6C6999" } "ui.cursor" = { modifiers = ["reversed"] } +"ui.highlight" = { bg = "bossanova" } "ui.menu.selected" = { fg = "revolver", bg = "white" }