Image 01
profile-image

Yotsuya

Brian Mason
MediterraneanNight Series

GTK3 Themes by trastes 265 comments

The old discussion threads from the earlier version has disappeared from this site. Let me return to my original problem. Exploring again with Pre-Release2.

(Parts 2&3) Under MediterraneanNight, menus in GTK3 apps such as Nautilus, Nemo, and Gedit look great. However, in GTK2 apps such as Firefox, Deluge, and Gimp.. dropdown menus look like this, the dark grey on dark grey is unusable:
http://imageshack.us/photo/my-images/59/gtk2.png

I narrowed down the settings for the dropdown menu to the section style "menu" however I there were no settings for foreground text. I tried adding fg[NORMAL] or text[NORMAL] but they had no effect. So Instead I borrowed bg[NORMAL] from another section of the theme. Using this line resulted in a lighter background and the text was much more readable:
bg[NORMAL] = shade (1.02, @bg_color)

The major problem with this is that now the dropdown menu doesnt match the menubar so I changed the menubar to match with these lines in section style "menubar" (again borrowed from other sections of the theme):
fg[NORMAL] = @fg_color
bg[NORMAL] = shade (1.02, @bg_color)

While this leads to some inconsistency between GTK2 and GTK3 apps, the result is much more usable unless the text colors can be corrected for "menu".

(Part1) There seems to be different ways older programs build their lists. Under MediterraneanNight the list in most programs such as Deluge look great. However in some programs such as Nicotine+ they look like this. The black background alternating with light background is unusable:
http://imageshack.us/photo/my-images/594/badlists.png

I narrowed down the settings for this list to the
section style "default" lines odd_row_color and even_row_color. I can see that even_row_color has been commented out due to a problem with another program but the current fix of commenting it out results in the black background lines shown above. Borrowing again from other parts of the theme and trying to match the list colors of Deluge I replaced these lines with this. Giving a pleasing result:
GtkTreeView ::odd_row_color = shade (0.85, @base_color)
GtkTreeView ::even_row_color = shade (1.02, @bg_color)

I installed eclipse and attempted to explore the problem further but am unfamiliar with the program and was unable to install any samples to test with. Perhaps there is a better solution than simply commenting out the even_row_color but instead defining a neutral color.

I'm sorry I did mean menubar not titlebar, and I do not run xfce so am unable to help in that regard. - Feb 12 2013
MediterraneanNight Series

GTK3 Themes by trastes 265 comments

As noted in the comments above, there are still some issues with toolbars and lists in GTK2 apps. Here are a few quick edits to gtkrc I've been using to make life easier (intended for MediterraneanNight):

1) Fix alternating backgrounds on list views. In section style "default":
GtkTreeView ::odd_row_color = shade (0.85, @base_color)
GtkTreeView ::even_row_color = shade (1.02, @bg_color)

2) Fix unreadable text on dropdown menus (ie: firefox) by going with a lighter theme. In section style "menu":
bg[NORMAL] = shade (1.02, @bg_color)

3) Change titlebar to match above lighter dropdown menu theme. In section style "menubar":
fg[NORMAL] = @fg_color
bg[NORMAL] = shade (1.02, @bg_color)

(This was posted for my benefit as much as others, I had to dig through google cache to find it again since the switch to v2.0) - Feb 10 2013
7 .5
Feb 10 2013