[gnome-themes-standard] dark: correctly theme the active text for dark switch trough
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] dark: correctly theme the active text for dark switch trough
- Date: Mon, 24 Oct 2011 19:05:35 +0000 (UTC)
commit 38c04c7476caeb73f9e6e04a79aa22c2a6b9e638
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Oct 24 14:25:56 2011 -0400
dark: correctly theme the active text for dark switch trough
themes/Adwaita/gtk-3.0/gtk-dark.css | 8 +++++---
themes/Adwaita/gtk-3.0/gtk-widgets.css | 2 +-
themes/Adwaita/gtk-3.0/gtk.css | 2 ++
3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-dark.css b/themes/Adwaita/gtk-3.0/gtk-dark.css
index f8d4ba4..eb79e11 100644
--- a/themes/Adwaita/gtk-3.0/gtk-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-dark.css
@@ -50,6 +50,11 @@
@define-color switch_slider_border #a5b8cc;
@define-color switch_slider_insensitive_bg @insensitive_border_color;
+ define-color switch_trough_active_color @theme_text_color;
+
+ define-color active_switch_bg_color_a shade (@theme_selected_bg_color, 0.85);
+ define-color active_switch_bg_color_b @theme_selected_bg_color;
+
@define-color highlighted_border @button_border;
@define-color internal_element_color #888a85;
@define-color internal_element_prelight #333333;
@@ -92,9 +97,6 @@
@define-color trough_bg_color_a #30312f;
@define-color trough_bg_color_b #41433f;
- define-color active_switch_bg_color_a shade (@theme_selected_bg_color, 0.85);
- define-color active_switch_bg_color_b @theme_selected_bg_color;
-
@define-color treeview_focus_border shade (@theme_selected_bg_color, 1.20);
@define-color scale_fill shade (@insensitive_border_color, 0.90);
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 6774118..6c24b56 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1362,7 +1362,7 @@ GtkSwitch.trough {
}
GtkSwitch.trough:active {
- color: @theme_base_color;
+ color: @switch_trough_active_color;
background-image: -gtk-gradient (linear,
left top, left bottom,
from (@active_switch_bg_color_a),
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 6d9876c..6321e31 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -85,6 +85,8 @@
@define-color switch_slider_border #2a79cb;
@define-color switch_slider_insensitive_bg @insensitive_bg_color;
+ define-color switch_trough_active_color @theme_base_color;
+
@define-color progressbar_background_a #76b0ec;
@define-color progressbar_background_b #1f72c6;
@define-color progressbar_pattern #000000;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]