tomayac’s avatartomayac’s Twitter Archive—№ 12,927

  1. …in reply to @harshil
    @_HarshilShah @atcb @orta @yeahthatclay You inline all the CSS for dark/light mode (on your homepage at least, I didn't look much deeper), this works for limited amounts of CSS. The moment you have more CSS, consider splitting it up in different sub-files: web.dev/prefers-color-scheme/#loading-strategy. This allows a toggle to switch files.