diff options
| author | lukeflo | 2025-06-08 20:57:49 +0200 |
|---|---|---|
| committer | lukeflo | 2025-06-08 20:57:49 +0200 |
| commit | 9653a63d8ad5a6cc2b5edaab971ece69440e5a52 (patch) | |
| tree | 62b85d5c30bc6e187971f4839840a3ea3e4cfa39 /src/tui/ui.rs | |
| parent | 14e1613f81e5b35aef4f3f9627802e86f1716c64 (diff) | |
| download | bibiman-9653a63d8ad5a6cc2b5edaab971ece69440e5a52.tar.gz bibiman-9653a63d8ad5a6cc2b5edaab971ece69440e5a52.zip | |
Fix: light terminal flag, rm obsolete color.rs file
Diffstat (limited to 'src/tui/ui.rs')
| -rw-r--r-- | src/tui/ui.rs | 10 |
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) }); |
