mirror of https://github.com/sayanarijit/xplr
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
694 B
Markdown
38 lines
694 B
Markdown
# Borders
|
|
|
|
xplr allows customizing the shape and style of the borders.
|
|
|
|
### Border
|
|
|
|
A border is a [sum type][2] that can be one of the following:
|
|
|
|
- "Top"
|
|
- "Right"
|
|
- "Bottom"
|
|
- "Left"
|
|
|
|
### Border Type
|
|
|
|
A border type is a [sum type][2] that can be one of the following:
|
|
|
|
- "Plain"
|
|
- "Rounded"
|
|
- "Double"
|
|
- "Thick"
|
|
|
|
### Border Style
|
|
|
|
The [style][1] of the borders.
|
|
|
|
## Example
|
|
|
|
```lua
|
|
xplr.config.general.panel_ui.default.borders = { "Top", "Right", "Bottom", "Left" }
|
|
xplr.config.general.panel_ui.default.border_type = "Thick"
|
|
xplr.config.general.panel_ui.default.border_style.fg = "Black"
|
|
xplr.config.general.panel_ui.default.border_style.bg = "Gray"
|
|
```
|
|
|
|
[1]: style.md#style
|
|
[2]: sum-type.md
|