diff options
Diffstat (limited to 'packages/ui/src')
| -rw-r--r-- | packages/ui/src/components/icon-button.css | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/packages/ui/src/components/icon-button.css b/packages/ui/src/components/icon-button.css index f3f7e1e64..374cd3792 100644 --- a/packages/ui/src/components/icon-button.css +++ b/packages/ui/src/components/icon-button.css @@ -67,6 +67,12 @@ [data-slot="icon-svg"] { color: var(--icon-strong-base); } + + &:disabled { + background-color: var(--icon-strong-disabled); + color: var(--icon-invert-base); + cursor: not-allowed; + } } &[data-variant="ghost"] { @@ -99,6 +105,10 @@ /* color: var(--icon-selected); */ /* } */ } + &:disabled { + color: var(--icon-invert-base); + cursor: not-allowed; + } } &[data-size="normal"] { @@ -129,12 +139,6 @@ letter-spacing: var(--letter-spacing-normal); } - &:disabled { - background-color: var(--icon-strong-disabled); - color: var(--icon-invert-base); - cursor: not-allowed; - } - &:focus { outline: none; } |
