mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-13 10:20:37 +01:00
2984cda0ca
includes some double-wide characters
48 lines
1.1 KiB
INI
48 lines
1.1 KiB
INI
# This config contains UTF-8-encoded elements used correctly, and a simple colored box design.
|
||
|
||
BOX designA
|
||
|
||
sample
|
||
┏━┳━ [38;5;154m沐[0m[38;5;184m宸[0m[38;5;184m [0m[38;5;184m若[0m[38;5;214m汐[0m ━┓
|
||
┃ ┃ ┋
|
||
┃ ┃ ┃
|
||
┃ ┃ ┋
|
||
┣━╋━━━━━━━━━━━━━┫
|
||
┗━┻━━━━━━━━━━━━━┛
|
||
ends
|
||
|
||
# Monochrome sample (with UTF-8):
|
||
# ┏━┳━ 沐宸 若汐 ━┓
|
||
# ┃ ┃ ┋
|
||
# ┃ ┃ ┃
|
||
# ┃ ┃ ┋
|
||
# ┣━╋━━━━━━━━━━━━━┫
|
||
# ┗━┻━━━━━━━━━━━━━┛
|
||
|
||
shapes {
|
||
n (" [38;5;154m沐[0m[38;5;184m宸[0m[38;5;184m [0m[38;5;184m若[0m[38;5;214m汐[0m ",
|
||
" ")
|
||
nw ("┏━┳", "┃ ┃")
|
||
nnw ("━", " ")
|
||
nne ("━", " ")
|
||
ne ("┓", "┋")
|
||
e ("┃", "┋")
|
||
w ("┃ ┃")
|
||
se ("┫", "┛")
|
||
s ("━", "━")
|
||
sw ("┣━╋", "┗━┻")
|
||
}
|
||
|
||
elastic (
|
||
nnw, nne, e, w, s
|
||
)
|
||
|
||
padding {
|
||
horiz 1
|
||
}
|
||
|
||
replace "ä" with "ö"
|
||
reverse "ö" to "ä"
|
||
|
||
END designA
|