summaryrefslogtreecommitdiffstats
path: root/tpl/objects/button.pug
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-02-14 08:43:12 +0100
committerVolpeon <git@volpeon.ink>2022-02-14 08:43:12 +0100
commit426bea2ee0a445708b167e06542000935dfe5cef (patch)
treeeba4c700bc0c3c1f0c9360f7b75fe096149ee2fc /tpl/objects/button.pug
parentAdded monospace font (diff)
downloadiro-design-426bea2ee0a445708b167e06542000935dfe5cef.tar.gz
iro-design-426bea2ee0a445708b167e06542000935dfe5cef.tar.bz2
iro-design-426bea2ee0a445708b167e06542000935dfe5cef.zip
Simplified buttons
Diffstat (limited to 'tpl/objects/button.pug')
-rw-r--r--tpl/objects/button.pug3
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