summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/button.css
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2026-01-27 17:16:01 +0000
committerDavid Hill <[email protected]>2026-01-27 20:22:05 +0000
commitf2bf6202061228584663eebb2fad95f9f494f3e6 (patch)
tree112a242b62c12dd21e2ae064a2eb05fe59bc8702 /packages/ui/src/components/button.css
parent00c7729658ffe705faae3bcca21b6b416e9f7fbe (diff)
downloadopencode-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.css9
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);