Skip to content
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

fix(sfc-playground): persist light mode #5999

Merged
merged 1 commit into from
May 25, 2022

Conversation

phanan
Copy link
Member

@phanan phanan commented May 24, 2022

The current logic of setting dark mode actually doesn't persist the light mode when the user explicitly chooses it. This can be confirmed by clicking the moon icon in the dark mode and refreshing the page — the page will still be in dark mode if the OS uses it.

@phanan phanan requested a review from yyx990803 May 24, 2022 18:30
@yyx990803 yyx990803 merged commit 7487d50 into vuejs:main May 25, 2022
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