-
Notifications
You must be signed in to change notification settings - Fork 8
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
Limit Button
styles to those defined in the Comet design guidelines
#3065
Limit Button
styles to those defined in the Comet design guidelines
#3065
Conversation
This removes the `color` prop entirely and only allows our custom values for the `variant` prop.
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'm unsure if this is a good idea. Yes, UX might not have considered all possible combinations that are available in MUI, but they may add/need them in the future. "Our" variant prop would then become increasingly complex/bloated.
I specifically asked UX about which variants they need as we (me and UX) want to prevent devs from using combinations of MUIs |
We don't do this for other components, e.g., Typography. I'm not a fan of removing MUI functionality just because UX hasn't thought about a use case (yet). Our devs should be able to use the MUI docs as a primary source. And IMO we can expect devs to think. They can always use But I don't care too much about it. If we find that it wasn't a good idea, we can change it back. 🤷🏼♂️ |
I don't want to think if I don't have to 😅 I see your point, maybe we can discuss this next week, this doesn't have any priority 🙂 |
…-allow-using-design-conform-buttons
…-allow-using-design-conform-buttons
Quality Gate passedIssues Measures |
Discussed this internally and decided to go with the single |
Description
This removes the
color
prop entirely and only allows our custom values for thevariant
prop.The styling of the variants is not yet correct and will be fixed in a separate PR.
Acceptance criteria
Open TODOs/questions
Further information