-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
[Typography] Fix styleOverrides, variants, and remaining colors
#34444
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
base: v5.x
Are you sure you want to change the base?
Conversation
|
@material-ui/core: parsed: +0.04% , gzip: +0.09% |
They were being overridden by the system props.
styleOverrides not overriding system propsstyleOverrides and variants to work
cec28f4 to
7152cf7
Compare
styleOverrides and variants to workstyleOverrides, variants, and remaining colors
|
The CI |
|
Any updates on this? |
|
Nope. The CI test fails for some reason I don't understand. On top of that, my team is working on a major version update to our MUI-based library, which allows us to fix the problem that prompted #34290 by modifying the palette, removing the need for So this PR is currently not prioritized for us. Feel free to pick it up though :) |
|
Guys, any news here? |
| sx={[ | ||
| ...(!Object.keys(colorTransformations).includes(color) ? [{ color }] : []), | ||
| ...(Array.isArray(sx) ? sx : [sx]), | ||
| ]} |
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.
This makes me think that there must be something wrong with the Typography code wise.
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.
I'd say that we should look into this in v7.
Fixes #34290.
Fixes #29564.
TODO:
color: textPrimary.