summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-02-28 14:03:13 +0100
committerVolpeon <git@volpeon.ink>2022-02-28 14:03:13 +0100
commit98c7f824e80eeeb4344d3c528d54f639ec4158ce (patch)
tree5d75b84c9cee2b406ab50a69527fc8a8f74de418 /tpl/objects
parentFix (diff)
downloadiro-design-98c7f824e80eeeb4344d3c528d54f639ec4158ce.tar.gz
iro-design-98c7f824e80eeeb4344d3c528d54f639ec4158ce.tar.bz2
iro-design-98c7f824e80eeeb4344d3c528d54f639ec4158ce.zip
Added badge
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/badge.pug11
1 files changed, 11 insertions, 0 deletions
diff --git a/tpl/objects/badge.pug b/tpl/objects/badge.pug
new file mode 100644
index 0000000..e0d8c44
--- /dev/null
+++ b/tpl/objects/badge.pug
@@ -0,0 +1,11 @@
1mixin badge(variant)
2 -
3 let classes = {
4 'o-badge': true,
5 }
6 if (variant) {
7 classes['o-badge--' + variant] = true
8 }
9
10 div(class=classes)
11 block