theme/switcher-popup: Increase contrast of switcher items

Use a brighter color and increase the contrast of the selected/active
items in the switcher popup.

Since a bright color doesn't go well with a box-shadow, remove that
shadow, an effect like should only be used for elements clicked with a
mouse anyway.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1135
This commit is contained in:
Jonas Dreßler 2020-03-26 22:12:39 +01:00 committed by Jakub Steiner
parent 660a2b6e62
commit d71d85e90c

View File

@ -15,13 +15,11 @@
border: 1px solid transparent; border: 1px solid transparent;
&:outlined { &:outlined {
border: 1px solid darken($borders_color,5%); background-color: transparentize($osd_fg_color, 0.7);
background-color: transparentize($osd_fg_color, 0.9);
box-shadow: inset 0 2px 2px 0 rgba(0,0,0,0.4);
} }
&:selected { &:selected {
background-color: transparentize($osd_fg_color, 0.9); background-color: transparentize($osd_fg_color, 0.7);
color: $osd_fg_color; color: $osd_fg_color;
} }
} }