Skip to content

Commit 197546f

Browse files
committed
Fix codebgcolor and codetextcolor for Sphinx 3.1.0+
Sphinx 3.1.0+ dropped the custom codebgcolor and codetextcolor from the classic theme[1], leaving pre elements uncolored. [1] sphinx-doc/sphinx@b345acc
1 parent a0d0d8b commit 197546f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python_docs_theme/theme.conf

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ visitedlinkcolor = #00608f
2121
headtextcolor = #1a1a1a
2222
headbgcolor = white
2323
headlinkcolor = #aaaaaa
24+
codebgcolor = #eeffcc
25+
codetextcolor = #333333
2426

2527
issues_url =
2628
root_name = Python

0 commit comments

Comments
 (0)