[gnome-themes-standard] separators: use the right color for view separators in dark variant



commit ae5d85b51b01bc2d5664b1ac9e1c46342d19a0b3
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jun 28 18:34:29 2012 -0400

    separators: use the right color for view separators in dark variant
    
    We were using a too dark color, which would end up being
    undistinguishable from the view background.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679085

 themes/Adwaita/gtk-3.0/gtk-main-dark.css |    2 ++
 themes/Adwaita/gtk-3.0/gtk-main.css      |    2 ++
 themes/Adwaita/gtk-3.0/gtk-widgets.css   |    2 +-
 3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-dark.css b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
index 137b222..b65a0e9 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
@@ -109,6 +109,8 @@
 
 @define-color treeview_focus_border shade (@theme_selected_bg_color, 1.20);
 
+ define-color view_separators shade (@internal_element_color, 0.90);
+
 @define-color expander_row_selected_color alpha (@theme_base_color, 0.60);
 
 @define-color inset_light_color alpha(white, 0.05);
diff --git a/themes/Adwaita/gtk-3.0/gtk-main.css b/themes/Adwaita/gtk-3.0/gtk-main.css
index 382d281..fa53e8f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main.css
@@ -109,6 +109,8 @@
 
 @define-color treeview_focus_border #2a79cb;
 
+ define-color view_separators shade(@borders, 1.30);
+
 @define-color expander_row_selected_color #acccee;
 
 @define-color inset_light_color alpha(white, 0.45);
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 570196a..beb9d65 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -205,7 +205,7 @@ GtkTreeView.view.separator,
 GtkTreeView.separator,
 .separator,
 .separator:hover {
-    color: shade(@borders, 1.30);
+    color: @view_separators;
 }
 
 GtkTreeView.view.separator:backdrop,



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