diff options
Diffstat (limited to 'tpl/objects/button.pug')
| -rw-r--r-- | tpl/objects/button.pug | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
