tomayac’s avatartomayac’s Twitter Archive—№ 18,313

  1. …in reply to @pepelsbey_dev
    @pepelsbey_ @SaraSoueidan I prefer manipulating the media attributes, but it can be an overhead for small CSS files. My toggle supports both, media attributes & classes: github.com/GoogleChromeLabs/dark-mode-toggle#usage. On v8.dev/ we use classes, on my blog I use media attributes (with said overhead, but HTTP/2).