[gtk+/gtk-3-14] Adwaita: use $backdrop_fg_color where it should



commit 5e7630c1ee64bb5385bfd8b5e49695f2ac5f3a3d
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Oct 17 20:09:17 2014 +0200

    Adwaita: use $backdrop_fg_color where it should
    
    .background:backdrop was not using that one so some labels didn't
    look right in backdrop.

 gtk/resources/theme/Adwaita/_common.scss           |   11 +++++------
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |   11 +++++------
 gtk/resources/theme/Adwaita/gtk-contained.css      |   11 +++++------
 3 files changed, 15 insertions(+), 18 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 6cf2a2f..7915782 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -56,16 +56,15 @@
  ***************/
 
 .background {
-    color: $fg_color;
-    background-color: $bg_color;
-}
+  color: $fg_color;
+  background-color: $bg_color;
 
-.background:backdrop {
+  &:backdrop {
     text-shadow: none;
     icon-shadow: none;
-
-    color: lighten($fg_color,10%);
+    color: $backdrop_fg_color;
     background-color: $backdrop_bg_color;
+  }
 }
 
 /*
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 2169964..500a7ce 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -32,12 +32,11 @@
 .background {
   color: #eeeeec;
   background-color: #393f3f; }
-
-.background:backdrop {
-  text-shadow: none;
-  icon-shadow: none;
-  color: white;
-  background-color: #393f3f; }
+  .background:backdrop {
+    text-shadow: none;
+    icon-shadow: none;
+    color: #939695;
+    background-color: #393f3f; }
 
 /*
    These wildcard seems unavoidable, need to investigate.
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index e81b376..b54e907 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -32,12 +32,11 @@
 .background {
   color: #2e3436;
   background-color: #ededed; }
-
-.background:backdrop {
-  text-shadow: none;
-  icon-shadow: none;
-  color: #454f52;
-  background-color: #ededed; }
+  .background:backdrop {
+    text-shadow: none;
+    icon-shadow: none;
+    color: #8d9091;
+    background-color: #ededed; }
 
 /*
    These wildcard seems unavoidable, need to investigate.


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