@polip123 @v8js See https://t.co/0bb5Kkz9hv, please.
@chicoxyzzy @v8js Thanks for filing and finding this issue. @mathias or @RReverser are on it. Good catch indeed.
@tuananh_org @v8js That’s the service worker doing its job updating its caches :-)
@approxhuman @CryZe107 @v8js If you see the site in a web view like Twitter’s, the app needs to have opted in this web view to auto-darkening. Try in Chrome/Firefox/… (a real browser) directly.
@approxhuman @v8js Yes, works universally. On iOS web views like Twitter’s, they need to be compiled against the iOS 13 SDK.
@v8js Shout out to @mathias and @RReverser who have helped golf â›³ï¸ down the size (https://t.co/IrIEhsLa3R) of `<dark-mode-toggle>`: https://t.co/FKfxCMMVoL.
Now with this having landed, back to the fishing rod… 🎣 </online>
https://t.co/Cce5tz50F
@v8js Method ⒠(https://t.co/DdBlLHyhAy), ie, different stylesheets, would’ve worked w/o JS (for the default color scheme, not the toggling), but because @v8js is about JS, and multiple CSS files would’ve meant touching the service worker logic, we
@v8js @v8js’ dark mode is powered by `<dark-mode-toggle>` (https://t.co/gRVmvR6ybh) and uses method ⒡ (https://t.co/eIaWm2ghYb), ie, a `dark` class. Usually, we recommend different stylesheets (https://t.co/CmNwviGowt), but for https://t.co/O7cvLmJyPc
v8js Let’s [not] keep you in the dark anymore… Introducing dark mode for v8.dev!
By default we’re going to display the blog according to your system theme, but feel free to override the preference using a toggle in the footer. (h/t @tomayac) pic.twitter.com/67rH8su3yU