From 39c27f3c46d228a69cef288a6afe5767471bc2ad Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sun, 30 Apr 2017 13:01:50 -0700 Subject: [PATCH] Use new color keys --- src/vscodeThemeGenerator.ts | 41 +++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/src/vscodeThemeGenerator.ts b/src/vscodeThemeGenerator.ts index ca62aa9..33f4517 100644 --- a/src/vscodeThemeGenerator.ts +++ b/src/vscodeThemeGenerator.ts @@ -54,29 +54,30 @@ export class VscodeThemeGenerator implements IThemeGenerator { theme.tokenColors.push(globalSettings); // TODO: Expose details options on IColorSet - theme.colors['tabsContainerBackground'] = lighten(colorSet.base.background, 0.2); - theme.colors['inactiveTabBackground'] = lighten(colorSet.base.background, 0.4); - theme.colors['sideBarBackground'] = lighten(colorSet.base.background, 0.2); - theme.colors['panelBackground'] = lighten(colorSet.base.background, 0.2); - theme.colors['activityBarBackground'] = lighten(colorSet.base.background, 0.4); - theme.colors['activityBadgeBackground'] = colorSet.base.color1; - theme.colors['inputBoxBackground'] = lighten(colorSet.base.background, 0.6); - theme.colors['dropdownBackground'] = lighten(colorSet.base.background, 0.6); - theme.colors['statusBarBackground'] = darken(colorSet.base.background, 0.2); - theme.colors['statusBarNoFolderBackground'] = darken(colorSet.base.background, 0.2); // Don't make distinction between folder/no folder - theme.colors['statusBarDebuggingBackground'] = colorSet.base.color1; // Don't make distinction between folder/no folder - theme.colors['focusedElementOutline'] = colorSet.base.color1; + theme.colors['editor.background'] = colorSet.base.background; + theme.colors['editorGroupHeader.tabsBackground'] = lighten(colorSet.base.background, 0.2); + theme.colors['tab.inactiveBackground'] = lighten(colorSet.base.background, 0.4); + theme.colors['sideBar.background'] = lighten(colorSet.base.background, 0.2); + theme.colors['panel.background'] = lighten(colorSet.base.background, 0.2); + theme.colors['activityBar.background'] = lighten(colorSet.base.background, 0.4); + theme.colors['activityBar.badge.background'] = colorSet.base.color1; + theme.colors['input.background'] = lighten(colorSet.base.background, 0.6); + theme.colors['dropdown.background'] = lighten(colorSet.base.background, 0.6); + theme.colors['statusBar.background'] = darken(colorSet.base.background, 0.2); + theme.colors['statusBar.noFolderBackground'] = darken(colorSet.base.background, 0.2); // Don't make distinction between folder/no folder + theme.colors['statusBar.debuggingBackground'] = colorSet.base.color1; // Don't make distinction between folder/no folder + theme.colors['focusBorder'] = colorSet.base.color1; // Peek editor - theme.colors['editorPeekEditorBackground'] = darken(colorSet.base.background, 0.2); - theme.colors['editorPeekTitleBackground'] = colorSet.base.background; - theme.colors['editorPeekBorder'] = colorSet.base.color1; - theme.colors['editorPeekResultsBackground'] = lighten(colorSet.base.background, 0.2); + theme.colors['peekViewEditor.background'] = darken(colorSet.base.background, 0.2); + theme.colors['peekViewTitle.background'] = colorSet.base.background; + theme.colors['peekView.border'] = colorSet.base.color1; + theme.colors['peekViewResult.background'] = lighten(colorSet.base.background, 0.2); // Find widget - theme.colors['editorFindWidgetBackground'] = lighten(colorSet.base.background, 0.2); - theme.colors['editorFindInputBackground'] = lighten(colorSet.base.background, 0.4); - theme.colors['editorFindCheckedBorders'] = colorSet.base.color1; + // theme.colors['editorFindWidgetBackground'] = lighten(colorSet.base.background, 0.2); + // theme.colors['editorFindInputBackground'] = lighten(colorSet.base.background, 0.4); + // theme.colors['editorFindCheckedBorders'] = colorSet.base.color1; // Editor marker - theme.colors['editorMarkerNavigationBackground'] = lighten(colorSet.base.background, 0.2); + theme.colors['editorMarkerNavigation.background'] = lighten(colorSet.base.background, 0.2); return JSON.stringify(theme); }