summaryrefslogtreecommitdiff
path: root/themes/Adwaita-dark/gtk-2.0/hacks-dark.rc
diff options
context:
space:
mode:
Diffstat (limited to 'themes/Adwaita-dark/gtk-2.0/hacks-dark.rc')
-rw-r--r--themes/Adwaita-dark/gtk-2.0/hacks-dark.rc16
1 files changed, 16 insertions, 0 deletions
diff --git a/themes/Adwaita-dark/gtk-2.0/hacks-dark.rc b/themes/Adwaita-dark/gtk-2.0/hacks-dark.rc
new file mode 100644
index 00000000..91ed04a5
--- /dev/null
+++ b/themes/Adwaita-dark/gtk-2.0/hacks-dark.rc
@@ -0,0 +1,16 @@
+# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
+#
+# GTK+ 2 hardcodes a light shadow under certain inactive things. We can use this
+# horrible workaround to make it at least distinguishable.
+
+style "dark_insensitive" {
+
+ fg[INSENSITIVE] = "#000000"
+ text[INSENSITIVE] = "#000000"
+
+}
+
+widget_class "*<GtkButton>*" style "dark_insensitive"
+widget_class "*<GtkComboBoxText>.<GtkCellView>" style "dark_insensitive"
+widget_class "*<GtkMenuItem>*" style "dark_insensitive"
+widget_class "*<GtkMenuBar>.<GtkMenuItem>.<GtkLabel>" style "dark_insensitive"