summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
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