We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 264c045 commit ab586b7Copy full SHA for ab586b7
1 file changed
adminforth/spa/src/afcl/Button.vue
@@ -5,12 +5,8 @@
5
class="afcl-button flex items-center justify-center gap-1 text-lightPrimaryContrast bg-lightPrimary dark:bg-darkPrimary hover:brightness-110
6
focus:ring-4 focus:outline-none focus:ring-lightPrimary focus:ring-opacity-50 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:focus:ring-darkPrimary dark:focus:ring-opacity-50"
7
:class="{
8
- 'cursor-default': props.disabled,
9
- 'opacity-50': props.disabled,
10
- 'pointer-events-none': props.disabled,
11
- 'active': props.active,
12
- 'brightness-200': props.active,
13
- 'hover:brightness-150': props.active,
+ 'cursor-default opacity-50 pointer-events-none': props.disabled,
+ 'active brightness-200 hover:brightness-150' : props.active
14
}"
15
>
16
<svg v-if="props.loader"
0 commit comments