-
Someone was asking whether
<dark-mode-toggle>could also work with classes and a single CSS file (instead of separate CSS files conditionally loaded withprefers-color-scheme). The answer is: Yes!🤘 Demo: glitch.com/~dark-mode-class-toggle ☀️🌒 github.com/GoogleChromeLabs/dark-mode-toggle/issues/5