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.

1

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

Thanks for writing this up. Bookmarking it — the kind of thing I will want to reference again in a month.

Following this thread closely. We are about to face the exact same decision and the replies here are gold.

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