Dark mode toggle resets after navigating between spaces

Aisha Khan Aisha Khan 1 month ago

When I enable dark mode and then click into a different space, the page loads in light mode for a split second before switching back. On slower connections it stays light.

Looks like the preference isn't applied before first paint.

2

Tried this on a staging copy first and it behaved exactly as described. Confident enough to roll it to production now.

Adding a small note: the same idea applies on mobile, just with a bit more attention to tap targets.

I respectfully disagree on one detail. In my setup the opposite held true, though I suspect it comes down to community size.