summaryrefslogtreecommitdiffstats
path: root/tpl/objects/badge.pug
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-07-05 07:21:31 +0200
committerVolpeon <git@volpeon.ink>2024-07-05 07:21:31 +0200
commit3e2b42ee926aafcdf1d77e63b0f86565f4ec51b2 (patch)
treec1f7ae78734280e5ae5740ce948f961f1cf08ce5 /tpl/objects/badge.pug
parentBetter badge (diff)
downloadiro-design-3e2b42ee926aafcdf1d77e63b0f86565f4ec51b2.tar.gz
iro-design-3e2b42ee926aafcdf1d77e63b0f86565f4ec51b2.tar.bz2
iro-design-3e2b42ee926aafcdf1d77e63b0f86565f4ec51b2.zip
Update button
Diffstat (limited to 'tpl/objects/badge.pug')
-rw-r--r--tpl/objects/badge.pug16
1 files changed, 12 insertions, 4 deletions
diff --git a/tpl/objects/badge.pug b/tpl/objects/badge.pug
index c91e74f..48e4029 100644
--- a/tpl/objects/badge.pug
+++ b/tpl/objects/badge.pug
@@ -18,12 +18,20 @@ mixin badge(variant)
18 if attributes.icon 18 if attributes.icon
19 +icon(attributes.icon) 19 +icon(attributes.icon)
20 = ' ' 20 = ' '
21 span.o-badge__label 21 if block
22 block 22 span.o-badge__label
23 block
24 if attributes.postIcon
25 = ' '
26 +icon(attributes.postIcon)
23 else 27 else
24 span(class=classes) 28 span(class=classes)
25 if attributes.icon 29 if attributes.icon
26 +icon(attributes.icon) 30 +icon(attributes.icon)
27 = ' ' 31 = ' '
28 span.o-badge__label 32 if block
29 block 33 span.o-badge__label
34 block
35 if attributes.postIcon
36 = ' '
37 +icon(attributes.postIcon)