mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 02:14:06 +00:00
theming - remove panel.background as we currently do not support it end to end
This commit is contained in:
parent
a0ba783606
commit
3c1f7878b2
|
@ -375,7 +375,6 @@
|
|||
// "activityBar.dropBackground": "",
|
||||
|
||||
// Workbench: Panel
|
||||
// "panel.background": "",
|
||||
"panel.border": "#2b2b4a",
|
||||
// "panelTitle.activeBorder": "",
|
||||
// "panelTitle.activeForeground": "",
|
||||
|
|
|
@ -465,7 +465,6 @@
|
|||
"editorWhitespace.foreground": "#AAAAAA",
|
||||
"editor.lineHighlightBackground": "#E4F6D4",
|
||||
"editor.selectionBackground": "#C9D0D9",
|
||||
"panel.background": "#F5F5F5",
|
||||
"sideBar.background": "#F2F2F2",
|
||||
"sideBarSectionHeader.background": "#ede8ef",
|
||||
"editorLineNumber.foreground": "#9DA39A",
|
||||
|
|
|
@ -419,7 +419,6 @@
|
|||
// "activityBarBadge.foreground": "",
|
||||
|
||||
// Workbench: Panel
|
||||
// "panel.background": "",
|
||||
"panel.border": "#2b2b4a",
|
||||
// "panelTitle.activeBorder": "",
|
||||
// "panelTitle.activeForeground": "",
|
||||
|
|
|
@ -419,7 +419,6 @@
|
|||
// "activityBarBadge.foreground": "",
|
||||
|
||||
// Workbench: Panel
|
||||
// "panel.background": "",
|
||||
"panel.border": "#DDD6C1",
|
||||
// "panelTitle.activeBorder": "",
|
||||
// "panelTitle.activeForeground": "",
|
||||
|
|
|
@ -25,8 +25,8 @@ import { IInstantiationService } from 'vs/platform/instantiation/common/instanti
|
|||
import { ActionsOrientation, ActionBar } from 'vs/base/browser/ui/actionbar/actionbar';
|
||||
import { ClosePanelAction, PanelAction, ToggleMaximizedPanelAction } from 'vs/workbench/browser/parts/panel/panelActions';
|
||||
import { IThemeService, registerThemingParticipant, ITheme, ICssStyleCollector } from 'vs/platform/theme/common/themeService';
|
||||
import { PANEL_BACKGROUND, PANEL_BORDER, PANEL_ACTIVE_TITLE_FOREGROUND, PANEL_INACTIVE_TITLE_FOREGROUND, PANEL_ACTIVE_TITLE_BORDER } from 'vs/workbench/common/theme';
|
||||
import { activeContrastBorder, focusBorder, contrastBorder } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { PANEL_BORDER, PANEL_ACTIVE_TITLE_FOREGROUND, PANEL_INACTIVE_TITLE_FOREGROUND, PANEL_ACTIVE_TITLE_BORDER } from 'vs/workbench/common/theme';
|
||||
import { activeContrastBorder, focusBorder, contrastBorder, editorBackground } from 'vs/platform/theme/common/colorRegistry';
|
||||
|
||||
export class PanelPart extends CompositePart<Panel> implements IPanelService {
|
||||
|
||||
|
@ -101,7 +101,7 @@ export class PanelPart extends CompositePart<Panel> implements IPanelService {
|
|||
super.updateStyles();
|
||||
|
||||
const container = this.getContainer();
|
||||
container.style('background-color', this.getColor(PANEL_BACKGROUND));
|
||||
container.style('background-color', this.getColor(editorBackground));
|
||||
|
||||
const title = this.getTitleArea();
|
||||
title.style('border-top-color', this.getColor(PANEL_BORDER) || this.getColor(contrastBorder));
|
||||
|
|
|
@ -84,12 +84,6 @@ export const EDITOR_DRAG_AND_DROP_BACKGROUND = registerColor('editorGroup.dropBa
|
|||
|
||||
// < --- Panels --- >
|
||||
|
||||
export const PANEL_BACKGROUND = registerColor('panel.background', {
|
||||
dark: editorBackground,
|
||||
light: editorBackground,
|
||||
hc: editorBackground
|
||||
}, nls.localize('panelBackground', "Panel background color. Panels are shown below the editor area and contain views like output and integrated terminal."));
|
||||
|
||||
export const PANEL_BORDER = registerColor('panel.border', {
|
||||
dark: Color.fromHex('#808080').transparent(0.35),
|
||||
light: Color.fromHex('#808080').transparent(0.35),
|
||||
|
|
Loading…
Reference in a new issue