diff options
author | Volpeon <git@volpeon.ink> | 2022-02-14 08:43:12 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-14 08:43:12 +0100 |
commit | 426bea2ee0a445708b167e06542000935dfe5cef (patch) | |
tree | eba4c700bc0c3c1f0c9360f7b75fe096149ee2fc /tpl/objects | |
parent | Added monospace font (diff) | |
download | iro-design-426bea2ee0a445708b167e06542000935dfe5cef.tar.gz iro-design-426bea2ee0a445708b167e06542000935dfe5cef.tar.bz2 iro-design-426bea2ee0a445708b167e06542000935dfe5cef.zip |
Simplified buttons
Diffstat (limited to 'tpl/objects')
-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 |