diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ac8224c06..bee9732374 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Fixed - appropriate error message when pulling deleted remote branch ([#911](https://github.com/extrawurst/gitui/issues/991)) +- improved color contrast in branches popup for light themes ([#922](https://github.com/extrawurst/gitui/issues/922)) ## [0.17.1] - 2021-09-10 diff --git a/src/ui/style.rs b/src/ui/style.rs index 4e8d1ed16a..7892304c7d 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 }