MediaWiki:Gadget-DarkToggle.css

@media (prefers-color-scheme: dark) { #toggleContainer { display: none !important; } }