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(website): fix darkmode bug on docs website #13101

Merged
merged 12 commits into from
Feb 16, 2023
Merged

fix(website): fix darkmode bug on docs website #13101

merged 12 commits into from
Feb 16, 2023

Conversation

d1onys1us
Copy link
Contributor

@d1onys1us d1onys1us commented Feb 6, 2023

note: can reproduce by opening website through discord app, iphone

@d1onys1us d1onys1us changed the title Fix dark mode fix(website): fix darkmode bug on docs website Feb 6, 2023
@d1onys1us d1onys1us marked this pull request as ready for review February 6, 2023 21:56
@d1onys1us d1onys1us marked this pull request as draft February 6, 2023 23:43
@cyberhorsey
Copy link
Contributor

@d1onys1us any update on this PR status?

@d1onys1us
Copy link
Contributor Author

seems to be a weird issue with nextra, i'll have to bring it up to them. essentially the theme provider is returning undefined, possibly because the navigation bar is not within the scope of the theme provider (prop is not passed down).

so i just enabled light mode as the default. of course the user can switch to system or dark theme. this should be a sufficient fix for now. ready for review @cyberhorsey

@d1onys1us d1onys1us added this pull request to the merge queue Feb 16, 2023
Merged via the queue into main with commit a6d9bed Feb 16, 2023
@d1onys1us d1onys1us deleted the fix-dark-mode branch February 16, 2023 01:58
@github-actions github-actions bot mentioned this pull request Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants