Skip to content

Is it possible to have a different logo image for light and dark mode? #1228

Answered by snowch
snowch asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by snowch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant