aboutsummaryrefslogtreecommitdiff
path: root/src/tui/popup.rs
diff options
context:
space:
mode:
authorlukeflo2024-11-22 11:21:32 +0100
committerlukeflo2024-11-22 11:21:32 +0100
commit2621a347a0e6f2a2e1b625ca26aad3a0cf8e58f5 (patch)
tree51b58d427c930d37d4468e94f6b9fd120da1f45b /src/tui/popup.rs
parentc05fb327c70eed7dcbc0caccc745e168e6cba5fb (diff)
downloadbibiman-2621a347a0e6f2a2e1b625ca26aad3a0cf8e58f5.tar.gz
bibiman-2621a347a0e6f2a2e1b625ca26aad3a0cf8e58f5.zip
filepath as OsString, new color sheme
Diffstat (limited to 'src/tui/popup.rs')
-rw-r--r--src/tui/popup.rs8
1 files changed, 4 insertions, 4 deletions
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),
]))
}