diff options
| author | Volpeon <git@volpeon.ink> | 2024-10-19 17:14:45 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2024-10-19 17:14:45 +0200 |
| commit | c41e16f6044548e27fbf8e4ef65ed3067278c80b (patch) | |
| tree | 90033bba112417a1b7fa833f6a307df56b9799dd /tpl/views/action-button.pug | |
| parent | Update (diff) | |
| download | iro-design-c41e16f6044548e27fbf8e4ef65ed3067278c80b.tar.gz iro-design-c41e16f6044548e27fbf8e4ef65ed3067278c80b.tar.bz2 iro-design-c41e16f6044548e27fbf8e4ef65ed3067278c80b.zip | |
Update
Diffstat (limited to 'tpl/views/action-button.pug')
| -rw-r--r-- | tpl/views/action-button.pug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/views/action-button.pug b/tpl/views/action-button.pug index 8fbf9ea..6fa0ce9 100644 --- a/tpl/views/action-button.pug +++ b/tpl/views/action-button.pug | |||
| @@ -90,7 +90,7 @@ mixin view-action-button | |||
| 90 | - | 90 | - |
| 91 | const bg = theme.startsWith('static-black') ? 500 : 1000; | 91 | const bg = theme.startsWith('static-black') ? 500 : 1000; |
| 92 | 92 | ||
| 93 | .c-box(style=`background-color: var(--colors--blue-static--${bg});`) | 93 | .c-box(style=`background-color: var(--static-colors--blue--${bg});`) |
| 94 | +action-button(theme=theme)= 'Idle' | 94 | +action-button(theme=theme)= 'Idle' |
| 95 | = ' ' | 95 | = ' ' |
| 96 | +action-button(theme=theme selected=true)= 'Selected' | 96 | +action-button(theme=theme selected=true)= 'Selected' |
| @@ -99,7 +99,7 @@ mixin view-action-button | |||
| 99 | = ' ' | 99 | = ' ' |
| 100 | +action-button(theme=theme selected=true disabled=true)= 'Selected + disabled' | 100 | +action-button(theme=theme selected=true disabled=true)= 'Selected + disabled' |
| 101 | 101 | ||
| 102 | .c-box(style=`background-color: var(--colors--blue-static--${bg});`) | 102 | .c-box(style=`background-color: var(--static-colors--blue--${bg});`) |
| 103 | +action-button(theme=theme quiet=true)= 'Idle' | 103 | +action-button(theme=theme quiet=true)= 'Idle' |
| 104 | = ' ' | 104 | = ' ' |
| 105 | +action-button(theme=theme quiet=true selected=true)= 'Selected' | 105 | +action-button(theme=theme quiet=true selected=true)= 'Selected' |
