Comment 0 for bug 1581047

Revision history for this message
Michael Terry (mterry) wrote :

After the latest theme changes (that introduced blue and green to our palette), there are incorrect colors in ubuntu-system-settings (and elsewhere).

Partly because of hardcoded colors via UbuntuColors. Ideally, semantic color names from the palette would be used instead. "theme.palette.normal.positive" instead of "UbuntuColors.green" for example.

In addition, it seems that UbuntuColors.orange is used in several places that aren't focus related. Like for buttons. Those might want to switch to green via theme.palette.normal.positive.

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.4/Ubuntu.Components.Themes.PaletteValues/

And if you're curious what the semantic colors actually resolve to, you can see the current mapping between UbuntuColors and the theme by looking at /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/1.3/AmbianceNormal.qml (or wherever it lives on your system).