mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Merge pull request #283784 from microsoft/mrleemurray/tragic-gayal-turquoise
Add text preformat border high contrast color
This commit is contained in:
@@ -870,6 +870,7 @@
|
||||
"--vscode-textLink-foreground",
|
||||
"--vscode-textPreformat-background",
|
||||
"--vscode-textPreformat-foreground",
|
||||
"--vscode-textPreformat-border",
|
||||
"--vscode-textSeparator-foreground",
|
||||
"--vscode-titleBar-activeBackground",
|
||||
"--vscode-titleBar-activeForeground",
|
||||
|
||||
@@ -65,13 +65,15 @@ export const textSeparatorForeground = registerColor('textSeparator.foreground',
|
||||
// ------ text preformat
|
||||
|
||||
export const textPreformatForeground = registerColor('textPreformat.foreground',
|
||||
{ light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' },
|
||||
{ light: '#A31515', dark: '#D7BA7D', hcDark: '#FFFFFF', hcLight: '#FFFFFF' },
|
||||
nls.localize('textPreformatForeground', "Foreground color for preformatted text segments."));
|
||||
|
||||
export const textPreformatBackground = registerColor('textPreformat.background',
|
||||
{ light: '#0000001A', dark: '#FFFFFF1A', hcDark: '#FFFFFF', hcLight: '#09345f' },
|
||||
{ light: '#0000001A', dark: '#FFFFFF1A', hcDark: null, hcLight: '#09345f' },
|
||||
nls.localize('textPreformatBackground', "Background color for preformatted text segments."));
|
||||
|
||||
export const textPreformatBorder = registerColor('textPreformat.border',
|
||||
{ light: null, dark: null, hcDark: contrastBorder, hcLight: null },
|
||||
nls.localize('textPreformatBorder', "Border color for preformatted text segments."));
|
||||
|
||||
// ------ text block quote
|
||||
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
background-color: var(--vscode-textPreformat-background);
|
||||
padding: 1px 3px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--vscode-textPreformat-border);
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -627,6 +627,7 @@ have to be updated for changes to the rules above, or to support more deeply nes
|
||||
background-color: var(--vscode-textPreformat-background);
|
||||
padding: 1px 3px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--vscode-textPreformat-border);
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -173,6 +173,7 @@
|
||||
background-color: var(--vscode-textPreformat-background);
|
||||
padding: 1px 3px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--vscode-textPreformat-border);
|
||||
}
|
||||
|
||||
.monaco-workbench .notebookOverlay .cell-chat-part .inline-chat .markdownMessage .message .interactive-result-code-block {
|
||||
|
||||
@@ -609,6 +609,7 @@
|
||||
background-color: var(--vscode-textPreformat-background);
|
||||
padding: 1px 3px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--vscode-textPreformat-border);
|
||||
}
|
||||
|
||||
.settings-editor > .settings-body .settings-tree-container .setting-item-contents .setting-item-markdown .monaco-tokenized-source {
|
||||
|
||||
@@ -155,6 +155,7 @@
|
||||
color: var(--vscode-textPreformat-foreground);
|
||||
background-color: var(--vscode-textPreformat-background);
|
||||
border-radius: 3px;
|
||||
border: 1px solid var(--vscode-textPreformat-border);
|
||||
}
|
||||
|
||||
.monaco-workbench .part.editor > .content .walkThroughContent .monaco-editor {
|
||||
|
||||
Reference in New Issue
Block a user