[libadwaita/wip/jimmac/devel-headerbar-stripes] headerbar: stripy tint for devel windows




commit 9b94afed824cd3580cfc79ab7acdd31dcb8633af
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Jul 20 14:29:33 2021 +0200

    headerbar: stripy tint for devel windows
    
    - better styling for devel apps (flat windows / no headerbar
      and split headerbars too)
    - Works better overall due to the visual link to devel icons.
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/232

 src/stylesheet/widgets/_header-bar.scss | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index 4ff5990e..96de3b57 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -131,6 +131,14 @@ windowtitle {
 
 window.devel {
   headerbar > windowhandle {
-    background: cross-fade(8% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px 
no-repeat;
+    background:
+      linear-gradient(to bottom, transparent, $headerbar_bg_color),
+      repeating-linear-gradient(
+        45deg,
+        transparentize($fg_color, .955),
+        transparentize($fg_color, .955) 10px,
+        transparent 10px,
+        transparent 20px
+      );
   }
 }


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