Skip to content

Commit 809b259

Browse files
authored
Make background cell color peekview (microsoft#5378)
1 parent fb914e2 commit 809b259

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

news/2 Fixes/5236.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make background cell color useable in all themes.

src/client/datascience/editor-integration/decorator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export class Decorator implements IExtensionActivationService, IDisposable {
2222
@inject(IConfigurationService) private configuration: IConfigurationService)
2323
{
2424
this.activeCellType = this.documentManager.createTextEditorDecorationType({
25-
backgroundColor: new vscode.ThemeColor('sideBarSectionHeader.background'),
25+
backgroundColor: new vscode.ThemeColor('peekViewEditor.background'),
2626
isWholeLine: true
2727
});
2828
this.cellSeparatorType = this.documentManager.createTextEditorDecorationType({
29-
borderColor: new vscode.ThemeColor('sideBarSectionHeader.background'),
29+
borderColor: new vscode.ThemeColor('peekViewEditor.background'),
3030
borderWidth: '1px 0px 0px 0px',
3131
borderStyle: 'solid',
3232
isWholeLine: true

0 commit comments

Comments
 (0)