Skip to content

Commit b2c46f5

Browse files
authored
Merge pull request #133 from hugovk/dark-mode-fix-contrast
2 parents 4e88b11 + be0cec8 commit b2c46f5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

python_docs_theme/static/pydoctheme_dark.css

+10
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,13 @@ nav.contents {
125125
img.invert-in-dark-mode {
126126
filter: invert(1) hue-rotate(.5turn);
127127
}
128+
129+
/* -- object description styles --------------------------------------------- */
130+
131+
/* C++ specific styling */
132+
133+
/* Override Sphinx's basic.css to fix colour contrast */
134+
.sig.c .k, .sig.c .kt,
135+
.sig.cpp .k, .sig.cpp .kt {
136+
color: #5283ff;
137+
}

0 commit comments

Comments
 (0)