You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "out" box for code generation is beige and has low contrast. FYI, this code is generated with sphinx gallery, a sphinx extension widely used in the pydata community.
In the Xarrray_html_repr_ output, some tables display light with low contrast:
I think we can check how Xarray formats their documentation in dark mode (i.e. see this tutorial), to get an idea on how to format the shibuya darkmode so that these tables render nicely in dark mode (FYI, looks like they are using pydata_sphinx_theme):
As always, I am happy to help in the form of a PR, if you can tell me which module/file we need to fix!
The text was updated successfully, but these errors were encountered:
scott-huberty
changed the title
Shibuya Dark theme code output is hard to read
code output is hard to read in dark mode
Oct 30, 2023
However this support will only work if the upstream sphinx template (i.e. Shibuya, Furo, etc) specifies a data-theme variable in an <html> tag (see #sphinx-gallery/sphinx-gallery#1221) for more info.
I think your fix (adding custom css) is a good alternative to that, but just FYI!
As you can see in the tutorial for this package, In dark mode, there are 2 UX issues:
_html_repr_
output, some tables display light with low contrast:I think we can check how Xarray formats their documentation in dark mode (i.e. see this tutorial), to get an idea on how to format the shibuya darkmode so that these tables render nicely in dark mode (FYI, looks like they are using
pydata_sphinx_theme
):As always, I am happy to help in the form of a PR, if you can tell me which module/file we need to fix!
The text was updated successfully, but these errors were encountered: