-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
Description
Describe the bug
I am using the sphinx_book_theme and I enabled the light/dark button. I am using group_tabs to show multiple codes as follows:
.. tabs::
.. group-tab:: C++
.. literalinclude:: ../_code/energy_topic.cpp
:language: cpp
:start-after: START CREATE TOPIC
:end-before: END CREATE TOPIC
:dedent: 8
.. group-tab:: Python
Work in progress...
.. group-tab:: mofkactl
Work in progress...
With the light mode this is what is shown:
With dark mode, this is what I have:
The code itself switched to its dark theme, however the tab around it and the tabs' titles stay on light mode.
expectation
I would expect the tabs to also switch to a dark theme.
Reproduce the bug
Example of site reproducing the problem: https://mofka.readthedocs.io/en/latest/usage/topics.html#creating-a-topic
The source is here: https://github.com/mochi-hpc/mofka/tree/b440d2ed2b2cea788044718c76890d647f50b1a1/docs
List your environment
No response