paulmcauley/klassy

Background color of the tab close buttons in the application style has changed

Closed this issue · 2 comments

With the recent release the color got darker and I want to restore it to what it was or to what the default Breeze provides. Is this intentional? Can I restore it?
klassy:
Screenshot_20240312_185420
breeze:
Screenshot_20240312_185533

I had to make a compromise so that the application style button colours would work with a wide variety of styles, and not just Breeze (I'm actually also surprised anyone uses the Breeze preset!).

The application style button "titlebar text" colour is taken from a variation of the application Window Text colour, but this is also mixed with Klassy's inactive window button colour settings. You can therefore make a workaround for this by changing the Klassy window decoration inactive button colour opacity setting to 70% (make sure to unlock the active and active button settings first at the top-right):
breeze_settings

Here is also a Window Decoration preset file which does this. I will update the preset for the next release with this if you think that is a good idea:

Breeze_Original.klpw.zip

Alternatively, if you want things more exactly as Breeze then change 0.7 in the following line to 0.5:

const QColor toolbarText(KColorUtils::mix(toolbarBase, palette.color(QPalette::WindowText), 0.7));

I might be able to make it exactly the same but it is quite complex and would require some thought...

Thank you, the workaround is enough for me. Updating the preset is a good idea I think.