diff --git a/_static/css/custom.css b/_static/css/custom.css index 4a1e6459..1afda2ea 100644 --- a/_static/css/custom.css +++ b/_static/css/custom.css @@ -34,6 +34,11 @@ body { .sphinx-tabs-panel { padding: 1em 1em 0 1em; + background: inherit !important; +} + +.sphinx-tabs-tab { + background: inherit !important; } .rst-content section ol.arabic, .rst-content section ol.arabic > li { diff --git a/conf.py b/conf.py index ae8ae1b3..fb33d0c6 100644 --- a/conf.py +++ b/conf.py @@ -30,6 +30,7 @@ "sphinx_rtd_theme", "sphinx_tabs.tabs", "myst_parser", + "sphinx_rtd_dark_mode", ] # Add any paths that contain templates here, relative to this directory. @@ -55,7 +56,7 @@ # Toc options 'includehidden': True, - 'titles_only': False + 'titles_only': False, } html_favicon = '_static/favicon.ico' html_logo = 'cyberduck-icon-64.png' @@ -83,4 +84,6 @@ myst_enable_extensions = [ "html_image", "colon_fence" -] \ No newline at end of file +] + +default_dark_mode = False diff --git a/requirements.txt b/requirements.txt index adac25a3..dab6402f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ myst-parser sphinx-tabs sphinx_rtd_theme +sphinx_rtd_dark_mode # Pin docutils docutils~=0.18.0 \ No newline at end of file