fix(tui): color the selected file in the diff tree (#57227)

This commit is contained in:
DS
2026-10-19 19:56:48 -04:00
committed by GitHub
Unverified
parent abcdfda371
commit b29b08aab0
@@ -135,6 +135,7 @@ export function DiffViewerFileTree(props: DiffViewerFileTreeProps) {
}
const foreground = () => {
if (row.kind === "directory") return theme.text.muted
if (selected()) return theme.text.action.primary.selected
return reviewed() ? theme.text.muted : theme.text.base
}
const background = () => {