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

dionysuzx
Copy link
Collaborator

@dionysuzx dionysuzx commented Feb 6, 2023

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

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

@d1onys1us any update on this PR status?

@dionysuzx
Copy link
Collaborator 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

@dionysuzx dionysuzx added this pull request to the merge queue Feb 16, 2023
Merged via the queue into main with commit a6d9bed Feb 16, 2023
@dionysuzx dionysuzx 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.

5 participants