@matvil you could always add a small JS snippet to hide the switch in the page where you don't want it. But that is a workaround for sure. I wonder if we allow to deactivate / activate dark mode for a single part of the website once activated.
@cteague Can we deactivate the dark theme switch on a website for a single page only ?
Thanks
Thanks for the quick reply. I would be happy to keep the switch, but make the light theme the default for that single page. But It seems the website remembers my last theme and uses that as default.
There is currently no way to alter the theme for a single page of a website as each page inherits the global website CSS. There is also no way to simple hide the dark toggle (or assert that the page should only be either the dark or light theme variant). I think it will be technically pretty complex to allow individual pages to have their own themes (though something I would like to eventually support). It would be pretty easy to add support for declaring the light vs. dark theme and hiding the toggle. Happy if you'd like to open a feature request to track (GitHub - quarto-dev/quarto-cli: Open-source scientific and technical publishing system built on Pandoc.).