[gnome-themes-standard] Increase legibility in the pushed button style



commit 697a4fea200e2605a95cef9d0d9979fe0073cd0f
Author: Allan Day <allanpday gmail com>
Date:   Tue Aug 20 22:03:11 2013 +0100

    Increase legibility in the pushed button style
    
    Make pushed button labels easier to read by tweaking their color.
    This make the theme consistent with the mockups. Requires that an
    unnecessary override be removed from the dark theme.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706446

 themes/Adwaita/gtk-3.0/gtk-main-dark.css           |    2 +-
 themes/Adwaita/gtk-3.0/gtk-main.css                |    4 ++--
 .../Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css |    1 -
 3 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-dark.css b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
index b205721..1d0a0f6 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
@@ -44,7 +44,7 @@
 
 @define-color button_active_gradient_color_a shade (@button_gradient_color_b, 0.7);
 @define-color button_active_gradient_color_b shade (@button_gradient_color_a, 0.7);
- define-color button_active_text @theme_selected_bg_color;
+ define-color button_active_text @theme_text_color;
 @define-color button_active_text_shadow alpha(black, 0.6);
 @define-color button_text_shadow alpha(black, 0.7);
 
diff --git a/themes/Adwaita/gtk-3.0/gtk-main.css b/themes/Adwaita/gtk-3.0/gtk-main.css
index 6e97ba6..3aa4acd 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main.css
@@ -44,8 +44,8 @@
 
 @define-color button_active_gradient_color_a #a2a9a2;
 @define-color button_active_gradient_color_b shade (@button_active_gradient_color_a, 0.83);
- define-color button_active_text @theme_base_color;
- define-color button_active_text_shadow alpha(black, 0.4);
+ define-color button_active_text @theme_text_color;
+ define-color button_active_text_shadow alpha(white, 0.4);
 @define-color button_text_shadow alpha(white, 0.4);
 
 @define-color button_hover_gradient_color_a @theme_base_color;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css 
b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
index 2394f9c..676293a 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
@@ -23,7 +23,6 @@ GtkComboBox {
 .button:active,
 GtkComboBox:active {
     text-shadow: 0 1px @button_active_text_shadow;
-    color: @theme_selected_bg_color; /* Not sure about this one */
 }
 
 .button:active:insensitive,


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