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

feat(theme): allow defining dark as the default theme #1498

Merged
merged 4 commits into from
Oct 18, 2022
Merged

feat(theme): allow defining dark as the default theme #1498

merged 4 commits into from
Oct 18, 2022

Conversation

innocenzi
Copy link
Contributor

Closes #1359

The appearance option now accepts a dark value. If set to dark, the inlined script will ensure the .dark class is added when there is no preference. Otherwise, the previous rules still apply.

@brc-dd brc-dd changed the title feat: allow defining dark as the default theme feat(theme): allow defining dark as the default theme Oct 18, 2022
@brc-dd brc-dd merged commit d404753 into vuejs:main Oct 18, 2022
@innocenzi innocenzi deleted the feat/default-dark branch October 18, 2022 17:22
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
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.

Options to force dark mode as default theme?
2 participants