summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorScott Reeves <327943+Cottser@users.noreply.github.com>2021-09-29 10:03:08 -0400
committerStephan Dilly <dilly.stephan@gmail.com>2021-09-29 16:36:10 +0200
commit07f5d69a4862db6c2cb7d44d0599e2ec3e507c61 (patch)
tree8934a1158e7a2a35ea8803f729a6a5e37f8e8e56 /src/ui
parentb73b20072f9a8dfd21824b627d1c8e4f7c36d4a3 (diff)
Improve contrast in branch popup for selected branch
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/style.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/style.rs b/src/ui/style.rs
index 4e8d1ed1..7892304c 100644
--- a/src/ui/style.rs
+++ b/src/ui/style.rs
@@ -84,7 +84,11 @@ impl Theme {
};
if selected {
- branch.patch(Style::default().bg(self.selection_bg))
+ branch.patch(
+ Style::default()
+ .fg(self.command_fg)
+ .bg(self.selection_bg),
+ )
} else {
branch
}