Fix HC textPreformat colors

This commit is contained in:
David Dossett 2024-06-06 10:41:40 -07:00
parent 2fb22a9ac0
commit 5f13aa9749
No known key found for this signature in database
GPG key ID: 52AE5593859A97F3
2 changed files with 3 additions and 1 deletions

View file

@ -65,7 +65,7 @@ export const textSeparatorForeground = registerColor('textSeparator.foreground',
// ------ text preformat
export const textPreformatForeground = registerColor('textPreformat.foreground',
{ light: '#A31515', dark: '#D7BA7D', hcDark: '#FFFFFF', hcLight: '#000000' },
{ light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' },
nls.localize('textPreformatForeground', "Foreground color for preformatted text segments."));
export const textPreformatBackground = registerColor('textPreformat.background',

View file

@ -153,6 +153,8 @@
.monaco-workbench .part.editor > .content .walkThroughContent code,
.monaco-workbench .part.editor > .content .walkThroughContent .shortcut {
color: var(--vscode-textPreformat-foreground);
background-color: var(--vscode-textPreformat-background);
border-radius: 3px;
}
.monaco-workbench .part.editor > .content .walkThroughContent .monaco-editor {