mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
* adapter css variable for callStackEditorContribution * adapter css variable for extensionEditor * 💄 * adapter css variable for extensionActions * Revert "adapter css variable for extensionActions" This reverts commit4cbac93e63. * Revert "💄" This reverts commit90a33f75bc. * Revert "adapter css variable for extensionEditor" This reverts commit3f00fd9f63.
This commit is contained in:
@@ -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}; }`);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user