theme: add button padding and spacing (#2127)

While at it, separate corner width from button
width. Both are independed and having them
separately improves readability.
This commit is contained in:
Jens Peters 2024-09-09 17:43:38 +02:00 committed by Johan Malm
parent 8850368ab9
commit 824b0fa4e3
13 changed files with 105 additions and 39 deletions

View file

@ -47,12 +47,18 @@ labwc-config(5).
# THEME ELEMENTS
*border.width*
Line width (integer) of border border drawn around window frames.
Line width (integer) of border drawn around window frames.
Default is 1.
*padding.width*
Horizontal padding size, in pixels, between border and first
button on the left/right.
Default is 0.
*padding.height*
Vertical padding size, used for spacing out elements in the window
decorations. Default is 3.
Vertical padding size, in pixels, used for spacing out elements
in the window decorations.
Default is 3.
*titlebar.height*
Window title bar height.
@ -122,6 +128,10 @@ labwc-config(5).
Width of a titlebar button, in pixels.
Default is 26.
*window.button.spacing*
Space between titlebar buttons, in pixels.
Default is 0.
*window.active.button.unpressed.image.color*
Color of the images in titlebar buttons in their default, unpressed,
state. This element is for the focused window.