Comment 39 for bug 899878

Revision history for this message
Bruce Pieterse (octoquad) wrote :

I took some time to test out Matthews idea about the transparent stipple. I have attached some screen shots which show the stipple in different states:

1. The original
2. Transparent
3. Original with custom Adwaita CSS
4. Transparent with custom Adwaita CSS
5. Transparent with custom Adwaita CSS and 90% transparency drawn by Cairo (line 178 of catview.py). Default is 50%.

When testing the transparent stipple with Adwaita, the text becomes more illegible.

USC has support to load custom css based off the gtk-theme-name, which you can see in line 55 of utils.py. You can easily test the loading of the theme by opening USC and then changing it to something like highcontrast which has its on css file and this will change in real time. So if you use Numix you can provide a softwarecenter.numix.css.

From what I can see for a workaround to use GTK theme colors, simply move softwarecenter.css out the way (softwarecenter.css.bak). The code currently looks for a softwarecenter.<theme-name>.css if that does not exist, it loads up the softwarecenter.css. If that does not exist as well it uses the styling from the GTK theme.

Alternatively whip up your own CSS file for your favourite theme, or ask the author to create one for USC if you want USC to match the theme.

I hope that helps a bits. I understand that this approach is for Adwaita, but no one has provided the theme name they use when they filed or commented on this bug report. So my next question is, what theme(s) are you using?