aboutsummaryrefslogtreecommitdiff
path: root/src/tui/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui/ui.rs')
-rw-r--r--src/tui/ui.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/tui/ui.rs b/src/tui/ui.rs
index 2126135..7a121bf 100644
--- a/src/tui/ui.rs
+++ b/src/tui/ui.rs
@@ -420,9 +420,7 @@ pub fn render_file_info(app: &mut App, cfg: &BibiConfig, frame: &mut Frame, rect
.border_style(if let CurrentArea::EntryArea = app.bibiman.current_area {
Style::new().fg(cfg.colors.highlight_text_color)
} else {
- Style::new()
- .fg(cfg.colors.entry_color)
- .add_modifier(Modifier::BOLD)
+ Style::new().fg(cfg.colors.main_text_color)
});
frame.render_widget(block, rect);
@@ -708,7 +706,11 @@ pub fn render_entrytable(app: &mut App, cfg: &BibiConfig, frame: &mut Frame, rec
// args.colors.highlight_text_color,
// 20,
// )),
- Style::new().fg(cfg.colors.highlight_text_color),
+ Style::new().fg(if let CurrentArea::EntryArea = app.bibiman.current_area {
+ cfg.colors.highlight_text_color
+ } else {
+ cfg.colors.main_text_color
+ }),
)
.height(1)
});