pop-os / cosmic-settings

COSMIC Settings
GNU General Public License v3.0
167 stars 111 forks source link

Support recoloring QT apps #415

Open nonetrix opened 4 months ago

nonetrix commented 4 months ago

I am not sure if this is the right place, however, since the recoloring that effects Iced and GTK3/4 apps is in settings maybe it is? Anyway, it's nice that it supports GTK but if it supported QT as well that would be great I prefer it personally and a lot of distros leave it with a horrible theme even though it's 2nd most used toolkit

nonetrix commented 4 months ago

Unrelated, but a more extensive theming API would be neat. But make it explicitly clear that it is unsupported of course and might break apps and shouldn't be used by distros. Maybe a red banner if you open settings or something to discourage distros from shipping it and warning users to disable it first before reporting UI bugs

For example I have KDE themed like this, I don't think this would be possible with Iced apps. I don't mind if it breaks some things I am very aware of that, QT has good model for extra theming support very extensible since it's just SVGs I really like the top gradient :P image

equeim commented 2 months ago

Qt already supports dark/light theme switching if you set QT_QPA_PLATFORMTHEME=xdgdesktopportal environment variable, but accent color does not work yet AFAIK.