summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/action-button.pug6
1 files changed, 5 insertions, 1 deletions
diff --git a/tpl/objects/action-button.pug b/tpl/objects/action-button.pug
index c0d7582..976a646 100644
--- a/tpl/objects/action-button.pug
+++ b/tpl/objects/action-button.pug
@@ -6,9 +6,13 @@ mixin action-button
6 'o-action-button': true, 6 'o-action-button': true,
7 'u-d-block': attributes.block, 7 'u-d-block': attributes.block,
8 'o-action-button--quiet': attributes.quiet, 8 'o-action-button--quiet': attributes.quiet,
9 'o-action-button--round': attributes.round, 9 'o-action-button--pill': attributes.pill,
10 'o-action-button--icon': !!attributes.icon && !block,
10 'is-selected': attributes.selected 11 'is-selected': attributes.selected
11 } 12 }
13 if (attributes.size) {
14 classes['o-action-button--' + attributes.size] = true
15 }
12 if (attributes.class) { 16 if (attributes.class) {
13 classes[attributes.class] = true; 17 classes[attributes.class] = true;
14 } 18 }