From f2bf6202061228584663eebb2fad95f9f494f3e6 Mon Sep 17 00:00:00 2001 From: David Hill Date: Tue, 27 Jan 2026 17:16:01 +0000 Subject: fix(app): highlight selected change Track clicked file in the Changes tree and apply selection styling to the matching review diff. --- packages/ui/src/components/button.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'packages/ui/src/components/button.css') 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); -- cgit v1.2.3