[libadwaita/wip/exalm/background-colors: 6/7] stylesheet: Stop referring to color variables from _defaults.scss




commit 240ebb524d79ef90ad398232ba6f8e2edeccfc76
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Oct 20 00:45:21 2021 +0500

    stylesheet: Stop referring to color variables from _defaults.scss
    
    Refer to GTK named colors instead, this means that file doesn't depend on
    _palette.scss.

 src/stylesheet/_defaults.scss | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/stylesheet/_defaults.scss b/src/stylesheet/_defaults.scss
index 8f65ec5b..b8472207 100644
--- a/src/stylesheet/_defaults.scss
+++ b/src/stylesheet/_defaults.scss
@@ -9,19 +9,19 @@
 // define variables for them in _colors.scss
 
 // The main accent color and the matching text value
-@define-color accent_bg_color #{$blue_3};
-@define-color accent_fg_color #{$light_1};
-@define-color accent_color #{if($variant == 'dark', $blue_1, $blue_4)};
+@define-color accent_bg_color @blue_3;
+@define-color accent_fg_color @light_1;
+@define-color accent_color #{if($variant == 'dark', "@blue_1", "@blue_4")};
 
 // destructive-action buttons
-@define-color destructive_bg_color #{$red_3};
-@define-color destructive_fg_color #{$light_1};
-@define-color destructive_color #{if($variant == 'dark', $red_1, $red_4)};
+@define-color destructive_bg_color @red_3;
+@define-color destructive_fg_color @light_1;
+@define-color destructive_color #{if($variant == 'dark', "@red_1", "@red_4")};
 
 // Levelbars, entries, labels and infobars. These don't need text colors
-@define-color success_color #{$green_3};
-@define-color warning_color #{$yellow_5};
-@define-color error_color #{$red_3};
+@define-color success_color @green_3;
+@define-color warning_color @yellow_5;
+@define-color error_color @red_3;
 
 // Window
 @define-color window_bg_color #{if($variant == 'light', #fafafa, #242424)};


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