[gnome-shell] theme: darken sliders to match gtk



commit 03bb8cdcbdf4d12e05bc559c0ed330802d30606f
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Jun 26 12:34:42 2019 +0200

    theme: darken sliders to match gtk
    
    - match gtk a bit more closely, but avoid the gradients (change will
      happen on gtk side for this one).

 data/theme/gnome-shell-sass/_common.scss | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index e40014265..32a6df727 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -146,8 +146,7 @@ StScrollBar {
   -slider-handle-radius: 8px;
   -slider-handle-border-width: 1px;
   -slider-handle-border-color: $borders_color;
-  color: $bg_color; /* FIXME to match gtk, we'd need to style the border of the slider, not
-     the whole widget */
+  color: if($variant == 'light', lighten($bg_color, 10%), darken($bg_color,4%));
   &:hover { color: $_hover_bg_color; }
   &:active { color: $_active_bg_color; }
 }


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