Yin-Yang icon indicating copy to clipboard operation
Yin-Yang copied to clipboard

Categorize themes (GTK or KDE or whatever) depending on their dominant (dark/light)

Open bphd opened this issue 3 years ago • 4 comments

It's relevant because a lot of software only listen to GTK/QT telling them that dominant is dark/light. And some light themes gives dark variable (Fluent...) and contrary too (Adwaita-dark, Sweet Mars...)

Maybe better, only permit dark dominant themes to be applied in the dark part and same for light

bphd avatar Feb 16 '22 11:02 bphd

You mean, we should only show light themes in the light combo box and only dark themes in the dark combo box?

This is really hard to do properly, however we could guess this based on the theme name.

l0drex avatar Feb 16 '22 12:02 l0drex

It's not that hard to do properly, because I just told that there is actually a dominant variable in the theme that GTK/QT gives to software for them to work with. You only have to find out where it is and define filtering with that. Filtering with theme name is impossible, because few of them use "dark/light" in their name

And maybe a checkbox to stop that filtering for fools over there and here who want to mix dominant at their risk

bphd avatar Feb 16 '22 12:02 bphd

For example Firefox listen to that variable to set it's own theme on the "auto" theme. So you could search for what Firefox read in that case. That would be the variable to filter

bphd avatar Feb 16 '22 12:02 bphd

VSCode too can detect this variable for example (maybe it's another one, in that case you should use both because it's different variable depending of KDE/Wayland/X11/GTK/QT... and it will permit you to know on what filter each category in the list)

bphd avatar Feb 19 '22 12:02 bphd