Skip to content

Commit

Permalink
Add slightly more color
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnymeller committed May 31, 2024
1 parent 59ae15f commit 6312fe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ui/picker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ impl Picker {
.direction(ListDirection::BottomToTop)
.highlight_spacing(HighlightSpacing::Always)
.highlight_symbol("> ")
.highlight_style(Style::default().bg(Color::Black))
.highlight_style(Style::default().bg(Color::LightBlue).fg(Color::Black))
.block(
Block::default().title_position(Position::Bottom).title(
Span::from(format!(
"{}/{}",
snapshot.matched_item_count(),
snapshot.item_count()
))
.gray(),
.light_yellow(),
),
);

Expand All @@ -168,7 +168,7 @@ impl Picker {

frame.render_stateful_widget(table, layout[0], &mut self.selection);

let prompt = Span::from(&self.prompt).fg(Color::Blue).bold();
let prompt = Span::from(&self.prompt).fg(Color::LightBlue).bold();
let input_text = Span::raw(&self.filter);
let input_line = Line::from(vec![prompt, input_text]);
let input = Paragraph::new(vec![input_line]);
Expand Down

0 comments on commit 6312fe2

Please sign in to comment.