tomayac’s avatartomayac’s Twitter Archive—№ 13,035

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