Skip to content

Commit 902f881

Browse files
committed
fix: add white background to images in dark modeFixes visibility issue where transparent images with black elementsblend into the dark background. CSS-only fix that applies globallyto all documentation pages.Fixes #454
1 parent bace6c5 commit 902f881

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)