Comment 23 for bug 899878

Revision history for this message
Jakey_TheSnake (clampstand) wrote :

Does anybody here understand how we can/whether it's possible to get the theme colours into CSS? Sort of like "gtk:bg[NORMAL]" in the XML metacity themes.

https://developer.gnome.org/gtk3/stable/gtk-migrating-GtkStyleContext-css.html

This page may be useful, but I don't fully understand it.

Commenting out GtkViewport, GtkTreeView and GtkTreeView:selected in the aforementioned softwarecentre.css seem to make the necessary changes: http://i.imgur.com/KwvaEdl.png but the front page still looks terrible thanks to the hardcoded background: http://i.imgur.com/Z1J9K42.png. Still looking to see where the background (stipple.png) is called from.

Interestingly in the css folder that contains softwarecentre.css there's also some css files labelled 'high contrast' and 'high contrast inverse' - it would be nice if we could find out how the software centre decides when to use these; then we could create a 'dark theme' one.