Skip to content

Support Dark Mode for Pytest Docs Website #12290

Description

@cverrier

What's the problem this feature will solve?

Reading the documentation in the evening can be quite uncomfortable due to the current (very bright) theme of the docs website.

Describe the solution you'd like

Having the option to turn on/off a dark theme for the docs website.

Activity

  1. The-Compiler commented on May 6, 2024

    @The-Compiler
    Member

    We use the Pallets Sphinx theme which doesn't seem to offer a dark mode.

    It looks like even Pallets has plans to switch to Furo which does.

    Maybe we should reevaluate #6402 (where we ended up upgrading our theme to upstream Pallets in #6453) and instead adopt Furo? I'd be +1 on that.

  2. nicoddemus commented on May 6, 2024

    @nicoddemus
    Member

    👍 from me too, however I probably won't have time to work on this, but would be happy to review the work if someone does tackle this.

  3. added
    type: docsdocumentation improvement, missing or needing clarification
    on May 13, 2024
  4. samjirovec commented on May 15, 2024

    @samjirovec
    Contributor

    Hey all, I took some time to do a quick conversion from Flask to Furo. Only big design change was with the side-nav turning into a note + the main side-nav now being scrollable.

    #12326

  5. added a commit that references this issue on May 21, 2024
  6. added a commit that references this issue on May 21, 2024
  7. added a commit that references this issue on May 21, 2024
  8. cverrier commented on May 22, 2024

    @cverrier
    Author

    Thanks a lot @samjirovec, I tried the dark mode and it looks really good! 🚀

    Since this feature has already been merged with commit cbf6bd9, I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: docsdocumentation improvement, missing or needing clarification

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions