-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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] Use theme.applyDarkStyles
#36606
Conversation
Netlify deploy previewhttps://deploy-preview-36606--material-ui.netlify.app/ Bundle size report |
880751e
to
6d28f05
Compare
color: (theme.vars || theme).palette.primaryDark[300], | ||
styles={(theme) => [ | ||
{ | ||
[theme.vars ? '[data-mui-color-scheme="dark"]:root' : '.mode-dark']: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
theme.applyDarkStyles
only works with elements inside the body.
theme.applyDarkStyles
theme.applyDarkStyles
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I couldn't spot any regression
…apply-dark-styles
From #36602,
6d28f05 fixes the issue reported in slack
Screen.Recording.2566-03-22.at.13.25.10.mov