diff --git a/sphinx_togglebutton/_static/togglebutton.css b/sphinx_togglebutton/_static/togglebutton.css index 2a2a856..115c20c 100644 --- a/sphinx_togglebutton/_static/togglebutton.css +++ b/sphinx_togglebutton/_static/togglebutton.css @@ -159,3 +159,8 @@ details.toggle-details[open] summary ~ * { display: none; } } + +/* Dropdown under a code cell in dark mode */ +[data-theme="dark"] details.hide.below-input summary span { + color: black !important; +}