[libadwaita/wip/exalm/accent: 2/11] stylesheet: Use lighter hover for fills as well




commit 6ea53403810731b198e61db6ae717b6a2fafd326
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Jun 11 23:12:57 2021 +0500

    stylesheet: Use lighter hover for fills as well
    
    Match buttons.

 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 a83bb842..2ff4ee02 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -36,8 +36,8 @@ $button_checked_active_color: #{"alpha(currentColor, .35)"};
 
 $fill_color: $accent_color;
 $fill_text_color: $accent_text;
-$fill_hover_color: mix($accent_color, $text_color, 90%);
-$fill_active_color: mix($accent_color, $text_color, 80%);
+$fill_hover_color: #{"mix(#{$accent_color}, currentColor, .1)"};
+$fill_active_color: #{"mix(#{$accent_color}, black, .2)"};
 
 $slider_color: mix(white, $base_color, 80%);
 $slider_hover_color: white;


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