mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-26 10:33:25 +03:00
better style
This commit is contained in:
parent
63785873e4
commit
10bb26e063
@ -49,7 +49,7 @@ pub fn draw_list<B: Backend, T: AsRef<str>>(
|
|||||||
let mut style_border = Style::default();
|
let mut style_border = Style::default();
|
||||||
let mut style_title = Style::default();
|
let mut style_title = Style::default();
|
||||||
if selected {
|
if selected {
|
||||||
style_border = style_border.fg(Color::Red);
|
style_border = style_border.fg(Color::Green);
|
||||||
style_title = style_title.modifier(Modifier::BOLD);
|
style_title = style_title.modifier(Modifier::BOLD);
|
||||||
}
|
}
|
||||||
SelectableList::default()
|
SelectableList::default()
|
||||||
|
Loading…
Reference in New Issue
Block a user