[gnome-shell/wip/jimmac/dash-icon-spacing: 56/72] theme: Desaturate system color




commit 618138096c85398d3c6dee901618ad8fa9bb23b9
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jan 8 17:22:45 2021 +0100

    theme: Desaturate system color
    
    - avoid the color tint for the system grey background

 data/theme/gnome-shell-sass/_colors.scss               | 1 +
 data/theme/gnome-shell-sass/_high-contrast-colors.scss | 1 +
 data/theme/gnome-shell-sass/widgets/_overview.scss     | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/data/theme/gnome-shell-sass/_colors.scss b/data/theme/gnome-shell-sass/_colors.scss
index 882c25b4e0..9d8f72f2a8 100644
--- a/data/theme/gnome-shell-sass/_colors.scss
+++ b/data/theme/gnome-shell-sass/_colors.scss
@@ -28,6 +28,7 @@ $osd_borders_color: transparentize(black, 0.3);
 $osd_outer_borders_color: transparentize(white, 0.84);
 
 $shadow_color: if($variant == 'light', rgba(0,0,0,0.1), rgba(0,0,0,0.2));
+$system_bg_color: desaturate(#241f31,100%); //neutralize the HIG color
 
 //insensitive state derived colors
 $insensitive_fg_color: mix($fg_color, $bg_color, 50%);
diff --git a/data/theme/gnome-shell-sass/_high-contrast-colors.scss 
b/data/theme/gnome-shell-sass/_high-contrast-colors.scss
index 710179367e..b34e0b182a 100644
--- a/data/theme/gnome-shell-sass/_high-contrast-colors.scss
+++ b/data/theme/gnome-shell-sass/_high-contrast-colors.scss
@@ -26,6 +26,7 @@ $osd_borders_color: rgba(0,0,0, 0.7);
 $osd_outer_borders_color: rgba(255,255,255, 0.1);
 
 $shadow_color: rgba(0,0,0, 0.1);
+$system_bg_color: desaturate(#241f31,100%); //neutralize the HIG color
 
 //insensitive state derived colors
 $insensitive_fg_color: mix($fg_color, $bg_color, 50%);
diff --git a/data/theme/gnome-shell-sass/widgets/_overview.scss 
b/data/theme/gnome-shell-sass/widgets/_overview.scss
index 30ce61995b..b2d13e62d0 100644
--- a/data/theme/gnome-shell-sass/widgets/_overview.scss
+++ b/data/theme/gnome-shell-sass/widgets/_overview.scss
@@ -5,7 +5,7 @@
 }
 
 #overviewGroup {
-  background-color: #241f31;
+  background-color: $system_bg_color;
 }
 
 .overview-controls {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]