sphinx-tabs
sphinx-tabs copied to clipboard
Using body[data-theme] instead of html[data-theme] breaks using theme switcher
Describe the bug
A theme switcher component sets data-theme on html-element, not on html.body, as html attributes aren't inherited, Tabs break when using html.data-theme.
Reproduce the bug
- Create project with sphinx-rtd, sphinx-tabs and sphinx-rtd-dark-mode
- Create tab
- Switch theme
List your environment
No response
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada: