Skip to content

Commit 1376ccc

Browse files
committed
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
1 parent bace6c5 commit 1376ccc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/css/darkTheme.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
.markdown-section td {
22
background: #3F3F3F;
33
}
4+
5+
/* Fix image visibility in dark mode */
6+
[data-theme='dark'] .theme-doc-markdown img {
7+
background-color: #ffffff;
8+
}

0 commit comments

Comments
 (0)