提交 d205f209 编写于 作者: I isidor

debug: use inline decoration to remove token colors in HC theme

fixes #28219
上级 4b7c1172
......@@ -361,12 +361,14 @@ export class DebugEditorModelManager implements IWorkbenchContribution {
private static TOP_STACK_FRAME_DECORATION: IModelDecorationOptions = {
isWholeLine: true,
inlineClassName: 'debug-remove-token-colors',
className: 'debug-top-stack-frame-line',
stickiness
};
private static TOP_STACK_FRAME_EXCEPTION_DECORATION: IModelDecorationOptions = {
isWholeLine: true,
inlineClassName: 'debug-remove-token-colors',
className: 'debug-top-stack-frame-exception-line',
stickiness
};
......@@ -377,6 +379,7 @@ export class DebugEditorModelManager implements IWorkbenchContribution {
private static FOCUSED_STACK_FRAME_DECORATION: IModelDecorationOptions = {
isWholeLine: true,
inlineClassName: 'debug-remove-token-colors',
className: 'debug-focused-stack-frame-line',
stickiness
};
......
......@@ -255,6 +255,9 @@
}
.hc-black .monaco-editor .debug-top-stack-frame-line {
background: rgba(255, 246, 0, .8);
mix-blend-mode: lighten; /* Preserves text selection's contrast */
}
\ No newline at end of file
background: rgba(255, 246, 0, 1);
}
.hc-black .monaco-editor .debug-remove-token-colors {
color:black;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册