[gnome-shell/wip/snwh/theme-refactor] theme: fix HC after refactoring
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/theme-refactor] theme: fix HC after refactoring
- Date: Wed, 8 Jan 2020 10:53:06 +0000 (UTC)
commit 114f2beb54a9e3590375397a3da28c3a05bbe0ac
Author: Jakub Steiner <jimmac gmail com>
Date: Wed Jan 8 11:08:14 2020 +0100
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
data/theme/gnome-shell-high-contrast.scss | 2 +-
data/theme/gnome-shell-sass/widgets/_panel.scss | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/theme/gnome-shell-high-contrast.scss b/data/theme/gnome-shell-high-contrast.scss
index 23a55eb865..ed52bbb86c 100644
--- a/data/theme/gnome-shell-high-contrast.scss
+++ b/data/theme/gnome-shell-high-contrast.scss
@@ -1,4 +1,4 @@
-$variant: 'light';
+$variant: 'dark';
@import "gnome-shell-sass/_high-contrast-colors"; //use gtk colors
@import "gnome-shell-sass/_drawing";
diff --git a/data/theme/gnome-shell-sass/widgets/_panel.scss b/data/theme/gnome-shell-sass/widgets/_panel.scss
index ba8e6675cc..298877f236 100644
--- a/data/theme/gnome-shell-sass/widgets/_panel.scss
+++ b/data/theme/gnome-shell-sass/widgets/_panel.scss
@@ -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; }
-}
\ No newline at end of file
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]