[RFC][material-ui] Should variant class names have the variant
prefix?
#41277
Labels
customization: css
Design CSS customizability
package: material-ui
Specific to @mui/material
RFC
Request For Comments
Milestone
Extracted issue from #40688 (comment)
What's the problem?
Currently, the variants' class names don't have a prefix, for example,
MuiButton-outlined
. This differs from other prop values classes with the prop name prefixed, for example,MuiButton-colorPrimary
.Should we change this for consistency? Is it worth it?
What are the requirements?
What are our options?
variant
prefixvariant
prefixProposed solution
No response
Search keywords:
The text was updated successfully, but these errors were encountered: