Skip to content

Commit a5f656a

Browse files
committed
fix(webview-ui): use theme foreground for +/- indicators in DiffView to support light/dark themes
1 parent 7fa8d19 commit a5f656a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/common/DiffView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ const DiffView = memo(({ source, filePath }: DiffViewProps) => {
308308
paddingLeft: "4px",
309309
paddingRight: "4px",
310310
backgroundColor: gutterBg,
311-
color: "#ffffff",
311+
color: "var(--vscode-editor-foreground)",
312312
fontFamily: "var(--vscode-editor-font-family)",
313313
}}>
314314
{sign}

0 commit comments

Comments
 (0)