on master help sign in
use `ui.text.focus` for the picker (fix #622)
da88108Kirawi
helix-term/src/ui/picker.rs+1−1
@@ -437,7 +437,7 @@ impl<T: 'static> Component for Picker<T> {
437 // subtract the area of the prompt (-2) and current item marker " > " (-3)
437 // subtract the area of the prompt (-2) and current item marker " > " (-3)
438 let inner = Rect::new(inner.x + 3, inner.y + 2, inner.width - 3, inner.height - 2);
438 let inner = Rect::new(inner.x + 3, inner.y + 2, inner.width - 3, inner.height - 2);
439
439
440− let selected = Style::default().fg(Color::Rgb(255, 255, 255));
440+ let selected = cx.editor.theme.get("ui.text.focus");
441
441
442 let rows = inner.height;
442 let rows = inner.height;
443 let offset = self.cursor / (rows as usize) * (rows as usize);
443 let offset = self.cursor / (rows as usize) * (rows as usize);