From 8182fd55db546ec005b5fa02624b98c7e3b60fc7 Mon Sep 17 00:00:00 2001 From: Lucas Towers Date: Wed, 31 Jan 2024 16:54:32 -0800 Subject: [PATCH] Fix markdown light and dark mode when using high contrast themes (#203690) --- extensions/github/markdown.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/github/markdown.css b/extensions/github/markdown.css index a8cb5840ccc..84441f42b16 100644 --- a/extensions/github/markdown.css +++ b/extensions/github/markdown.css @@ -4,6 +4,8 @@ *--------------------------------------------------------------------------------------------*/ .vscode-dark img[src$=\#gh-light-mode-only], -.vscode-light img[src$=\#gh-dark-mode-only] { +.vscode-light img[src$=\#gh-dark-mode-only], +.vscode-high-contrast img[src$=\#gh-light-mode-only], +.vscode-high-contrast-light img[src$=\#gh-dark-mode-only] { display: none; }