mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 12:10:45 +03:00
fix(tui): color the selected file in the diff tree (#57227)
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user