[gtk+/gtk-style-context] GtkCssProvider: Make prelight a bit less light in default CSS.



commit 31f6f62f368445d5598684da6048a93aac3f32a2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Nov 19 22:45:35 2010 +0100

    GtkCssProvider: Make prelight a bit less light in default CSS.

 gtk/gtkcssprovider.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index ba40dd8..7565b36 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3147,7 +3147,7 @@ gtk_css_provider_get_default (void)
         "}\n"
         "\n"
         "*:prelight {\n"
-        "  background-color: shade (@bg_color, 2.0);\n"
+        "  background-color: shade (@bg_color, 1.05);\n"
         "  color: shade (@fg_color, 1.3);\n"
         "}\n"
         "\n"
@@ -3220,7 +3220,7 @@ gtk_css_provider_get_default (void)
         "GtkCheckButton:selected,\n"
         "GtkRadioButton:hover,\n"
         "GtkRadioButton:selected {\n"
-        "  background-color: lighter (@bg_color);\n"
+        "  background-color: shade (@bg_color, 1.05);\n"
         "}\n"
         "\n"
         ".check, .radio,\n"



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