From 8f7abd2252d0d773ca202cf2c190b47d439f045d Mon Sep 17 00:00:00 2001 From: David Schaller Date: Tue, 7 May 2024 20:59:24 +0200 Subject: [PATCH] vscode: improve text contrast for diffs and merges (#358) --- modules/vscode/template.mustache | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/modules/vscode/template.mustache b/modules/vscode/template.mustache index 8ccd891..d10b7b2 100644 --- a/modules/vscode/template.mustache +++ b/modules/vscode/template.mustache @@ -11,7 +11,7 @@ "widget.border": "#{{base02-hex}}", "widget.shadow": "#00000000", "selection.background": "#{{base02-hex}}", - "descriptionForeground": "#{{base03-hex}}", + "descriptionForeground": "#{{base05-hex}}99", "errorForeground": "#{{base08-hex}}", "icon.foreground": "#{{base05-hex}}", "sash.hoverBorder": null, @@ -312,18 +312,18 @@ "editorCommentsWidget.rangeBackground": null, "editorCommentsWidget.rangeActiveBackground": null, "editorCommentsWidget.replyInputBackground": null, - "diffEditor.insertedTextBackground": "#{{base0B-hex}}60", + "diffEditor.insertedTextBackground": "#{{base0B-hex}}4c", "diffEditor.insertedTextBorder": null, - "diffEditor.removedTextBackground": "#{{base08-hex}}60", + "diffEditor.removedTextBackground": "#{{base08-hex}}4c", "diffEditor.removedTextBorder": null, "diffEditor.border": "#{{base02-hex}}", "diffEditor.diagonalFill": "#{{base02-hex}}", - "diffEditor.insertedLineBackground": "#{{base0B-hex}}30", - "diffEditor.removedLineBackground": "#{{base08-hex}}30", - "diffEditorGutter.insertedLineBackground": "#{{base0B-hex}}30", - "diffEditorGutter.removedLineBackground": "#{{base08-hex}}30", - "diffEditorOverview.insertedForeground": "#{{base0B-hex}}60", - "diffEditorOverview.removedForeground": "#{{base08-hex}}60", + "diffEditor.insertedLineBackground": "#{{base0B-hex}}18", + "diffEditor.removedLineBackground": "#{{base08-hex}}18", + "diffEditorGutter.insertedLineBackground": "#{{base0B-hex}}99", + "diffEditorGutter.removedLineBackground": "#{{base08-hex}}99", + "diffEditorOverview.insertedForeground": "#{{base0B-hex}}99", + "diffEditorOverview.removedForeground": "#{{base08-hex}}99", "diffEditor.unchangedRegionBackground": null, "diffEditor.unchangedRegionForeground": null, "diffEditor.unchangedRegionShadow": "#00000000", @@ -400,10 +400,10 @@ "peekViewTitleDescription.foreground": "#{{base03-hex}}", "peekViewTitleLabel.foreground": "#{{base05-hex}}", "peekViewEditorStickyScroll.background": null, - "merge.currentHeaderBackground": "#{{base0D-hex}}40", - "merge.currentContentBackground": "#{{base0D-hex}}40", - "merge.incomingHeaderBackground": "#{{base0B-hex}}60", - "merge.incomingContentBackground": "#{{base0B-hex}}60", + "merge.currentHeaderBackground": "#{{base0D-hex}}66", + "merge.currentContentBackground": "#{{base0D-hex}}18", + "merge.incomingHeaderBackground": "#{{base0B-hex}}66", + "merge.incomingContentBackground": "#{{base0B-hex}}18", "merge.border": null, "merge.commonContentBackground": null, "merge.commonHeaderBackground": null, @@ -1505,4 +1505,4 @@ } } ] -} \ No newline at end of file +}