quotient-im / Quaternion

A Qt-based IM client for Matrix
https://matrix.org/ecosystem/clients/quaternion/
GNU General Public License v3.0
644 stars 108 forks source link

Override the system palette #156

Open KitsuneRal opened 7 years ago

KitsuneRal commented 7 years ago

Requested by @sbts: see https://matrix.to/#/!PCzUtxtOjUySxSelof:matrix.org/$1493867320827736Hdqdy:matrix.org and beyond for the discussion. Also, @eternaleye happens to alter the font in his local Q build. Given that the external CSS/theme integration is unreliable with Qt, it makes sense to make a backdoor that would allow to stuff a user-defined CSS into Q. Or at least save the overriding palette to the settings so that a user could edit it.

eternaleye commented 7 years ago

I will note that I alter the font by setting the application-level font in C++, and so existing generic Qt font picker tooling may be reusable.

rpallai commented 4 years ago

I wonder whether user-defined CSS support is a good solution to the issue? It would resolve wide range of customization needs of power users including palette.

KitsuneRal commented 4 years ago

I don't know how it will change the performance profile of Quaternion though. CSS being applied to each displayed event doesn't sound too thrilling (especially on bigger screens with more stuff to fit). I have no idea about the impact, admittedly; a proof-of-concept would be worthwhile.