From 1376ccc6147c6ba98b9af065f05df6ff55589d4d Mon Sep 17 00:00:00 2001 From: Utpal Date: Wed, 31 Dec 2025 22:23:47 +0530 Subject: [PATCH] fix: add white background to images in dark mode Fixes a visibility issue where transparent images with black elements blend into the dark background. This is a CSS-only fix that applies globally to all documentation pages. Fixes #416 --- src/css/darkTheme.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/css/darkTheme.css b/src/css/darkTheme.css index de2e3199..d6942010 100644 --- a/src/css/darkTheme.css +++ b/src/css/darkTheme.css @@ -1,3 +1,8 @@ .markdown-section td { background: #3F3F3F; } + +/* Fix image visibility in dark mode */ +[data-theme='dark'] .theme-doc-markdown img { + background-color: #ffffff; +}