Improve contrast in branch popup for selected branch

This commit is contained in:
Scott Reeves 2021-09-29 10:03:08 -04:00 committed by Stephan Dilly
parent b73b20072f
commit 07f5d69a48
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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
}