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: apply dark mode at root #910

Merged
merged 1 commit into from
Feb 23, 2024
Merged

fix: apply dark mode at root #910

merged 1 commit into from
Feb 23, 2024

Conversation

hyoban
Copy link
Sponsor Contributor

@hyoban hyoban commented Feb 23, 2024

Before this fix, only after we open the sidebar, the dark mode can be applied

ScreenShot 2024-02-23 19 09 48

I do not know why the script in index.html does not work, so I use useDark at the entry

@DIYgod DIYgod merged commit 7bee9db into DIYgod:dev Feb 23, 2024
@DIYgod
Copy link
Owner

DIYgod commented Feb 23, 2024

Thanks!!

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