on master help sign in
use `ui.text.focus` for the picker (fix #622)
commitda8810809a97d09f9a3117650f3f4364fa8dd20c authorKirawi <67773714+kirawi@users.noreply.github.com> dateThu 19 Aug 2021, 12:35 (5 years ago) parent0595b06
1 file changed+1−1
helix-term/src/ui/picker.rs+1−1
helix-term/src/ui/picker.rs+1−1
@@ -437,7 +437,7 @@ impl<T: 'static> Component for Picker<T> {
437437 // subtract the area of the prompt (-2) and current item marker " > " (-3)
438438 let inner = Rect::new(inner.x + 3, inner.y + 2, inner.width - 3, inner.height - 2);
439439
440− let selected = Style::default().fg(Color::Rgb(255, 255, 255));
440+ let selected = cx.editor.theme.get("ui.text.focus");
441441
442442 let rows = inner.height;
443443 let offset = self.cursor / (rows as usize) * (rows as usize);