mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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:
parent
3582133e29
commit
f93e4d7424
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
$variant: 'light';
|
||||
$variant: 'dark';
|
||||
|
||||
@import "gnome-shell-sass/_high-contrast-colors"; //use gtk colors
|
||||
@import "gnome-shell-sass/_drawing";
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue