fix(cosmic-theme): menu bar text contrast
This makes selection colors more KDE-like than COSMIC.
This commit is contained in:
parent
9f330cb56a
commit
490090878b
2 changed files with 6 additions and 4 deletions
|
|
@ -49,8 +49,9 @@ impl Theme {
|
|||
base: self.background.component.base,
|
||||
window: self.background.base,
|
||||
shadow: darkest,
|
||||
highlight: self.background.component.selected,
|
||||
highlighted_text: self.background.component.selected_text,
|
||||
// selection colors are swapped to fix menu bar contrast
|
||||
highlight: self.background.component.selected_text,
|
||||
highlighted_text: self.background.component.selected,
|
||||
link: self.link_button.on,
|
||||
link_visited: self.link_button.on.mix(self.secondary.component.base, 0.2),
|
||||
alternate_base: self.background.base.mix(self.accent.base, 0.05),
|
||||
|
|
|
|||
|
|
@ -65,8 +65,9 @@ impl Theme {
|
|||
|
||||
// selected text and items
|
||||
let selection_colors = {
|
||||
let selected = self.background.component.selected;
|
||||
let selected_text = self.background.component.selected_text;
|
||||
// selection colors are swapped to fix menu bar contrast
|
||||
let selected = self.background.component.selected_text;
|
||||
let selected_text = self.background.component.selected;
|
||||
IniColors {
|
||||
background_alternate: selected.mix(bg, 0.5),
|
||||
background_normal: selected,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue