From 9653a63d8ad5a6cc2b5edaab971ece69440e5a52 Mon Sep 17 00:00:00 2001 From: lukeflo Date: Sun, 8 Jun 2025 20:57:49 +0200 Subject: Fix: light terminal flag, rm obsolete color.rs file --- src/tui/ui.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/tui/ui.rs') 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) }); -- cgit v1.2.3