[libadwaita/wip/exalm/recoloring-fixes: 8/32] stylesheet: Use opacity for scrollbar slider states




commit 13eebf74219f7341afd108c6322e583957d8191f
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Sep 1 12:49:43 2021 +0500

    stylesheet: Use opacity for scrollbar slider states

 src/stylesheet/_colors.scss | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index 35bd7837..f7fdaed5 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -50,9 +50,9 @@ $fill_active_color: gtkmix($accent_bg_color, black, 80%);
 $slider_color: mix(white, $base_color, 80%);
 $slider_hover_color: white;
 
-$scrollbar_bg_color: if($variant == 'light', mix($bg_color, $fg_color, 80%), mix($base_color, $bg_color, 
50%));
-$scrollbar_slider_color: mix($fg_color, $bg_color, 60%);
-$scrollbar_slider_hover_color: mix($fg_color, $bg_color, 80%);
+$scrollbar_bg_color: gtkalpha(currentColor, .1);
+$scrollbar_slider_color: gtkalpha(currentColor, .6);
+$scrollbar_slider_hover_color: gtkalpha(currentColor, .8);
 $scrollbar_slider_active_color: $accent_bg_color;
 
 $osd_fg_color: $dark_fg;


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