mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-27 11:03:03 +03:00
Improve contrast in branch popup for selected branch
This commit is contained in:
parent
b73b20072f
commit
07f5d69a48
@ -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
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user