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

[docs] Add prepend option on emotion caches to allow JSS style overrides #23892

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

mnajdova
Copy link
Member

@mnajdova mnajdova commented Dec 8, 2020

This PR adds the prepend option to the emotion caches that we use in the docs, to allow emotion's styles to be injected first, which will allow JSS overrides. The need of this has been discovered, by the argos differences in #23841 - once we converted the Typography component, which is widely used, we need to allow JSS (makeStyles) to override the styles for it.

@mnajdova mnajdova added the docs Improvements or additions to the documentation label Dec 8, 2020
@mui-pr-bot
Copy link

mui-pr-bot commented Dec 8, 2020

No bundle size changes

Generated by 🚫 dangerJS against 46a417f

@mnajdova mnajdova merged commit e2fcfa0 into mui:next Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants