[yelp/mallard] [yelp-settings.c] Fixed long-standing color issues
- From: Shaun McCance <shaunm src gnome org>
- To: svn-commits-list gnome org
- Subject: [yelp/mallard] [yelp-settings.c] Fixed long-standing color issues
- Date: Wed, 10 Jun 2009 00:28:40 -0400 (EDT)
commit 0c1fd983ce8cd754b498c562628728e1278d6c32
Author: Shaun McCance <shaunm gnome org>
Date: Tue Jun 9 21:55:13 2009 -0500
[yelp-settings.c] Fixed long-standing color issues
---
src/yelp-settings.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/yelp-settings.c b/src/yelp-settings.c
index fd41b65..920308e 100644
--- a/src/yelp-settings.c
+++ b/src/yelp-settings.c
@@ -779,43 +779,43 @@ settings_update (YelpSettingsType type)
g_object_unref (widget);
hls_to_hex (text_h,
- text_l - ((text_l - base_l) * 0.4),
+ text_l - ((text_l - base_l) * 0.25),
text_s,
YELP_COLOR_FG_LIGHT);
hls_to_hex (base_h,
- base_l - ((base_l - text_l) * 0.05),
+ base_l,
base_s,
YELP_COLOR_GRAY_BG);
hls_to_hex (base_h,
- base_l - ((base_l - text_l) * 0.1),
+ base_l - ((base_l - text_l) * 0.25),
base_s,
YELP_COLOR_GRAY_BORDER);
- hls_to_hex (base_h,
- base_l - ((base_l - text_l) * 0.05),
+ hls_to_hex (204,
+ base_l,
0.6,
YELP_COLOR_BLUE_BG);
- hls_to_hex (base_h,
- base_l - ((base_l - text_l) * 0.1),
+ hls_to_hex (204,
+ base_l - ((base_l - text_l) * 0.25),
0.6,
YELP_COLOR_BLUE_BORDER);
hls_to_hex (0,
- base_l - ((base_l - text_l) * 0.05),
+ base_l,
0.6,
YELP_COLOR_RED_BG);
hls_to_hex (0,
- base_l - ((base_l - text_l) * 0.1),
+ base_l - ((base_l - text_l) * 0.25),
0.6,
YELP_COLOR_RED_BORDER);
hls_to_hex (60,
- base_l - ((base_l - text_l) * 0.05),
+ base_l,
0.6,
YELP_COLOR_YELLOW_BG);
hls_to_hex (60,
- base_l - ((base_l - text_l) * 0.1),
+ base_l - ((base_l - text_l) * 0.25),
0.6,
YELP_COLOR_YELLOW_BORDER);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]