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
Typography does not support color "success" #29564
Comments
You can use any color in the theme using the system syntax. For example: |
I am closing this one because it is not a bug (we don't have any docs that mention about |
Yes, is not a bug, I just don't know about this, thank you for help my |
It's a bit tricky. |
@RemyMachado I also think that this is not completely logical, but it still works, which means corrections are optional) |
+1 for the non-essential improvement
|
It is inconsistent with the icons, which has got me very frustrated today. I thought I wasn't using the API right, it got me wasting time experimenting with the MuiTheme before I figured out that Typography and Icons behave differently:
So while I agree it is non essential, it is kinda annoying. |
I made a PR to fix this: #34444 |
General summary
I would like to be able to set the color props for the Typography element to "success", this code does not color the text color
Current Behavior 😯
The Typography component does not have a color props with the "success" value
Expected Behavior 🤔
I would like to be able to set the color props to "success" and for this to work correctly
Steps to Reproduce 🕹
Sandbox issue here
Context 🔦
I want to get the "success" text color of Typography in a short way without creating unnecessary entities
My Environment 🌎
The text was updated successfully, but these errors were encountered: