[gnome-themes-standard] entry: split colors for entries on primary toolbars



commit e0ab012977360b2960644264eb3041322bd84b50
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Jul 8 12:46:57 2011 -0400

    entry: split colors for entries on primary toolbars
    
    And add a first dark theme version

 themes/Adwaita/gtk-3.0/gtk-dark.css    |   11 +++++++----
 themes/Adwaita/gtk-3.0/gtk-widgets.css |    5 +++++
 themes/Adwaita/gtk-3.0/gtk.css         |    3 +++
 3 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-dark.css b/themes/Adwaita/gtk-3.0/gtk-dark.css
index 03c7b6a..49016b1 100644
--- a/themes/Adwaita/gtk-3.0/gtk-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-dark.css
@@ -58,15 +58,18 @@
 @define-color focused_entry_border @theme_selected_bg_color;
 @define-color focused_entry_inset alpha (@theme_selected_bg_color, 0.50);
 
- define-color toolbar_gradient_base #080808;
- define-color toolbar_gradient_step1 #0a0a0a;
- define-color toolbar_gradient_step2 #111111;
- define-color toolbar_gradient_final #151515;
+ define-color toolbar_gradient_base #252624;
+ define-color toolbar_gradient_step1 #323331;
+ define-color toolbar_gradient_step2 #444642;
+ define-color toolbar_gradient_final #51534f;
 
 @define-color toolbar_active_button_color #222222;
 @define-color toolbar_border_top #2e3436;
 @define-color toolbar_border_bottom #72756f;
 
+ define-color primary_toolbar_entry_bg #ffffff;
+ define-color primary_toolbar_entry_fg #2e3436;
+
 @define-color expander_row_selected_color alpha (@theme_base_color, 0.60);
 
 @define-color menu_controls_color #aaa8ac;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index ff6d1d1..c6f4990 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -904,6 +904,11 @@ GtkTreeMenu .menuitem * {
     text-shadow: none;
 }
 
+.primary-toolbar.toolbar .entry {
+    background-color: @primary_toolbar_entry_bg;
+    color: @primary_toolbar_entry_fg;
+}
+
 /* progressbars on primary toolbar entries are special */
 .primary-toolbar .toolbar .entry.progressbar,
 .primary-toolbar.toolbar .entry.progressbar {
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 257545e..e14561a 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -115,6 +115,9 @@
 
 @define-color toolbar_active_button_color #909081;
 
+ define-color primary_toolbar_entry_bg @theme_base_color;
+ define-color primary_toolbar_entry_fg @theme_text_color;
+
 @define-color treeview_focus_border @progressbar_border;
 
 @define-color expander_row_selected_color #acccee;



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