diff --git a/doc/api_assets/api.js b/doc/api_assets/api.js index 8b40042f85cbae..394b5ba990946c 100644 --- a/doc/api_assets/api.js +++ b/doc/api_assets/api.js @@ -24,12 +24,6 @@ ); } } - - if (mq.matches) { - document.documentElement.classList.add('dark-mode'); - } - } else if (storedTheme === 'dark') { - document.documentElement.classList.add('dark-mode'); } if (themeToggleButton) { diff --git a/doc/template.html b/doc/template.html index fb334852aba434..658c8d94cd0723 100644 --- a/doc/template.html +++ b/doc/template.html @@ -10,6 +10,19 @@ + __JS_FLAVORED_DYNAMIC_CSS__