-
Notifications
You must be signed in to change notification settings - Fork 231
feat(docs): automatic theme #386
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thanks @steebchen . I tried something similar but it looks like the light theme has limited coverage: |
b4a
8000
defd
to
59b9a76
Compare
@grutt fixed by removing the fixed bg color in the main tag; I tried to set it only to dark but then it doesn't work when the user manually switches the theme. So I removed it completely for now. Alternatively, we can opt in for the slightly different background color for the dark mode, but would then need to disable manual theme switching. I think the best thing to do is what's in this PR: leave the default colors as is set by the default nextjs theme and detect the user's preferred theme. And optionally the user can switch it by using the integrated dark/light switcher in the bottom left. |
dammit, will take another look tomorrow in all places 😅 |
ok done @grutt |
Description
fix #345
Type of change
What's Changed