Skip to content

issue with new dark mode of sphinx-tabs in themes that do not support dark mode #152

Description

@return42

Describe the bug

context

We use sphinx-tab and Pallets-Sphinx-Themes. Pallets-Sphinx-Themes does not have a dark theme.

Since

has been merged, we got dark tabs in a light theme, when the browser prefers a dark theme:

image

Rendered in a browser using light theme:

image

Reproduce the bug

Use sphinx-tabs in a theme that does not have a dark theme and setup your browser to use dark theme.

EDIT: with 7915f63 reverted, the issue is fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions