theme: fix HC after refactoring

- panel fg color was derived from bg color. Not a good idea as it's not
  just light/drk, but HC as well.
- deriving from dark theme means contrast for things like popover items
  is better.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904
This commit is contained in:
Jakub Steiner 2020-01-08 11:08:14 +01:00 committed by Florian Müllner
parent 3582133e29
commit f93e4d7424
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
$variant: 'light';
$variant: 'dark';
@import "gnome-shell-sass/_high-contrast-colors"; //use gtk colors
@import "gnome-shell-sass/_drawing";

View File

@ -3,7 +3,7 @@
$panel_corner_radius: $base_border_radius+1;
$panel_bg_color: if($variant == 'light', rgba(0,0,0,0.9), #000);
$panel_fg_color: if($variant == 'light', darken($bg_color, 15%), darken($fg_color, 10%));
$panel_fg_color: if($variant == 'light', darken($fg_color, 15%), darken($fg_color, 10%));
$panel_height: 1.86em;
@ -103,4 +103,4 @@ $panel_height: 1.86em;
#appMenu {
spacing: $base_spacing;
.label-shadow { color: transparent; }
}
}