Always use vscode-textCodeBlock-background in rendered markdown (#179313)

Use vscode-textCodeBlock-background in rendered markdown

Fixes #179219
This commit is contained in:
Matt Bierner 2023-04-05 14:02:22 -07:00 committed by GitHub
parent f56f4e1adc
commit fff3860de9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 19 deletions

View file

@ -205,15 +205,7 @@ pre code {
/** Theming */
.vscode-light pre {
background-color: rgba(220, 220, 220, 0.4);
}
.vscode-dark pre {
background-color: rgba(10, 10, 10, 0.4);
}
.vscode-high-contrast pre {
pre {
background-color: var(--vscode-textCodeBlock-background);
}

View file

@ -115,15 +115,7 @@ pre code {
/** Theming */
.vscode-light pre {
background-color: rgba(220, 220, 220, 0.4);
}
.vscode-dark pre {
background-color: rgba(10, 10, 10, 0.4);
}
.vscode-high-contrast pre {
.pre {
background-color: var(--vscode-textCodeBlock-background);
}
@ -150,7 +142,6 @@ pre code {
.vscode-dark td {
border-color: rgba(255, 255, 255, 0.18);
}
`;
const allowedProtocols = [Schemas.http, Schemas.https, Schemas.command];