[gtk: 1/2] Adwaita: devel style



commit f8a971a7dfdcd583da0829e83fa0017cd936a268
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri May 11 21:02:39 2018 +0200

    Adwaita: devel style
    
    - nightly/development versions of apps should get a styled
      headerbar.
    
    https://gitlab.gnome.org/GNOME/gtk/merge_requests/142

 gtk/theme/Adwaita/_common.scss | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index bc0cf94196..ebae7d25d3 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1695,6 +1695,17 @@ headerbar { // headerbar border rounding
   @extend %titlebar;
 }
 
+// Development versions of apps to use a differently styled headerbar
+
+window.devel {    
+  headerbar { // FIXME: avoid using hardcoded colors
+    background: transparent -gtk-icontheme("system-run-symbolic") 80% 0/128px 128px no-repeat, 
+                linear-gradient(to left, mix($selected_bg_color, $bg_color, 50%) 8%, $bg_color 25%);
+    color: transparentize($fg_color,.9);
+    
+    label { color: $fg_color; }
+  }
+}
 
 /************
  * Pathbars *


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