From c9f06d862f7f294abc1cda3dd76a8adc8b62c5ff Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Thu, 30 Mar 2017 12:21:08 +0200 Subject: [PATCH] [theme] rename editorPeekBorders -> editorPeekBorder (for #23464) --- extensions/theme-abyss/themes/abyss-color-theme.json | 2 +- .../contrib/referenceSearch/browser/referencesWidget.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/theme-abyss/themes/abyss-color-theme.json b/extensions/theme-abyss/themes/abyss-color-theme.json index 28a8e80ad38..2bd1f899e4b 100644 --- a/extensions/theme-abyss/themes/abyss-color-theme.json +++ b/extensions/theme-abyss/themes/abyss-color-theme.json @@ -271,7 +271,7 @@ "editorPeekResultsSelectedForeground": "#7799ee", "editorPeekEditorBackground": "#001F33", "editorPeekTitleBackground": "#060621", - "editorPeekBorders": "#7777cc", + "editorPeekBorder": "#7777cc", "editorPeekEditorMatchHighlight": "#ddbb5555", "editorLineNumbers": "#406385", diff --git a/src/vs/editor/contrib/referenceSearch/browser/referencesWidget.ts b/src/vs/editor/contrib/referenceSearch/browser/referencesWidget.ts index 5ddaa81ac19..06f7eb3877b 100644 --- a/src/vs/editor/contrib/referenceSearch/browser/referencesWidget.ts +++ b/src/vs/editor/contrib/referenceSearch/browser/referencesWidget.ts @@ -520,7 +520,7 @@ export class ReferenceWidget extends PeekViewWidget { } private _applyTheme(theme: ITheme) { - let borderColor = theme.getColor(editorPeekBorders) || Color.transparent; + let borderColor = theme.getColor(editorPeekBorder) || Color.transparent; this.style({ arrowColor: borderColor, frameColor: borderColor, @@ -778,7 +778,7 @@ export class ReferenceWidget extends PeekViewWidget { export const editorPeekTitleBackground = registerColor('editorPeekTitleBackground', { dark: '#1E1E1E', light: '#FFFFFF', hc: '#0C141F' }, nls.localize('editorPeekTitleBackground', 'Editor peek view title area background')); export const editorPeekTitle = registerColor('editorPeekTitle', { dark: '#FFFFFF', light: '#333333', hc: '#FFFFFF' }, nls.localize('editorPeekTitle', 'Editor peek view title color')); export const editorPeekTitleInfo = registerColor('editorPeekTitleInfo', { dark: '#ccccccb3', light: '#6c6c6cb3', hc: '#FFFFFF99' }, nls.localize('editorPeekTitleInfo', 'Editor peek view title info color')); -export const editorPeekBorders = registerColor('editorPeekBorders', { dark: '#007acc', light: '#007acc', hc: '#6FC3DF' }, nls.localize('editorPeekBorders', 'Editor peek view borders')); +export const editorPeekBorder = registerColor('editorPeekBorder', { dark: '#007acc', light: '#007acc', hc: '#6FC3DF' }, nls.localize('editorPeekBorder', 'Editor peek view borders')); export const editorPeekResultsBackground = registerColor('editorPeekResultsBackground', { dark: '#252526', light: '#F3F3F3', hc: Color.black }, nls.localize('editorPeekResultsBackground', 'Background color of the peek view result list')); export const editorPeekResultsMatchForeground = registerColor('editorPeekResultsMatchForeground', { dark: '#bbbbbb', light: '#646465', hc: Color.white }, nls.localize('editorPeekResultsMatchForeground', 'Match entry foreground in the peek view result list'));