This commit is contained in:
Henning Dieterichs 2023-11-07 14:59:57 +01:00 committed by Henning Dieterichs
parent 0a8c3c506e
commit 3f0f51bde0
3 changed files with 8 additions and 0 deletions

View file

@ -109,6 +109,7 @@
"--vscode-diffEditor-unchangedCodeBackground",
"--vscode-diffEditor-unchangedRegionBackground",
"--vscode-diffEditor-unchangedRegionForeground",
"--vscode-diffEditor-unchangedRegionShadow",
"--vscode-diffEditorGutter-insertedLineBackground",
"--vscode-diffEditorGutter-removedLineBackground",
"--vscode-diffEditorOverview-insertedForeground",

View file

@ -17,3 +17,9 @@ export const diffMoveBorderActive = registerColor(
{ dark: '#FFA500', light: '#FFA500', hcDark: '#FFA500', hcLight: '#FFA500', },
localize('diffEditor.moveActive.border', 'The active border color for text that got moved in the diff editor.')
);
export const diffEditorUnchangedRegionShadow = registerColor(
'diffEditor.unchangedRegionShadow',
{ dark: '#000000', light: '#737373BF', hcDark: '#000000', hcLight: '#737373BF', },
localize('diffEditor.unchangedRegionShadow', 'The color of the shadow around unchanged region widgets.')
);

View file

@ -63,6 +63,7 @@
white-space: nowrap;
height: 24px;
box-shadow: inset 0 -6px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow), inset 0 6px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow);
}
.monaco-editor .diff-hidden-lines .center span.codicon {