[gtk+] Adwaita: brighter dark variant header-bar bottom shade



commit c160340e6c7383f1dbe71421fc8016aff0e3efd0
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Nov 4 14:59:24 2014 +0100

    Adwaita: brighter dark variant header-bar bottom shade

 gtk/resources/theme/Adwaita/_drawing.scss          |    5 ++++-
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_drawing.scss b/gtk/resources/theme/Adwaita/_drawing.scss
index 68be75e..7cbbba8 100644
--- a/gtk/resources/theme/Adwaita/_drawing.scss
+++ b/gtk/resources/theme/Adwaita/_drawing.scss
@@ -490,8 +490,11 @@
 // $tc: top color
 // $hc: top highlight color
 //
+  $_bottom_shade_color: if($variant == 'light', mix(_border_color($c), $c, 30%),
+                                                mix(_border_color($c), $c, 20%));
+
   background-image: headerbar_gradient($c, $tc);
-  box-shadow: inset 0 -1px mix(_border_color($c), $c, 30%), // bottom shade
+  box-shadow: inset 0 -1px $_bottom_shade_color, // bottom shade
               inset 0 1px $hc; // top highlight
 
 }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 67b9ee8..2a1eb1a 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1612,7 +1612,7 @@ GtkComboBox {
   border-radius: 7px 7px 0 0;
   background-color: transparent;
   background-image: linear-gradient(to bottom, #434a4a, #393f3f);
-  box-shadow: inset 0 -1px #272c2c, inset 0 1px rgba(238, 238, 236, 0.1); }
+  box-shadow: inset 0 -1px #2d3232, inset 0 1px rgba(238, 238, 236, 0.1); }
   .titlebar:backdrop,
   .header-bar:backdrop {
     border-color: #1e2222;


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