MyST-NB icon indicating copy to clipboard operation
MyST-NB copied to clipboard

Code blocks have unreadable white text on white backgrounds in dark mode

Open earlbellinger opened this issue 8 months ago • 9 comments

Describe the bug

context When I switch to dark mode, code becomes unreadable.

expectation I expect either the background or the text to turn white in code blocks, but not both.

bug But instead the text and background both turn white in code blocks in dark mode.

Reproduce the bug

Go to https://mesagrid.readthedocs.io/en/latest/quickstart.html and click on dark mode in the top right

List your environment

https://github.com/earlbellinger/mesagrid/blob/main/requirements_dev.txt

earlbellinger avatar Jun 13 '24 02:06 earlbellinger