aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorkyrime2022-05-22 01:24:51 +0000
committerGitHub2022-05-22 01:24:51 +0000
commitbfc4ff4dcfd9135924d90bb822f2e23ae9cb2420 (patch)
treec2c8f79a7ed7e1faea1a9f989c801de889893b4c /helix-term/src
parent5c864922d88a88898ab7525f8ebd33f8f5096c59 (diff)
Add theme key for picker separator (#2523)
Co-authored-by: ky <>
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/ui/picker.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs
index 49d91be6..181c2077 100644
--- a/helix-term/src/ui/picker.rs
+++ b/helix-term/src/ui/picker.rs
@@ -26,7 +26,7 @@ use crate::ui::{Prompt, PromptEvent};
use helix_core::{movement::Direction, Position};
use helix_view::{
editor::Action,
- graphics::{Color, CursorKind, Margin, Modifier, Rect, Style},
+ graphics::{CursorKind, Margin, Modifier, Rect},
Document, Editor,
};
@@ -587,7 +587,7 @@ impl<T: 'static> Component for Picker<T> {
self.prompt.render(area, surface, cx);
// -- Separator
- let sep_style = Style::default().fg(Color::Rgb(90, 89, 119));
+ let sep_style = cx.editor.theme.get("ui.background.separator");
let borders = BorderType::line_symbols(BorderType::Plain);
for x in inner.left()..inner.right() {
if let Some(cell) = surface.get_mut(x, inner.y + 1) {