menu: support titles

...defined by `<separator label="">`.

Also add the theme option `menu.title.bg.color: #589bda`

The following will be added in separate commits
- menu.title.bg.border.color: #7cb6ec
- menu.title.text.color: #ffffff
- menu.title.text.justify: center
This commit is contained in:
Johan Malm 2024-05-09 21:20:15 +01:00 committed by Johan Malm
parent a368bbee6a
commit 0552c6b7f0
7 changed files with 106 additions and 26 deletions

View file

@ -174,6 +174,10 @@ elements are not listed here, but are supported.
*menu.separator.color*
Menu separator color. Default #888888.
*menu.title.bg.color*
Menu title color. Default #589bda.
Note: A menu title is a separator with a label.
*osd.bg.color*
Background color of on-screen-display. Inherits
*window.active.title.bg.color* if not set.