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

  1. …in reply to @xeenon
    @xeenon @matthijsewoud A reduced test case is dark-mode-baseline.glitch.me (that only has one toggle, but the same transition). I am on 10.14.6, and as this is a managed corp. device, I can't update to 10.15. I also can't reproduce it now on Safari Technology Preview Release 88 (on Mojave).
    1. …in reply to @tomayac
      @xeenon @matthijsewoud The code loads dark.css (or light.css) before common.css, with dark.css (or light.css) defining variables needed in common.css. Fully described here web.dev/prefers-color-scheme/#loading-strategy and here web.dev/prefers-color-scheme/#stylesheet-architecture.