[gtk+] Adwaita: darkened a tiny bit bright variant background



commit e46d23d8193ddbf15482a2ed3fccbed762ba66ce
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Oct 17 20:36:25 2014 +0200

    Adwaita: darkened a tiny bit bright variant background
    
    Trying to differentiate a bit more the focused window from the
    backdrop ones.

 gtk/resources/theme/Adwaita/_common.scss      |    2 +-
 gtk/resources/theme/Adwaita/gtk-contained.css |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index b2963a6..d952fcd 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -59,7 +59,7 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
 
 .background {
   color: $fg_color;
-  background-color: $bg_color;
+  background-color: if($variant == 'light', mix($fg_color, $bg_color, 0.015), $bg_color);
 
   &:backdrop {
     text-shadow: none;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 70d0a65..d5c82ac 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -31,7 +31,7 @@
  ***************/
 .background {
   color: #2e3436;
-  background-color: #ededed; }
+  background-color: #ececec; }
   .background:backdrop {
     text-shadow: none;
     icon-shadow: none;


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