From b80654d873bcb234d2d06ef9e86fffd0c54f25c3 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Fri, 28 Apr 2017 17:59:15 +0200 Subject: [PATCH] standalone editor color id rename --- src/vs/editor/common/standalone/themes.ts | 28 ++++++++++++----------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/vs/editor/common/standalone/themes.ts b/src/vs/editor/common/standalone/themes.ts index ade2a884b76..a97a9fab1ee 100644 --- a/src/vs/editor/common/standalone/themes.ts +++ b/src/vs/editor/common/standalone/themes.ts @@ -6,6 +6,8 @@ 'use strict'; import { IStandaloneThemeData } from 'vs/editor/common/services/standaloneThemeService'; +import { editorBackground, editorForeground, editorSelectionHighlight, editorInactiveSelection } from "vs/platform/theme/common/colorRegistry"; +import { editorIndentGuides } from "vs/editor/common/view/editorColorRegistry"; /* -------------------------------- Begin vs theme -------------------------------- */ export const vs: IStandaloneThemeData = { @@ -68,11 +70,11 @@ export const vs: IStandaloneThemeData = { { token: 'predefined.sql', foreground: 'FF00FF' }, ], colors: { - editorBackground: '#FFFFFE', - editorForeground: '#000000', - editorInactiveSelection: '#E5EBF1', - editorIndentGuides: '#D3D3D3', - editorSelectionHighlight: '#ADD6FF4D' + [editorBackground]: '#FFFFFE', + [editorForeground]: '#000000', + [editorInactiveSelection]: '#E5EBF1', + [editorIndentGuides]: '#D3D3D3', + [editorSelectionHighlight]: '#ADD6FF4D' } }; /* -------------------------------- End vs theme -------------------------------- */ @@ -138,11 +140,11 @@ export const vs_dark: IStandaloneThemeData = { { token: 'predefined.sql', foreground: 'FF00FF' }, ], colors: { - editorBackground: '#1E1E1E', - editorForeground: '#D4D4D4', - editorInactiveSelection: '#3A3D41', - editorIndentGuides: '#404040', - editorSelectionHighlight: '#ADD6FF26' + [editorBackground]: '#1E1E1E', + [editorForeground]: '#D4D4D4', + [editorInactiveSelection]: '#3A3D41', + [editorIndentGuides]: '#404040', + [editorSelectionHighlight]: '#ADD6FF26' } }; /* -------------------------------- End vs-dark theme -------------------------------- */ @@ -200,9 +202,9 @@ export const hc_black: IStandaloneThemeData = { { token: 'predefined.sql', foreground: 'FF00FF' }, ], colors: { - editorBackground: '#000000', - editorForeground: '#FFFFFF', - editorIndentGuides: '#FFFFFF', + [editorBackground]: '#000000', + [editorForeground]: '#FFFFFF', + [editorIndentGuides]: '#FFFFFF', } }; /* -------------------------------- End hc-black theme -------------------------------- */ -- GitLab