summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-06-22 19:30:00 +0200
committerVolpeon <git@volpeon.ink>2024-06-22 19:30:00 +0200
commit6b0fcac695aa7a5517f6f53cec50da493acc4582 (patch)
tree05b1ec4bfd484c75f1ee82f06f674aba69ad1408 /tpl/objects
parentWIP: Refactoring (diff)
downloadiro-design-6b0fcac695aa7a5517f6f53cec50da493acc4582.tar.gz
iro-design-6b0fcac695aa7a5517f6f53cec50da493acc4582.tar.bz2
iro-design-6b0fcac695aa7a5517f6f53cec50da493acc4582.zip
Update
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/badge.pug1
-rw-r--r--tpl/objects/palette.pug3
2 files changed, 3 insertions, 1 deletions
diff --git a/tpl/objects/badge.pug b/tpl/objects/badge.pug
index 04fd8eb..500f062 100644
--- a/tpl/objects/badge.pug
+++ b/tpl/objects/badge.pug
@@ -3,6 +3,7 @@ mixin badge(variant)
3 let classes = { 3 let classes = {
4 'o-badge': true, 4 'o-badge': true,
5 'o-badge--pill': !!attributes.pill, 5 'o-badge--pill': !!attributes.pill,
6 'o-badge--quiet': !!attributes.quiet,
6 'o-menu__badge': !!attributes.menu, 7 'o-menu__badge': !!attributes.menu,
7 } 8 }
8 if (attributes.size) { 9 if (attributes.size) {
diff --git a/tpl/objects/palette.pug b/tpl/objects/palette.pug
index 77e6e9e..303265d 100644
--- a/tpl/objects/palette.pug
+++ b/tpl/objects/palette.pug
@@ -1,7 +1,8 @@
1mixin palette(palette) 1mixin palette(palette)
2 - 2 -
3 let classes = { 3 let classes = {
4 'o-palette': true, 4 'o-palette': true,
5 'o-palette--static': !!attributes.static,
5 } 6 }
6 classes['o-palette--' + palette] = true 7 classes['o-palette--' + palette] = true
7 8