Image 01
profile-image

EUGiNE_double

eugene v
SlicknesS

GTK2 Themes by TheRob 524 comments

In some white GTK menus, white selections are made with invisible white text (eg. Banshee music list).

I have also found that some menus remain light gray instead of following the dark theme while the text on the menus is gray or white as per the theme. This made it nearly impossible to read many menus (eg. smplayer).

To fix these issues, I found ~/.themes/SlicknesS/gtk-2.0/gtkrc and played around with it, tweaking various colours and observing the results. Eventually I changed the following:

within style "default" {}

bg[SELECTED] = "#FFFFFF"
to: bg[SELECTED] = "#C5EBB6"

text[SELECTED] = "#FFFFFF"
to: text[SELECTED] = "#000000"

within style "menu" = "default" {}

bg[NORMAL] = "#000000"
to: bg[NORMAL] = "#000001"

The last one made the gray menus adopt the theme's dark background for menus. For some reason, the value can't be 000000 (black) but any other colour makes the dark menus tinted with that colour. For example, setting a 00C000 (green) value would make the gray menus use the theme's background but tinted green. - Nov 11 2009