Skip to content

Commit

Permalink
Fixed focusble when disabled button's having incorrect styling when i…
Browse files Browse the repository at this point in the history
…n a disabled active state
  • Loading branch information
joshwooding committed Aug 19, 2024
1 parent c2972a1 commit 0650938
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-humans-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@salt-ds/core": patch
---

Fixed focusable when disabled button's having incorrect styling when in a disabled active state.
1 change: 1 addition & 0 deletions packages/core/src/button/Button.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
.saltButton-disabled,
.saltButton-disabled:active,
.saltButton-disabled:focus-visible,
.saltButton-disabled:focus-visible:active,
.saltButton-disabled:hover {
background: var(--saltButton-background-disabled, var(--button-background-disabled));
color: var(--saltButton-text-color-disabled, var(--button-text-color-disabled));
Expand Down

0 comments on commit 0650938

Please sign in to comment.