mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
overlay: add theme settings for colors and border width
adds theme settings like: snapping.overlay.[region|edge].bg.color: #8080b380 snapping.overlay.[region|edge].border.color: #ffffff,#000000,#ffffff snapping.overlay.[region|edge].border.width: 1
This commit is contained in:
parent
50fd65416f
commit
3b13f4cdcd
5 changed files with 123 additions and 10 deletions
|
|
@ -208,6 +208,34 @@ elements are not listed here, but are supported.
|
|||
Otherwise, an outlined rectangle is shown instead.
|
||||
If software rendering is used, an outlined rectangle is always shown.
|
||||
|
||||
*snapping.preview.region.bg.color*
|
||||
Color of a filled rectangle shown as the preview when a window is snapped to
|
||||
a region. Default is #8080b380.
|
||||
|
||||
*snapping.preview.edge.bg.color*
|
||||
Color of a filled rectangle shown as the preview when a window is snapped to
|
||||
an edge. Default is #8080b380.
|
||||
|
||||
*snapping.preview.region.border.width*
|
||||
Border width of an outlined rectangle shown as the preview when a window is
|
||||
snapped to a region. Inherits `osd.border.width` if not set.
|
||||
|
||||
*snapping.preview.edge.border.width*
|
||||
Border width of an outlined rectangle shown as the preview when a window is
|
||||
snapped to an edge. Inherits `osd.border.width` if not set.
|
||||
|
||||
*snapping.preview.region.border.color*
|
||||
Color(s) of an outlined rectangle shown as the preview when a window is
|
||||
snapped to a region. Possible value is a color or up to 3 colors separated
|
||||
by commas (e.g. "#ffffff,#000000,#ffffff"). When multiple colors are
|
||||
specified, a multi-line rectangle with each line having the specified color
|
||||
is drawn. If not set, this inherits the on-screen-display theme
|
||||
("[*osd.bg.color*],[*osd.label.text.color*],[*osd.bg.color*]").
|
||||
|
||||
*snapping.preview.edge.border.color*
|
||||
Color(s) of an outlined rectangle shown as the preview when a window is
|
||||
snapped to an edge. See *snapping.preview.region.border.color* for details.
|
||||
|
||||
*border.color*
|
||||
Set both *window.active.border.color* and *window.inactive.border.color*.
|
||||
This is obsolete, but supported for backward compatibility as some themes
|
||||
|
|
|
|||
|
|
@ -74,3 +74,9 @@ osd.workspace-switcher.boxes.height: 20
|
|||
|
||||
snapping.preview.region.fill: yes
|
||||
snapping.preview.edge.fill: yes
|
||||
snapping.preview.region.bg.color: #8080b380
|
||||
snapping.preview.edge.bg.color: #8080b380
|
||||
snapping.preview.region.border.width: 1
|
||||
snapping.preview.edge.border.width: 1
|
||||
snapping.preview.region.border.color: #dddda6,#000000,#dddda6
|
||||
snapping.preview.edge.border.color: #dddda6,#000000,#dddda6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue