mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-12 18:01:14 +01:00
52 lines
3.2 KiB
INI
52 lines
3.2 KiB
INI
# A partially colored box of unicode characters, including double-wide characters.
|
||
|
||
BOX designA
|
||
|
||
sample
|
||
┏━┳━━━━━━━━━━ [38;5;154m沐[0m[38;5;184m宸[0m[38;5;184m [0m[38;5;184m若[0m[38;5;214m汐[0m ━━━━━━━━━┳━┓
|
||
┃ ┃ ┃ ┃
|
||
[38;5;63mほ[39m[38;5;63m┃[39m Lorem ipsum [38;5;44m┃[39m[38;5;44mふ[39m
|
||
[38;5;63mげ[39m[38;5;69m┃[39m dolor sit amet [38;5;43m┃[39m[38;5;49mが[39m
|
||
[38;5;63mほ[39m[38;5;63m┃[39m consectetur adipiscing elit, [38;5;44m┃[39m[38;5;44mふ[39m
|
||
[38;5;63mげ[39m[38;5;69m┃[39m sed do eiusmod tempor. [38;5;43m┃[39m[38;5;49mが[39m
|
||
┣━╋[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m╋[39m[38;5;48m━[39m[38;5;48m┫[39m
|
||
┗━┻[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m┻[39m[38;5;48m━[39m[38;5;48m┛[39m
|
||
ends
|
||
|
||
# Monochrome sample:
|
||
# ┏━┳━━━━━━━━━━ 沐宸 若汐 ━━━━━━━━━┳━┓
|
||
# ┃ ┃ ┃ ┃
|
||
# ほ┃ Lorem ipsum ┃ふ
|
||
# げ┃ dolor sit amet ┃が
|
||
# ほ┃ consectetur adipiscing elit, ┃ふ
|
||
# げ┃ sed do eiusmod tempor. ┃が
|
||
# ┣━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━┫
|
||
# ┗━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━┛
|
||
|
||
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 ("[38;5;44m┃[39m[38;5;44mふ[39m",
|
||
"[38;5;43m┃[39m[38;5;49mが[39m")
|
||
w ("[38;5;63mほ[39m[38;5;63m┃[39m",
|
||
"[38;5;63mげ[39m[38;5;69m┃[39m")
|
||
se ("[38;5;49m╋[39m[38;5;48m━[39m[38;5;48m┫[39m",
|
||
"[38;5;48m┻[39m[38;5;48m━[39m[38;5;48m┛[39m")
|
||
s ("[38;5;49m━[39m", "[38;5;48m━[39m")
|
||
sw ("┣━╋", "┗━┻")
|
||
}
|
||
|
||
elastic (
|
||
nnw, nne, e, w, s
|
||
)
|
||
|
||
padding {
|
||
horiz 1
|
||
}
|
||
|
||
END designA
|