Port of Vscode fix for colors too close (#17146)

* default light colors list.focusHighlightForeground too close to list.activeSelectionBackground. Fixes #127597

* remove activeSelectionBackground from theme-carbon as it conflicts with vscode.

* remove dark carbon background

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
This commit is contained in:
Alex Ma
2021-09-27 14:13:21 -07:00
committed by GitHub
parent 18295813ae
commit 6b2e950f68
5 changed files with 15 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
import { editorActiveIndentGuides, editorIndentGuides } from 'vs/editor/common/view/editorColorRegistry';
import { IStandaloneThemeData } from 'vs/editor/standalone/common/standaloneThemeService';
import { editorBackground, editorForeground, editorInactiveSelection, editorSelectionHighlight, listFocusHighlightForeground } from 'vs/platform/theme/common/colorRegistry';
import { editorBackground, editorForeground, editorInactiveSelection, editorSelectionHighlight } from 'vs/platform/theme/common/colorRegistry';
/* -------------------------------- Begin vs theme -------------------------------- */
export const vs: IStandaloneThemeData = {
@@ -73,8 +73,7 @@ export const vs: IStandaloneThemeData = {
[editorInactiveSelection]: '#E5EBF1',
[editorIndentGuides]: '#D3D3D3',
[editorActiveIndentGuides]: '#939393',
[editorSelectionHighlight]: '#ADD6FF4D',
[listFocusHighlightForeground]: '#9DDDFF'
[editorSelectionHighlight]: '#ADD6FF4D'
}
};
/* -------------------------------- End vs theme -------------------------------- */