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

[core] Fix theming bugs #3809

Merged
merged 6 commits into from
Jul 22, 2024
Merged

Conversation

apedroferreira
Copy link
Member

@apedroferreira apedroferreira commented Jul 19, 2024

Attempting to fix remaining theming bugs:

  • Docs and app use same storage key for theme mode
  • Console error (mismatching style tag) when app loads from server in dark mode if defaultMode is not set to dark (even though there seems to be no flash with wrong theme, I don't think this happened before MUI v6 either)

@apedroferreira apedroferreira added the bug 🐛 Something doesn't work label Jul 19, 2024
@apedroferreira apedroferreira self-assigned this Jul 19, 2024
@apedroferreira
Copy link
Member Author

apedroferreira commented Jul 22, 2024

I'm pretty sure the console error mentioned above is because the playgrounds aren't using v6 of Material UI, so it should eventually be solved once mui/material-ui#43001 is solved.
We can merge the fix for the storage key "bug" and this should be good!

@apedroferreira
Copy link
Member Author

apedroferreira commented Jul 22, 2024

@Janpot just adding a few more small changes in a few minutes (added now, just some more props so I assume it should be good to merge)

@apedroferreira apedroferreira marked this pull request as ready for review July 22, 2024 11:32
@apedroferreira apedroferreira merged commit 8189dfc into mui:master Jul 22, 2024
14 checks passed
@apedroferreira apedroferreira deleted the theming-bux-fixes branch July 22, 2024 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants