3 ms·
Very cool! Love the little cord pull. > ...the server-rendered HTML will always default to light mode. This creates a flicker for night owls... I played with
by seanosaur 3y ago
Very cool! Love the little cord pull.
> ...the server-rendered HTML will always default to light mode. This creates a flicker for night owls...
I played with this a bit and yes, that flicker is harsh. I appreciate the fade-in, but maybe have the initial color on load be somewhere between light and dark and then fade it to whichever is set by the client.
- petemilly 3y agoThanks! @josephwegner suggested above defaulting to dark, which I did for now.