Skip to content

Conversation

apedroferreira
Copy link
Collaborator

@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 type: bug It doesn't behave as expected. label Jul 19, 2024
@apedroferreira apedroferreira self-assigned this Jul 19, 2024
@apedroferreira
Copy link
Collaborator 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
Collaborator 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
@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

type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants