richard-kung / breezeway

Breezeway window decoration for KDE Plasma
Other
5 stars 3 forks source link

[Request] Adjust inactive button state color depending on background of titlebar #2

Closed n4n0GH closed 5 years ago

n4n0GH commented 5 years ago

When using a dark color scheme for the titlebar, the buttons have too much contrast once the window loses focus: buttons_colors The Firefox window obviously uses a GTK theme, but it serves as a good reference of how it could look like. For comparison: macOS' dark theme also lowers the contrast of the window buttons significantly when the windows lose focus: img_5b17152e310da

I'm not sure how this could be solved as I have no experience with KDE Theming, but I'm guessing it should be possible to add an opacity argument to the elements somehow.

n4n0GH commented 5 years ago

I forked this theme to play around with it and accidentally solved this issue myself https://github.com/n4n0GH/breezeway-mod/commit/55aac650d830d0a9420de03d5c077d63c8b73706

Feel free to copy the code from that file.