summaryrefslogtreecommitdiffstats
path: root/tpl/objects/button.pug
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2025-07-27 13:21:57 +0200
committerVolpeon <git@volpeon.ink>2025-07-27 13:21:57 +0200
commit3c59a39f5b6eb15b368bea1ad74e3222858c35ef (patch)
tree8cec0e01a56d7c7388d4a2e990c9b4a866705df1 /tpl/objects/button.pug
parentAdd option for explicit dark theme (diff)
downloadiro-design-3c59a39f5b6eb15b368bea1ad74e3222858c35ef.tar.gz
iro-design-3c59a39f5b6eb15b368bea1ad74e3222858c35ef.tar.bz2
iro-design-3c59a39f5b6eb15b368bea1ad74e3222858c35ef.zip
Add highlighted state to button
Diffstat (limited to 'tpl/objects/button.pug')
-rw-r--r--tpl/objects/button.pug1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/objects/button.pug b/tpl/objects/button.pug
index c356bfe..3b5de2b 100644
--- a/tpl/objects/button.pug
+++ b/tpl/objects/button.pug
@@ -11,6 +11,7 @@ mixin button
11 'o-button--badge': attributes.badge, 11 'o-button--badge': attributes.badge,
12 'o-button--icon': !!attributes.icon && !block, 12 'o-button--icon': !!attributes.icon && !block,
13 'is-selected': attributes.selected, 13 'is-selected': attributes.selected,
14 'is-highlighted': attributes.highlighted,
14 } 15 }
15 if (attributes.theme) { 16 if (attributes.theme) {
16 classes['o-button--' + attributes.theme] = true 17 classes['o-button--' + attributes.theme] = true