1
0
Fork 0
forked from wry/wry

theme: add bar-separator-width setting

This commit is contained in:
Stipe Kotarac 2025-12-01 18:15:11 +01:00
parent f5ed6f8fac
commit a6e629dd2f
16 changed files with 163 additions and 31 deletions

View file

@ -2012,6 +2012,11 @@
"description": "The position of the bar. Defaults to `top` if not set.",
"$ref": "#/$defs/BarPosition"
},
"bar-separator-width": {
"type": "integer",
"description": "The width of the bar's separator. Defaults to 1.",
"minimum": 0.0
},
"font": {
"type": "string",
"description": "The name of the font to use."

View file

@ -4577,6 +4577,16 @@ The table has the following fields:
The value of this field should be a [BarPosition](#types-BarPosition).
- `bar-separator-width` (optional):
The width of the bar's separator. Defaults to 1.
The value of this field should be a number.
The numbers should be integers.
The numbers should be greater than or equal to 0.
- `font` (optional):
The name of the font to use.

View file

@ -2228,6 +2228,12 @@ Theme:
ref: BarPosition
required: false
description: The position of the bar. Defaults to `top` if not set.
bar-separator-width:
kind: number
integer_only: true
minimum: 0
required: false
description: The width of the bar's separator. Defaults to 1.
font:
kind: string
required: false