aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/picker.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-05-07 08:38:25 +0000
committerBlaž Hrastnik2021-05-07 08:42:09 +0000
commitf0712479cbdff239347049461be1901e13950044 (patch)
treeb1837b7336a45c21c1baccfd8cca9aac76d2b3c5 /helix-term/src/ui/picker.rs
parentf87dee926a08162f937cb08454c452c7c4dfdb77 (diff)
Define text color (mostly) in theme.toml.
Diffstat (limited to 'helix-term/src/ui/picker.rs')
-rw-r--r--helix-term/src/ui/picker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs
index 39580f66..73cbf07f 100644
--- a/helix-term/src/ui/picker.rs
+++ b/helix-term/src/ui/picker.rs
@@ -245,7 +245,7 @@ impl<T: 'static> Component for Picker<T> {
// -- Render the contents:
- let style = Style::default().fg(Color::Rgb(164, 160, 232)); // lavender
+ let style = cx.editor.theme.get("ui.text");
let selected = Style::default().fg(Color::Rgb(255, 255, 255));
let rows = inner.height - 2; // -1 for search bar