do more bar things

This commit is contained in:
Schrottkatze 2024-09-02 19:07:19 +02:00
parent ac3df09b6b
commit 6aab08ec9b
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
6 changed files with 53 additions and 9 deletions

View file

@ -1,6 +1,6 @@
(defwidget flagEl [color]
(defwidget flagEl [color ?flipped]
(box
:style "border-bottom: 3px solid ${color}"
:style "border-${flipped ? "top" : "bottom"}: 3px solid ${color}"
:halign "fill"
)
)