-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
priority: importantThis change can make a difference.This change can make a difference.ready to takeHelp wanted. Guidance available. There is a high chance the change will be acceptedHelp wanted. Guidance available. There is a high chance the change will be acceptedtype: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.v5.x
Milestone
Description
- This is not a v0.x issue.
- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior 🤔
The ability to have success in the color palette for Button, or any component w/ a color prop.
Current Behavior 😯
Only error palette option is available.
Context 🔦
Similar to the need for error styling, a success color palette option for any component that has a color prop would be equally valuable. The current functionality to get a green button option, for instance, requires lots of custom styling on the Button component which isn't ideal. If error is warranted in the palette, why not success as well?
Another idea is for some kind of dynamic mapping, so if you created a manual key of success and passed it in as a color prop to a Button, the button would just try to find the theme override with that key in the palette.
Thanks!
oliviertassinari, almeidap, tkvw, dozer644, rtaraszka and 122 morePushplaybang, timashev, igor-pavlichenko, jemmaengz1202, PeterGrillot and 9 moreFSYED7X and uchar
Metadata
Metadata
Assignees
Labels
priority: importantThis change can make a difference.This change can make a difference.ready to takeHelp wanted. Guidance available. There is a high chance the change will be acceptedHelp wanted. Guidance available. There is a high chance the change will be acceptedtype: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.v5.x