Adapter css for #165169 (#167030)

* adapter css variable for callStackEditorContribution

* adapter css variable for extensionEditor

* 💄

* adapter css variable for extensionActions

* Revert "adapter css variable for extensionActions"

This reverts commit 4cbac93e63.

* Revert "💄"

This reverts commit 90a33f75bc.

* Revert "adapter css variable for extensionEditor"

This reverts commit 3f00fd9f63.
This commit is contained in:
Han 2023-01-12 09:48:49 -08:00 committed by GitHub
parent 1b8ec09a7c
commit e3f31b30c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 12 deletions

View file

@ -14,7 +14,7 @@ import { IModelDecorationOptions, IModelDeltaDecoration, OverviewRulerLane, Trac
import { localize } from 'vs/nls';
import { ILogService } from 'vs/platform/log/common/log';
import { registerColor } from 'vs/platform/theme/common/colorRegistry';
import { registerThemingParticipant, themeColorFromId, ThemeIcon } from 'vs/platform/theme/common/themeService';
import { themeColorFromId, ThemeIcon } from 'vs/platform/theme/common/themeService';
import { IUriIdentityService } from 'vs/platform/uriIdentity/common/uriIdentity';
import { debugStackframe, debugStackframeFocused } from 'vs/workbench/contrib/debug/browser/debugIcons';
import { IDebugService, IStackFrame } from 'vs/workbench/contrib/debug/common/debug';
@ -177,14 +177,3 @@ export class CallStackEditorContribution extends Disposable implements IEditorCo
}
}
registerThemingParticipant((theme, collector) => {
const topStackFrame = theme.getColor(topStackFrameColor);
if (topStackFrame) {
collector.addRule(`.monaco-editor .view-overlays .debug-top-stack-frame-line { background: ${topStackFrame}; }`);
}
const focusedStackFrame = theme.getColor(focusedStackFrameColor);
if (focusedStackFrame) {
collector.addRule(`.monaco-editor .view-overlays .debug-focused-stack-frame-line { background: ${focusedStackFrame}; }`);
}
});

View file

@ -0,0 +1,12 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-editor .view-overlays .debug-top-stack-frame-line {
background-color: var(--vscode-editor-stackFrameHighlightBackground);
}
.monaco-editor .view-overlays .debug-focused-stack-frame-line {
background-color: var(--vscode-editor-focusedStackFrameHighlightBackground);
}