From 2621a347a0e6f2a2e1b625ca26aad3a0cf8e58f5 Mon Sep 17 00:00:00 2001 From: lukeflo Date: Fri, 22 Nov 2024 11:21:32 +0100 Subject: filepath as OsString, new color sheme --- src/tui/popup.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tui/popup.rs') diff --git a/src/tui/popup.rs b/src/tui/popup.rs index cd6c680..b0450fa 100644 --- a/src/tui/popup.rs +++ b/src/tui/popup.rs @@ -21,7 +21,7 @@ use ratatui::{ widgets::ListState, }; -use crate::{MAIN_BLUE_COLOR_INDEX, MAIN_PURPLE_COLOR_INDEX}; +use crate::{MAIN_ENTRY_COLOR_INDEX, MAIN_KEYWORD_COLOR_INDEX}; #[derive(Debug)] pub enum PopupKind { @@ -81,20 +81,20 @@ impl PopupArea { helptext.push(Line::from( Span::raw(keys) .bold() - .fg(Color::Indexed(MAIN_BLUE_COLOR_INDEX)), + .fg(Color::Indexed(MAIN_ENTRY_COLOR_INDEX)), )) } else if help == "sub" { helptext.push(Line::from("")); helptext.push(Line::from( Span::raw(keys) .bold() - .fg(Color::Indexed(MAIN_BLUE_COLOR_INDEX)), + .fg(Color::Indexed(MAIN_ENTRY_COLOR_INDEX)), )) } else { helptext.push(Line::from(vec![ Span::raw(keys) .bold() - .fg(Color::Indexed(MAIN_PURPLE_COLOR_INDEX)), + .fg(Color::Indexed(MAIN_KEYWORD_COLOR_INDEX)), Span::raw(help), ])) } -- cgit v1.2.3