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




commit 0ac0aca9be99646023fa04f602cc895fef9c76db
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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index 37c9f60b..1bc69a71 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -53,8 +53,8 @@ $slider_hover_color: white;
 $card_bg_color: if($variant == 'light', white, transparentize(white, .8));
 
 $scrollbar_bg_color: $dark_fill;
-$scrollbar_slider_color: mix($fg_color, $bg_color, 60%);
-$scrollbar_slider_hover_color: mix($fg_color, $bg_color, 80%);
+$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]