Skip to content

Light Mode Only Possible? #1081

Answered by agahkarakuzu
canyon289 asked this question in General
Discussion options

You must be logged in to vote

@canyon289 can you try the following in the _config.yml:

sphinx:
  recursive_update: true
  config:
    html_context:
      default_mode: dark

instead of

sphinx:
  html_context:
    default_mode: light

You may need to flush the cache on your browser to see the effect. I am sure the following works, but not sure about html_context:

    html_theme_options:
      logo:
        image_light: "some-logo-light.png"
        image_dark: "some-logo-dark.png"

I used jupyter-book 0.15.1

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@canyon289
Comment options

Answer selected by canyon289
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants