tomayac’s avatartomayac’s Twitter Archive—№ 14,788

  1. …in reply to @zcorpan
    @zcorpan @Rich_Harris @sibbngheid That's the strategy behind <dark-mode-toggle>, too (github.com/GoogleChromeLabs/dark-mode-toggle). I've had best experiences with separate CSS files (github.com/GoogleChromeLabs/dark-mode-toggle#-using-different-stylesheets-per-color-scheme-that-are-conditionally-loaded), not so great with a dark class (github.com/GoogleChromeLabs/dark-mode-toggle#-using-a-css-class-that-you-toggle). In the end, we've to acknowledge that we're fighting the browser.