theme: add option window.button.hover.bg.color

This commit is contained in:
Johan Malm 2026-02-05 20:52:53 +00:00 committed by Johan Malm
parent 4f8b80700e
commit 54554f43dd
4 changed files with 24 additions and 5 deletions

View file

@ -173,6 +173,18 @@ window.*.title.bg.colorTo.splitTo: #557485
Space between titlebar buttons, in pixels.
Default is 0.
Note: The *window.button.hover* namespace (below) relates to button hover
overlay effects which work with all buttons including svg, png and xbm.
Openbox only supports hover effects rendered behind buttons which makes sense
for the xbm format, but not for others. For reference, these are defined by
*window.active|inactive.button.STATE.bg* where *STATE* can be any of *pressed*,
*hover* and *disabled*. These are not (yet) supported by labwc and are mentioned
here for comparison only.
*window.button.hover.bg.color*
Color of the hover effect of a titlebar button. Default is #80808020.
*window.button.hover.bg.corner-radius*
Radius of the hover effect of a titlebar button, in pixels.
Default is 0.

View file

@ -44,7 +44,8 @@ window.button.width: 26
window.button.height: 26
window.button.spacing: 0
# window button hover effect
# window button hover overlay
window.button.hover.bg.color: #80808020
window.button.hover.bg.corner-radius: 0
# window buttons