[gnome-themes-standard] colors: don't use non-existent color definitions



commit cec15c5def252a9e5b1fdd800bd25408cd01bc1b
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jun 12 18:18:56 2012 -0400

    colors: don't use non-existent color definitions
    
    @bg_color is not defined in Adwaita, so don't use it for WM button
    shades.

 themes/Adwaita/gtk-3.0/gnome-applications.css |    2 +-
 themes/Adwaita/gtk-3.0/gtk-main.css           |   18 +++++++++---------
 2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index 3dd9748..9cc0c6e 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -450,7 +450,7 @@ EphyToolbar.toolbar .button {
 
 /* Border on the right in the left menu toolbar */
 .contacts-left-toolbar.toolbar.menubar {
- border-image: linear-gradient(to bottom, @bg_color, shade(@borders, 1.2));
+ border-image: linear-gradient(to bottom, @theme_bg_color, shade(@borders, 1.2));
  border-image-width: 0 1px 0 0;
  border-image-slice: 1;
 }
diff --git a/themes/Adwaita/gtk-3.0/gtk-main.css b/themes/Adwaita/gtk-3.0/gtk-main.css
index 0cd9d5a..120942d 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main.css
@@ -123,22 +123,22 @@
 @define-color wm_title_highlight_dark alpha(#ffffff, 0.0);
 @define-color wm_title_highlight #ffffff;
 
- define-color wm_bg_a shade (@bg_color, 1.1);
- define-color wm_bg_b @bg_color;
+ define-color wm_bg_a shade (@theme_bg_color, 1.1);
+ define-color wm_bg_b @theme_bg_color;
 
- define-color wm_button_bg_a shade (@bg_color, 1.0);
- define-color wm_button_bg_b shade (@bg_color, 0.85);
- define-color wm_button_bg_c shade (@bg_color, 0.8);
- define-color wm_button_bg_d shade (@bg_color, 0.9);
+ define-color wm_button_bg_a shade (@theme_bg_color, 1.0);
+ define-color wm_button_bg_b shade (@theme_bg_color, 0.85);
+ define-color wm_button_bg_c shade (@theme_bg_color, 0.8);
+ define-color wm_button_bg_d shade (@theme_bg_color, 0.9);
 
 @define-color wm_button_bg_hover_a shade (@wm_button_bg_a, 1.1);
 @define-color wm_button_bg_hover_b shade (@wm_button_bg_b, 1.1);
 @define-color wm_button_bg_hover_c shade (@wm_button_bg_c, 1.1);
 @define-color wm_button_bg_hover_d shade (@wm_button_bg_d, 1.1);
 
- define-color wm_button_bg_active_a shade (@bg_color, 0.7);
- define-color wm_button_bg_active_b shade (@bg_color, 0.9);
- define-color wm_button_bg_active_c shade (@bg_color, 0.9);
+ define-color wm_button_bg_active_a shade (@theme_bg_color, 0.7);
+ define-color wm_button_bg_active_b shade (@theme_bg_color, 0.9);
+ define-color wm_button_bg_active_c shade (@theme_bg_color, 0.9);
 
 @import url("gtk-main-common.css");
 @import url("gtk-widgets-backgrounds.css");



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