diff options
| author | Volpeon <git@volpeon.ink> | 2023-01-21 23:23:56 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2023-01-21 23:23:56 +0100 |
| commit | 45904ff28ef9c849f5100e9c03f0577470eefb4c (patch) | |
| tree | bfa643c8eb39519fde5b6631d98724ece26d1bfa /tpl | |
| parent | Add emoji object (diff) | |
| download | iro-design-45904ff28ef9c849f5100e9c03f0577470eefb4c.tar.gz iro-design-45904ff28ef9c849f5100e9c03f0577470eefb4c.tar.bz2 iro-design-45904ff28ef9c849f5100e9c03f0577470eefb4c.zip | |
Icon nav: Re-use action button for item
Diffstat (limited to 'tpl')
| -rw-r--r-- | tpl/objects/icon-nav.pug | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/objects/icon-nav.pug b/tpl/objects/icon-nav.pug index 6f45bf6..f1c7d8a 100644 --- a/tpl/objects/icon-nav.pug +++ b/tpl/objects/icon-nav.pug | |||
| @@ -19,6 +19,9 @@ mixin icon-nav-item(icon) | |||
| 19 | - | 19 | - |
| 20 | let classes = { | 20 | let classes = { |
| 21 | 'o-icon-nav__item': true, | 21 | 'o-icon-nav__item': true, |
| 22 | 'o-action-button': true, | ||
| 23 | 'o-action-button--round': true, | ||
| 24 | 'o-action-button--quiet': true, | ||
| 22 | 'is-selected': attributes.selected, | 25 | 'is-selected': attributes.selected, |
| 23 | } | 26 | } |
| 24 | if (attributes.class) { | 27 | if (attributes.class) { |
