[gnome-shell-sass] theme: fix HC after refactoring



commit a952d2af51b5003a9089ecee4404e51232028d1e
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

 widgets/_panel.scss | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/widgets/_panel.scss b/widgets/_panel.scss
index ba8e667..298877f 100644
--- a/widgets/_panel.scss
+++ b/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]