8000 Set theme detection before body rendering by lovethebomb · Pull Request #44 · oxidecomputer/design-site · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

Set theme detection before body rendering #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lovethebomb
Copy link
Contributor

Fixes #36

If we move the theme detection before the body element is rendered, we can prevent a flash.

@vercel
Copy link
vercel bot commented May 30, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/oxidecomputer/design-site/j9stnl078
✅ Preview: https://design-site-git-fork-lovethebomb-fix-toggle-theme.oxidecomputer.now.sh

@lovethebomb lovethebomb changed the title Set theme dectection before body rendering Set theme detection before body rendering Jun 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

White flash when reloading with dark theme on
1 participant
0