diff options
Diffstat (limited to 'tpl/objects/action-button.pug')
| -rw-r--r-- | tpl/objects/action-button.pug | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/objects/action-button.pug b/tpl/objects/action-button.pug index 976a646..c3a9b53 100644 --- a/tpl/objects/action-button.pug +++ b/tpl/objects/action-button.pug | |||
| @@ -10,6 +10,9 @@ mixin action-button | |||
| 10 | 'o-action-button--icon': !!attributes.icon && !block, | 10 | 'o-action-button--icon': !!attributes.icon && !block, |
| 11 | 'is-selected': attributes.selected | 11 | 'is-selected': attributes.selected |
| 12 | } | 12 | } |
| 13 | if (attributes.theme) { | ||
| 14 | classes['o-action-button--' + attributes.theme] = true | ||
| 15 | } | ||
| 13 | if (attributes.size) { | 16 | if (attributes.size) { |
| 14 | classes['o-action-button--' + attributes.size] = true | 17 | classes['o-action-button--' + attributes.size] = true |
| 15 | } | 18 | } |
