diff options
| author | Adam <[email protected]> | 2026-01-15 07:25:03 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-01-15 07:29:13 -0600 |
| commit | 076dfb3752f8dfa889fe1b37b6a6e227b13f9f27 (patch) | |
| tree | 3659c9491b16d6fb90297134d3e66e6bbf3aeccb /packages/ui/src/components/icon-button.css | |
| parent | 60aa0cb96e81ca0dcf381af0aa6fa922a4e194e2 (diff) | |
| download | opencode-076dfb3752f8dfa889fe1b37b6a6e227b13f9f27.tar.gz opencode-076dfb3752f8dfa889fe1b37b6a6e227b13f9f27.zip | |
chore: cleanup
Diffstat (limited to 'packages/ui/src/components/icon-button.css')
| -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; } |
