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).
This commit is contained in:
Jakub Steiner 2019-06-26 12:34:42 +02:00
parent 8864816b94
commit 03bb8cdcbd

View File

@ -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; }
}