[libadwaita/wip/exalm/background-colors: 29/54] stylesheet: Add back colors like theme_selected_bg_color as aliases




commit cb45acab31dc4b6803bac4a476cd30bcee082a13
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Sep 1 12:38:48 2021 +0500

    stylesheet: Add back colors like theme_selected_bg_color as aliases
    
    We're gonna replace theme_bg_color and theme_base_color in the following
    commits. Removing those from public colors would break a lot. so we should
    keep those and point them to whatever colors we actually use.
    
    And with that in mind, let's add back the ones we've already removed as
    aliases.

 src/stylesheet/_compat-colors.scss | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
---
diff --git a/src/stylesheet/_compat-colors.scss b/src/stylesheet/_compat-colors.scss
index 5e19c2c7..bb4d262d 100644
--- a/src/stylesheet/_compat-colors.scss
+++ b/src/stylesheet/_compat-colors.scss
@@ -9,9 +9,25 @@
 @define-color theme_base_color #{$base_color};
 @define-color theme_text_color #{$text_color};
 
+@define-color theme_selected_bg_color #{$accent_bg_color};
+@define-color theme_selected_fg_color #{$accent_fg_color};
+
 @define-color insensitive_bg_color #{gtkmix($bg_color, $base_color, 60%)};
 @define-color insensitive_fg_color #{gtkalpha($fg_color, .5)};
 
 @define-color insensitive_base_color #{$base_color};
 
 @define-color borders #{$borders_color};
+
+@define-color theme_unfocused_bg_color #{$bg_color};
+@define-color theme_unfocused_fg_color #{$fg_color};
+
+@define-color theme_unfocused_base_color #{$base_color};
+@define-color theme_unfocused_text_color #{$text_color};
+
+@define-color theme_unfocused_selected_bg_color #{$accent_bg_color};
+@define-color theme_unfocused_selected_fg_color #{$accent_fg_color};
+
+@define-color unfocused_insensitive_color #{gtkcolor(insensitive_bg_color)};
+
+@define-color unfocused_borders #{$borders_color};


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