diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/objects/action-button.pug | 1 | ||||
-rw-r--r-- | tpl/objects/button.pug | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tpl/objects/action-button.pug b/tpl/objects/action-button.pug index a695bee..d752fa6 100644 --- a/tpl/objects/action-button.pug +++ b/tpl/objects/action-button.pug | |||
@@ -7,7 +7,6 @@ mixin action-button | |||
7 | 'o-action-button--block': attributes.block, | 7 | 'o-action-button--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--round': attributes.round, |
10 | 'is-disabled': attributes.disabled, | ||
11 | 'is-selected': attributes.selected | 10 | 'is-selected': attributes.selected |
12 | } | 11 | } |
13 | if (attributes.class) { | 12 | if (attributes.class) { |
diff --git a/tpl/objects/button.pug b/tpl/objects/button.pug index 3b10ea0..8cae2f1 100644 --- a/tpl/objects/button.pug +++ b/tpl/objects/button.pug | |||
@@ -3,8 +3,7 @@ mixin a-button | |||
3 | let classes = { | 3 | let classes = { |
4 | 'o-button': true, | 4 | 'o-button': true, |
5 | 'o-button--block': attributes.block, | 5 | 'o-button--block': attributes.block, |
6 | 'o-button--outline': attributes.outline, | 6 | 'o-button--outline': attributes.outline |
7 | 'is-disabled': attributes.disabled | ||
8 | } | 7 | } |
9 | if (attributes.variant) { | 8 | if (attributes.variant) { |
10 | classes['o-button--' + attributes.variant] = true | 9 | classes['o-button--' + attributes.variant] = true |