diff options
| author | David Hill <[email protected]> | 2026-01-27 17:16:01 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-01-27 20:22:05 +0000 |
| commit | f2bf6202061228584663eebb2fad95f9f494f3e6 (patch) | |
| tree | 112a242b62c12dd21e2ae064a2eb05fe59bc8702 /packages/ui/src/components/button.css | |
| parent | 00c7729658ffe705faae3bcca21b6b416e9f7fbe (diff) | |
| download | opencode-f2bf6202061228584663eebb2fad95f9f494f3e6.tar.gz opencode-f2bf6202061228584663eebb2fad95f9f494f3e6.zip | |
fix(app): highlight selected change
Track clicked file in the Changes tree and apply selection styling to the matching review diff.
Diffstat (limited to 'packages/ui/src/components/button.css')
| -rw-r--r-- | packages/ui/src/components/button.css | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/ui/src/components/button.css b/packages/ui/src/components/button.css index 933c7ce5f..d9b345923 100644 --- a/packages/ui/src/components/button.css +++ b/packages/ui/src/components/button.css @@ -43,6 +43,10 @@ background-color: transparent; color: var(--text-strong); + [data-slot="icon-svg"] { + color: var(--icon-base); + } + &:hover:not(:disabled) { background-color: var(--surface-raised-base-hover); } @@ -54,8 +58,11 @@ } &:disabled { color: var(--text-weak); - opacity: 0.7; cursor: not-allowed; + + [data-slot="icon-svg"] { + color: var(--icon-disabled); + } } &[data-selected="true"]:not(:disabled) { background-color: var(--surface-raised-base-hover); |
