这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix dark mode of the documentation website #1191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2022
Merged

Fix dark mode of the documentation website #1191

merged 1 commit into from
May 5, 2022

Conversation

shuding
Copy link
Member

@shuding shuding commented May 5, 2022

Currently if you set the website theme option to be "System" and have system-wide dark mode enabled, a hard refresh will cause a flash on the website:

CleanShot 2022-05-05 at 16 49 06

This is fixed in an upstream dependency of Nextra.

@vercel
Copy link

vercel bot commented May 5, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
turbo-site ✅ Ready (Inspect) Visit Preview May 5, 2022 at 2:51PM (UTC)

@shuding shuding marked this pull request as ready for review May 5, 2022 14:52
@jaredpalmer jaredpalmer merged commit 5f7f393 into main May 5, 2022
@shuding shuding deleted the shu/9157 branch May 5, 2022 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants