From c34a88767b80fa379049fcdee6f365e54973a636 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 24 Jul 2022 10:53:31 +0000 Subject: feat(ui.rs): black background --- src/ui.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/ui.rs b/src/ui.rs index 981704a..188d311 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -53,12 +53,9 @@ pub fn ui( }) .collect(); - let items = widgets::List::new(items).highlight_style( - Style::default() - .bg(Color::White) - .fg(Color::Black) - .add_modifier(tui::style::Modifier::BOLD), - ); + let items = widgets::List::new(items) + .highlight_style(Style::default().bg(Color::White).fg(Color::Black)) + .style(Style::default().bg(Color::Black).fg(Color::White)); f.render_stateful_widget(items, chunks[0], &mut app.items.state); f.render_widget( -- cgit v1.2.3