Skip to content

Commit cf6f88f

Browse files
author
Miguel Solorio
committed
Update default color for cell editor bg (Fixes microsoft#133699)
1 parent 9f8d800 commit cf6f88f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import { ILayoutService } from 'vs/platform/layout/browser/layoutService';
3535
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
3636
import { contrastBorder, diffInserted, diffRemoved, editorBackground, errorForeground, focusBorder, foreground, iconForeground, listInactiveSelectionBackground, registerColor, scrollbarSliderActiveBackground, scrollbarSliderBackground, scrollbarSliderHoverBackground, textBlockQuoteBackground, textBlockQuoteBorder, textLinkActiveForeground, textLinkForeground, textPreformatForeground, toolbarHoverBackground, transparent } from 'vs/platform/theme/common/colorRegistry';
3737
import { IThemeService, registerThemingParticipant } from 'vs/platform/theme/common/themeService';
38-
import { PANEL_BORDER } from 'vs/workbench/common/theme';
38+
import { PANEL_BORDER, SIDE_BAR_BACKGROUND } from 'vs/workbench/common/theme';
3939
import { debugIconStartForeground } from 'vs/workbench/contrib/debug/browser/debugColors';
4040
import { CellEditState, CellFocusMode, IActiveNotebookEditorDelegate, ICellOutputViewModel, ICellViewModel, ICommonCellInfo, IDisplayOutputLayoutUpdateRequest, IFocusNotebookCellOptions, IGenericCellViewModel, IInsetRenderOutput, INotebookCellOutputLayoutInfo, INotebookDeltaDecoration, INotebookEditorContribution, INotebookEditorContributionDescription, INotebookEditorCreationOptions, INotebookEditorDelegate, INotebookEditorMouseEvent, INotebookEditorOptions, NotebookCellStateChangedEvent, NotebookLayoutChangedEvent, NotebookLayoutInfo, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_OUTPUT_FOCUSED, RenderOutputType } from 'vs/workbench/contrib/notebook/browser/notebookBrowser';
4141
import { NotebookDecorationCSSRules, NotebookRefCountedStyleSheet } from 'vs/workbench/contrib/notebook/browser/viewParts/notebookEditorDecorations';
@@ -2713,8 +2713,8 @@ export const cellSymbolHighlight = registerColor('notebook.symbolHighlightBackgr
27132713
}, nls.localize('notebook.symbolHighlightBackground', "Background color of highlighted cell"));
27142714

27152715
export const cellEditorBackground = registerColor('notebook.cellEditorBackground', {
2716-
light: transparent(foreground, 0.04),
2717-
dark: transparent(foreground, 0.04),
2716+
light: SIDE_BAR_BACKGROUND,
2717+
dark: SIDE_BAR_BACKGROUND,
27182718
hc: null
27192719
}, nls.localize('notebook.cellEditorBackground', "Cell editor background color."));
27202720

0 commit comments

Comments
 (0)