Skip to content

Commit 85bd480

Browse files
authored
Add dark mode CSS for generic content. (#551)
1 parent 4061ed7 commit 85bd480

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/_static/resources/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22
.sd-card-title {
33
color: var(--color-link);
44
}
5+
6+
/* Fix for Pygments not having a dark mode override for "generic content" */
7+
body[data-theme="dark"] .highlight .go {
8+
color: #ccc;
9+
}

0 commit comments

Comments
 (0)