A clean variant of the read the docs theme with grayscale styling and optional light mode / dark mode toggling. This theme is currently used with the proplot and climopy projects.
Install with pip install sphinx-rtd-light-dark. Then in your conf.py file,
add the entry 'ultraplot_theme' to the extensions list,
and set html_theme to 'ultraplot_theme'.
The legacy extension/theme name 'sphinx_rtd_light_dark' remains supported.
Example conf.py:
extensions = [
...
'ultraplot_theme',
...
]
html_theme = 'ultraplot_theme'