We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d820271 commit 4176e4fCopy full SHA for 4176e4f
src/ui/style.rs
@@ -20,6 +20,7 @@ pub struct Theme {
20
selected_tab: Color,
21
command_fg: Color,
22
selection_bg: Color,
23
+ selection_fg: Color,
24
cmdbar_bg: Color,
25
cmdbar_extra_lines_bg: Color,
26
disabled_fg: Color,
@@ -147,7 +148,7 @@ impl Theme {
147
148
149
fn apply_select(&self, style: Style, selected: bool) -> Style {
150
if selected {
- style.bg(self.selection_bg)
151
+ style.bg(self.selection_bg).fg(self.selection_fg)
152
} else {
153
style
154
}
@@ -308,6 +309,7 @@ impl Default for Theme {
308
309
selected_tab: Color::Reset,
310
command_fg: Color::White,
311
selection_bg: Color::Blue,
312
+ selection_fg: Color::White,
313
cmdbar_bg: Color::Blue,
314
cmdbar_extra_lines_bg: Color::Blue,
315
disabled_fg: Color::DarkGray,
0 commit comments