fix(app): highlight selected change

Track clicked file in the Changes tree and apply selection styling to the matching review diff.
This commit is contained in:
David Hill
2026-01-27 17:16:01 +00:00
parent 00c7729658
commit f2bf620206
7 changed files with 52 additions and 3 deletions

View File

@@ -240,6 +240,7 @@ export function resolveThemeVariant(variant: ThemeVariant, isDark: boolean): Res
tokens["icon-diff-add-active"] = diffAdd[isDark ? 10 : 11]
tokens["icon-diff-delete-base"] = diffDelete[isDark ? 8 : 9]
tokens["icon-diff-delete-hover"] = diffDelete[isDark ? 9 : 10]
tokens["icon-diff-modified-base"] = tokens["icon-warning-base"]
tokens["syntax-comment"] = "var(--text-weak)"
tokens["syntax-regexp"] = "var(--text-base)"