-
My logo looks bad in dark mode, I was wondering if there is a way to swap it. I.e. have two logos, one for each mode. It looks like sphinx book supports this via html_theme_options # Assuming your `conf.py` has a sibling folder called `_static` with these files
html_theme_options = {
"logo": {
"image_light": "_static/logo-light.png",
"image_dark": "_static/logo-dark.png",
}
} So, I'm hoping this should be possible with jupyterbook? |
Beta Was this translation helpful? Give feedback.
Answered by
snowch
Oct 5, 2024
Replies: 1 comment
-
It was possible to set these values in the _config.yml: sphinx:
config:
html_theme_options:
logo:
image_light: logo-light.png
image_dark: logo-dark.png |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
snowch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It was possible to set these values in the _config.yml: