Repository navigation
For some reason the sl-button are not activating the :enable #2049
|
can we get an aria-enable instead so that :active styles don't show when the button are disabled I try using :not(:disabled) and :enable but no luck. Sources: https://developer.mozilla.org/es/docs/Web/CSS/:disabled
.button--standard.button--primary:hover:not(.button--disabled) {
background-color: var(--sl-color-primary-500);
border-color: var(--sl-color-primary-500);
color: var(--sl-color-neutral-0);
} |
Replies: 1 comment
|
run the disabled style base on the sl-button disabled attribute
|


run the disabled style base on the sl-button disabled attribute
[&[disabled]::part(base)]:bg-purple/25