-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function and class names are black when compiled on readthedocs #28
Comments
I'm having the same issue, but it persists locally and when deploying to gh-pages after the build (via github actions) (via |
It may help to mention that I solved this issue by specifying sphinx-rtd-theme==0.5.2, it seems that 1.0.0 is causing the issue. |
Is there some activity regarding this issue? I still have dark class names. |
I have this issue when using the theme along Breathe |
Here's what I have come up with as a quick fix: html[data-theme="dark"].writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .sig-name {
color: var(--dark-text-color);
}
html[data-theme="dark"].writer-html5 .rst-content dd dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .sig-name {
color:inherit;
} YMMV |
When locally compiled, the names of functions and classes are blue as intended. But when compiled on readthedocs, the colors turn black and are difficult to read.
The text was updated successfully, but these errors were encountered: