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!
Expected Behavior 🤔
The ability to have
successin the color palette for Button, or any component w/ acolorprop.Current Behavior 😯
Only
errorpalette option is available.Context 🔦
Similar to the need for error styling, a
successcolor palette option for any component that has acolorprop 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
successand 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!