From b97b9c1eb64cb4c22724293a36f488b46354a3ee Mon Sep 17 00:00:00 2001 From: lukeflo Date: Sat, 5 Oct 2024 22:54:22 +0200 Subject: move search fn to entries.rs --- src/frontend/ui.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/frontend/ui.rs') diff --git a/src/frontend/ui.rs b/src/frontend/ui.rs index 8974a86..3246145 100644 --- a/src/frontend/ui.rs +++ b/src/frontend/ui.rs @@ -45,7 +45,7 @@ const SELECTED_STYLE: Style = Style::new() .add_modifier(Modifier::BOLD) .add_modifier(Modifier::REVERSED); const TEXT_FG_COLOR: Color = Color::Indexed(252); -const TEXT_UNSELECTED_FG_COLOR: Color = Color::Indexed(250); +const TEXT_UNSELECTED_FG_COLOR: Color = Color::Indexed(245); pub const fn alternate_colors(i: usize) -> Color { if i % 2 == 0 { @@ -142,7 +142,9 @@ impl App { Span::styled("y: ", style_emph), Span::raw("yank citekey | "), Span::styled("e: ", style_emph), - Span::raw("edit entry"), + Span::raw("edit entry | "), + Span::styled("/: ", style_emph), + Span::raw("search"), ])) .block(block) .centered() -- cgit v1.2.3