Skip to content

Commit 48748f9

Browse files
authored
Fix HC textPreformat colors (#214642)
Merge pull request #214487 from microsoft/ddossett/rainy-mockingbird Fix HC textPreformat colors
1 parent e0ab2fc commit 48748f9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/vs/platform/theme/common/colors/baseColors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const textSeparatorForeground = registerColor('textSeparator.foreground',
6565
// ------ text preformat
6666

6767
export const textPreformatForeground = registerColor('textPreformat.foreground',
68-
{ light: '#A31515', dark: '#D7BA7D', hcDark: '#FFFFFF', hcLight: '#000000' },
68+
{ light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' },
6969
nls.localize('textPreformatForeground', "Foreground color for preformatted text segments."));
7070

7171
export const textPreformatBackground = registerColor('textPreformat.background',

src/vs/workbench/contrib/welcomeWalkthrough/browser/media/walkThroughPart.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@
153153
.monaco-workbench .part.editor > .content .walkThroughContent code,
154154
.monaco-workbench .part.editor > .content .walkThroughContent .shortcut {
155155
color: var(--vscode-textPreformat-foreground);
156+
background-color: var(--vscode-textPreformat-background);
157+
border-radius: 3px;
156158
}
157159

158160
.monaco-workbench .part.editor > .content .walkThroughContent .monaco-editor {

0 commit comments

Comments
 (0)