[libadwaita/wip/exalm/wm-colors] stylesheet: Drop public @wm_ colors




commit ad3811c66479512042faeb6f0247e5d12240f626
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue May 4 12:08:57 2021 +0500

    stylesheet: Drop public @wm_ colors
    
    Mutter stopped using those long ago.
    
    https://gitlab.gnome.org/GNOME/libadwaita/-/issues/150

 src/stylesheet/_colors-public.scss | 26 --------------------------
 1 file changed, 26 deletions(-)
---
diff --git a/src/stylesheet/_colors-public.scss b/src/stylesheet/_colors-public.scss
index d3fe69c..61ca013 100644
--- a/src/stylesheet/_colors-public.scss
+++ b/src/stylesheet/_colors-public.scss
@@ -52,32 +52,6 @@ these are pretty self explicative */
 @define-color success_color #{"" +$success_color};
 //@define-color destructive_color #{$destructive_color}
 
-//WM
-
-$_wm_highlight: if($variant=='light', $top_hilight,  // Sass gets mad if this is
-                  transparentize(black,1));          // done directly in the
-                                                     // color definition
-
-/*
-these colors are exported for the window manager and shouldn't be used in applications,
-read if you used those and something break with a version upgrade you're on your own... */
-@define-color wm_title shade(#{$fg_color}, 1.8);
-@define-color wm_unfocused_title alpha(#{$fg_color}, 0.5);
-@define-color wm_highlight #{"" + $_wm_highlight};
-@define-color wm_borders_edge #{"" + $borders_edge};
-
-@define-color wm_bg_a shade(#{$bg_color}, 1.2);
-@define-color wm_bg_b #{$bg_color};
-
-@define-color wm_shadow alpha(black, 0.35);
-@define-color wm_border alpha(black, 0.18);
-
-@define-color wm_button_hover_color_a shade(#{$bg_color}, 1.3);
-@define-color wm_button_hover_color_b #{$bg_color};
-@define-color wm_button_active_color_a shade(#{$bg_color}, 0.85);
-@define-color wm_button_active_color_b shade(#{$bg_color}, 0.89);
-@define-color wm_button_active_color_c shade(#{$bg_color}, 0.9);
-
 //FIXME this is really an API
 
 /* content view background such as thumbnails view in Photos or Boxes */


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