-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
There is no surface color in the palette of createMuiTheme #21126
Comments
The equivalent is |
Duplicate of #17241 |
Hi @oliviertassinari , thank you for responding fast, But the Please see the below image which is from the Material document. As you see, the surface color is labeled by the number |
Ah right, then you seek #18309. The closest we have is |
- Apply #21120 to the other labels. - Remove the Material Design label. I believe users shouldn't be able to set any specific label on the issues. It should up to the core team to evaluate what's a bug, a new feature, a question, a support, etc.
@oliviertassinari I don't think this issue is same as #18309. @Ashkanph's question is about how to define colors like I wish that the documentation for customizing the palette would explain how to set these colors. Indeed, I can also see references to According to my observation, these aren't put into the documentation for a reason. However, the Material Design spec clearly defines what these colors are and how they are used. Why not put it in the documentation? |
How can I define
surface
color in the palette ofcreateMuiTheme
theme? It looks that your theme doesn't havesurface
andon surface
colors.The text was updated successfully, but these errors were encountered: