Coder Social home page Coder Social logo

Comments (6)

vlandau avatar vlandau commented on July 28, 2024

I'm having the same issue, but it persists locally and when deploying to gh-pages after the build (via github actions) (via make clean html)

from sphinx_rtd_dark_mode.

Cielquan avatar Cielquan commented on July 28, 2024

I have the same issue. It also applies to click CLI apps documented with sphinx-click.

image

For me the local build is already black.

from sphinx_rtd_dark_mode.

dwiddo avatar dwiddo commented on July 28, 2024

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.

from sphinx_rtd_dark_mode.

photoniker avatar photoniker commented on July 28, 2024

Is there some activity regarding this issue? I still have dark class names.

from sphinx_rtd_dark_mode.

sanjacob avatar sanjacob commented on July 28, 2024

I have this issue when using the theme along Breathe

from sphinx_rtd_dark_mode.

sanjacob avatar sanjacob commented on July 28, 2024

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

from sphinx_rtd_dark_mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.