diff options
| author | Fuwn <[email protected]> | 2022-07-24 10:53:31 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-07-24 10:53:31 +0000 |
| commit | c34a88767b80fa379049fcdee6f365e54973a636 (patch) | |
| tree | 60e7613450507e494ea8a5ef2ba0369e725a5e43 | |
| parent | fix(main.rs): trim version for compare and display (diff) | |
| download | sydney-c34a88767b80fa379049fcdee6f365e54973a636.tar.xz sydney-c34a88767b80fa379049fcdee6f365e54973a636.zip | |
feat(ui.rs): black background
| -rw-r--r-- | src/ui.rs | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -53,12 +53,9 @@ pub fn ui<B: tui::backend::Backend>( }) .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( |