diff --git a/extensions/theme-defaults/themes/hc_light.json b/extensions/theme-defaults/themes/hc_light.json index 9b52c364a4b..db024fcb644 100644 --- a/extensions/theme-defaults/themes/hc_light.json +++ b/extensions/theme-defaults/themes/hc_light.json @@ -1,44 +1,6 @@ { "$schema": "vscode://schemas/color-theme", "name": "Light High Contrast", - "colors": { - "debugToolBar.border": "#292929", - "debugToolBar.background": "#ffffff", - "debugConsole.errorForeground": "#a1260d", - "debugConsole.infoForeground": "#1a85ff", - "debugConsole.sourceForeground": "#616161", - "debugConsole.warningForeground": "#bf8803", - "debugConsoleInputIcon.foreground": "#616161", - "debugExceptionWidget.background": "#f1dfde", - "debugExceptionWidget.border": "#a31515", - "debugIcon.breakpointCurrentStackframeForeground": "#be8700", - "debugIcon.breakpointDisabledForeground": "#848484", - "debugIcon.breakpointForeground": "#e51400", - "debugIcon.breakpointStackframeForeground": "#89d185", - "debugIcon.breakpointUnverifiedForeground": "#848484", - "debugIcon.continueForeground": "#0F4A85", - "debugIcon.disconnectForeground": "#a1260d", - "debugIcon.pauseForeground": "#0F4A85", - "debugIcon.restartForeground": "#388a34", - "debugIcon.startForeground": "#388a34", - "debugIcon.stepBackForeground": "#0F4A85", - "debugIcon.stepIntoForeground": "#0F4A85", - "debugIcon.stepOutForeground": "#0F4A85", - "debugIcon.stepOverForeground": "#0F4A85", - "debugIcon.stopForeground": "#a1260d", - "debugTokenExpression.boolean": "#0000ff", - "debugTokenExpression.error": "#e51400", - "debugTokenExpression.name": "#9b46b0", - "debugTokenExpression.number": "#098658", - "debugTokenExpression.string": "#a31515", - "debugTokenExpression.value": "#6c6c6ccc", - - "debugView.exceptionLabelBackground": "#a31515", - "debugView.exceptionLabelForeground": "#ffffff", - "debugView.stateLabelBackground": "#88888844", - "debugView.stateLabelForeground": "#616161", - "debugView.valueChangedHighlight": "#569cd6", - }, "tokenColors": [ { "scope": ["meta.embedded", "source.groovy.embedded"], diff --git a/src/vs/workbench/contrib/debug/browser/debugColors.ts b/src/vs/workbench/contrib/debug/browser/debugColors.ts index 896fb30dc6d..d77fb1faf41 100644 --- a/src/vs/workbench/contrib/debug/browser/debugColors.ts +++ b/src/vs/workbench/contrib/debug/browser/debugColors.ts @@ -13,38 +13,41 @@ import { isHighContrast } from 'vs/platform/theme/common/theme'; export const debugToolBarBackground = registerColor('debugToolBar.background', { dark: '#333333', light: '#F3F3F3', - hcDark: '#000000' + hcDark: '#000000', + hcLight: '#FFFFFF' }, localize('debugToolBarBackground', "Debug toolbar background color.")); export const debugToolBarBorder = registerColor('debugToolBar.border', { dark: null, light: null, - hcDark: null + hcDark: null, + hcLight: null }, localize('debugToolBarBorder', "Debug toolbar border color.")); export const debugIconStartForeground = registerColor('debugIcon.startForeground', { dark: '#89D185', light: '#388A34', - hcDark: '#89D185' + hcDark: '#89D185', + hcLight: '#388A34' }, localize('debugIcon.startForeground', "Debug toolbar icon for start debugging.")); export function registerColors() { const debugTokenExpressionName = registerColor('debugTokenExpression.name', { dark: '#c586c0', light: '#9b46b0', hcDark: foreground, hcLight: foreground }, 'Foreground color for the token names shown in the debug views (ie. the Variables or Watch view).'); const debugTokenExpressionValue = registerColor('debugTokenExpression.value', { dark: '#cccccc99', light: '#6c6c6ccc', hcDark: foreground, hcLight: foreground }, 'Foreground color for the token values shown in the debug views (ie. the Variables or Watch view).'); - const debugTokenExpressionString = registerColor('debugTokenExpression.string', { dark: '#ce9178', light: '#a31515', hcDark: '#f48771' }, 'Foreground color for strings in the debug views (ie. the Variables or Watch view).'); - const debugTokenExpressionBoolean = registerColor('debugTokenExpression.boolean', { dark: '#4e94ce', light: '#0000ff', hcDark: '#75bdfe' }, 'Foreground color for booleans in the debug views (ie. the Variables or Watch view).'); - const debugTokenExpressionNumber = registerColor('debugTokenExpression.number', { dark: '#b5cea8', light: '#098658', hcDark: '#89d185' }, 'Foreground color for numbers in the debug views (ie. the Variables or Watch view).'); - const debugTokenExpressionError = registerColor('debugTokenExpression.error', { dark: '#f48771', light: '#e51400', hcDark: '#f48771' }, 'Foreground color for expression errors in the debug views (ie. the Variables or Watch view) and for error logs shown in the debug console.'); + const debugTokenExpressionString = registerColor('debugTokenExpression.string', { dark: '#ce9178', light: '#a31515', hcDark: '#f48771', hcLight: '#a31515' }, 'Foreground color for strings in the debug views (ie. the Variables or Watch view).'); + const debugTokenExpressionBoolean = registerColor('debugTokenExpression.boolean', { dark: '#4e94ce', light: '#0000ff', hcDark: '#75bdfe', hcLight: '#0000ff' }, 'Foreground color for booleans in the debug views (ie. the Variables or Watch view).'); + const debugTokenExpressionNumber = registerColor('debugTokenExpression.number', { dark: '#b5cea8', light: '#098658', hcDark: '#89d185', hcLight: '#098658' }, 'Foreground color for numbers in the debug views (ie. the Variables or Watch view).'); + const debugTokenExpressionError = registerColor('debugTokenExpression.error', { dark: '#f48771', light: '#e51400', hcDark: '#f48771', hcLight: '#e51400' }, 'Foreground color for expression errors in the debug views (ie. the Variables or Watch view) and for error logs shown in the debug console.'); const debugViewExceptionLabelForeground = registerColor('debugView.exceptionLabelForeground', { dark: foreground, light: '#FFF', hcDark: foreground, hcLight: foreground }, 'Foreground color for a label shown in the CALL STACK view when the debugger breaks on an exception.'); const debugViewExceptionLabelBackground = registerColor('debugView.exceptionLabelBackground', { dark: '#6C2022', light: '#A31515', hcDark: '#6C2022' }, 'Background color for a label shown in the CALL STACK view when the debugger breaks on an exception.'); const debugViewStateLabelForeground = registerColor('debugView.stateLabelForeground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, 'Foreground color for a label in the CALL STACK view showing the current session\'s or thread\'s state.'); - const debugViewStateLabelBackground = registerColor('debugView.stateLabelBackground', { dark: '#88888844', light: '#88888844', hcDark: '#88888844' }, 'Background color for a label in the CALL STACK view showing the current session\'s or thread\'s state.'); - const debugViewValueChangedHighlight = registerColor('debugView.valueChangedHighlight', { dark: '#569CD6', light: '#569CD6', hcDark: '#569CD6' }, 'Color used to highlight value changes in the debug views (ie. in the Variables view).'); + const debugViewStateLabelBackground = registerColor('debugView.stateLabelBackground', { dark: '#88888844', light: '#88888844', hcDark: '#88888844', hcLight: '#88888844' }, 'Background color for a label in the CALL STACK view showing the current session\'s or thread\'s state.'); + const debugViewValueChangedHighlight = registerColor('debugView.valueChangedHighlight', { dark: '#569CD6', light: '#569CD6', hcDark: '#569CD6', hcLight: '#569CD6' }, 'Color used to highlight value changes in the debug views (ie. in the Variables view).'); const debugConsoleInfoForeground = registerColor('debugConsole.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: foreground, hcLight: foreground }, 'Foreground color for info messages in debug REPL console.'); - const debugConsoleWarningForeground = registerColor('debugConsole.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: '#008000' }, 'Foreground color for warning messages in debug REPL console.'); + const debugConsoleWarningForeground = registerColor('debugConsole.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: '#008000', hcLight: editorWarningForeground }, 'Foreground color for warning messages in debug REPL console.'); const debugConsoleErrorForeground = registerColor('debugConsole.errorForeground', { dark: errorForeground, light: errorForeground, hcDark: errorForeground, hcLight: errorForeground }, 'Foreground color for error messages in debug REPL console.'); const debugConsoleSourceForeground = registerColor('debugConsole.sourceForeground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, 'Foreground color for source filenames in debug REPL console.'); const debugConsoleInputIconForeground = registerColor('debugConsoleInputIcon.foreground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, 'Foreground color for debug console input marker icon.'); @@ -52,55 +55,64 @@ export function registerColors() { const debugIconPauseForeground = registerColor('debugIcon.pauseForeground', { dark: '#75BEFF', light: '#007ACC', - hcDark: '#75BEFF' + hcDark: '#75BEFF', + hcLight: '#007ACC' }, localize('debugIcon.pauseForeground', "Debug toolbar icon for pause.")); const debugIconStopForeground = registerColor('debugIcon.stopForeground', { dark: '#F48771', light: '#A1260D', - hcDark: '#F48771' + hcDark: '#F48771', + hcLight: '#A1260D' }, localize('debugIcon.stopForeground', "Debug toolbar icon for stop.")); const debugIconDisconnectForeground = registerColor('debugIcon.disconnectForeground', { dark: '#F48771', light: '#A1260D', - hcDark: '#F48771' + hcDark: '#F48771', + hcLight: '#A1260D' }, localize('debugIcon.disconnectForeground', "Debug toolbar icon for disconnect.")); const debugIconRestartForeground = registerColor('debugIcon.restartForeground', { dark: '#89D185', light: '#388A34', - hcDark: '#89D185' + hcDark: '#89D185', + hcLight: '#388A34' }, localize('debugIcon.restartForeground', "Debug toolbar icon for restart.")); const debugIconStepOverForeground = registerColor('debugIcon.stepOverForeground', { dark: '#75BEFF', light: '#007ACC', - hcDark: '#75BEFF' + hcDark: '#75BEFF', + hcLight: '#007ACC' }, localize('debugIcon.stepOverForeground', "Debug toolbar icon for step over.")); const debugIconStepIntoForeground = registerColor('debugIcon.stepIntoForeground', { dark: '#75BEFF', light: '#007ACC', - hcDark: '#75BEFF' + hcDark: '#75BEFF', + hcLight: '#007ACC' }, localize('debugIcon.stepIntoForeground', "Debug toolbar icon for step into.")); const debugIconStepOutForeground = registerColor('debugIcon.stepOutForeground', { dark: '#75BEFF', light: '#007ACC', - hcDark: '#75BEFF' + hcDark: '#75BEFF', + hcLight: '#007ACC' }, localize('debugIcon.stepOutForeground', "Debug toolbar icon for step over.")); const debugIconContinueForeground = registerColor('debugIcon.continueForeground', { dark: '#75BEFF', light: '#007ACC', - hcDark: '#75BEFF' + hcDark: '#75BEFF', + hcLight: '#007ACC' }, localize('debugIcon.continueForeground', "Debug toolbar icon for continue.")); const debugIconStepBackForeground = registerColor('debugIcon.stepBackForeground', { dark: '#75BEFF', light: '#007ACC', - hcDark: '#75BEFF' + hcDark: '#75BEFF', + hcLight: '#007ACC' }, localize('debugIcon.stepBackForeground', "Debug toolbar icon for step back.")); registerThemingParticipant((theme, collector) => {