From 426bea2ee0a445708b167e06542000935dfe5cef Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 14 Feb 2022 08:43:12 +0100 Subject: Simplified buttons --- tpl/objects/action-button.pug | 1 - tpl/objects/button.pug | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'tpl/objects') 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 'o-action-button--block': attributes.block, 'o-action-button--quiet': attributes.quiet, 'o-action-button--round': attributes.round, - 'is-disabled': attributes.disabled, 'is-selected': attributes.selected } 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 let classes = { 'o-button': true, 'o-button--block': attributes.block, - 'o-button--outline': attributes.outline, - 'is-disabled': attributes.disabled + 'o-button--outline': attributes.outline } if (attributes.variant) { classes['o-button--' + attributes.variant] = true -- cgit v1.2.3-70-g09d2