thesquash / gtk-theme-raleigh

A GTK+ 3 version of the old Raleigh theme for GTK+ 2
Other
66 stars 7 forks source link

Zebra stripes aren't displayed #12

Open niels0n opened 1 year ago

niels0n commented 1 year ago

Hey there! After reading ZEBRA-STRIPES.md I installed gtk3-classic and rebooted, but the stripes aren't displayed. I'm on Arch and I noticed that there's a package called gtk3-classic-xfce which provides a patch for Xfce (which I'm using). I installed it but it still doesn't work.

Is there some extra step required to show them?

thesquash commented 1 year ago

Sorry for the awfully terse reply, but I'm kind of tied up right now so I can't invest too much time in this. Nevertheless...

I think I wrote in that ZEBRA-STRIPES.md file that only some applications which are specifically whitelisted will appear with zebra stripes. I did this because I find that, if all applications appeared with the alternating row colors, that would be inconsistent with the looks of many GTK+ 2 applications; many GTK+ 2 applications also lacked the zebra stripes, and the main point of this theme is to look as authentically classic as possible.

Nevertheless, you can add another application to the list (I'll happily accept a pull request for such a thing). The file which needs to be modified is located at: themes/Raleigh/gtk-3.0/workarounds/zebra-stripes.css. (If you tell me what application(s) you expect to see zebra-striped, I'll look into their source code and try to add them to the whitelist.)

Alternatively, if you beg to differ with my opinion that not all applications should display zebra stripes, there is commented-out code in that same file which, if you uncomment it, will enable zebra stripes everywhere. Let me know if you go this route; I will change my mind and enable zebra stripes for everything by default if enough complaints are sent my way.

One more thing: gtk-theme-raleigh is not currently available for GTK 4, and I have no plans on making it available for GTK 4 applications. So obviously, if your applications turn out to use GTK 4, obviously you won't see any zebra stripes. :-)