Skip to content

Commit 8182fd5

Browse files
authored
Fix markdown light and dark mode when using high contrast themes (microsoft#203690)
1 parent 472af59 commit 8182fd5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extensions/github/markdown.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
.vscode-dark img[src$=\#gh-light-mode-only],
7-
.vscode-light img[src$=\#gh-dark-mode-only] {
7+
.vscode-light img[src$=\#gh-dark-mode-only],
8+
.vscode-high-contrast img[src$=\#gh-light-mode-only],
9+
.vscode-high-contrast-light img[src$=\#gh-dark-mode-only] {
810
display: none;
911
}

0 commit comments

Comments
 (0)