Skip to content

Commit 4c710ce

Browse files
authored
Accessibility - Fix code syntax highlighting contrast errors (dark mode) (scikit-learn#34484)
1 parent 28fca3f commit 4c710ce

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

doc/css/styles/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ html[data-theme="light"] .highlight pre {
1010
background: #fff;
1111
}
1212

13+
html[data-theme="dark"] .highlight pre {
14+
background: #000;
15+
}
16+
1317
code.literal {
1418
border: 0;
1519
}

0 commit comments

Comments
 (0)