better style

This commit is contained in:
Stephan Dilly 2020-03-19 01:27:04 +01:00
parent 63785873e4
commit 10bb26e063

View File

@ -49,7 +49,7 @@ pub fn draw_list<B: Backend, T: AsRef<str>>(
let mut style_border = Style::default();
let mut style_title = Style::default();
if selected {
style_border = style_border.fg(Color::Red);
style_border = style_border.fg(Color::Green);
style_title = style_title.modifier(Modifier::BOLD);
}
SelectableList::default()