[libadwaita/wip/exalm/colors-oops: 2/3] stylesheet: Make the default warning_fg_color dark




commit d3337334720050856669abddcb95ea8806f32cad
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Dec 10 01:21:21 2021 +0500

    stylesheet: Make the default warning_fg_color dark
    
    There isn't enough contrast with white text there.

 src/stylesheet/_defaults.scss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/stylesheet/_defaults.scss b/src/stylesheet/_defaults.scss
index 4f5e9c83..d4df5009 100644
--- a/src/stylesheet/_defaults.scss
+++ b/src/stylesheet/_defaults.scss
@@ -24,7 +24,7 @@
 @define-color success_color #{if($variant == 'dark', "@green_1", "@green_5")};
 
 @define-color warning_bg_color #{if($variant == 'dark', #cd9309, "@yellow_5")};
-@define-color warning_fg_color @light_1;
+@define-color warning_fg_color #{transparentize(black, .2)};
 @define-color warning_color #{if($variant == 'dark', "@yellow_2", #ae7b03)};
 
 @define-color error_bg_color #{if($variant == 'dark', "@red_4", "@red_3")};


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