material-framework icon indicating copy to clipboard operation
material-framework copied to clipboard

Ability to change the color of form controls

Open PalmerAL opened this issue 10 years ago • 3 comments

PalmerAL avatar Jun 08 '15 05:06 PalmerAL

Which ones ? And are you talking about it's actual color, or are you talking about it's borders?

nt1m avatar Jun 08 '15 06:06 nt1m

I meant for switches, radios, and checkboxes. You should be able to add a color class to the element, and the colors adjust.

PalmerAL avatar Jun 08 '15 13:06 PalmerAL

For checkboxes, you can apply the color-yourcolor-500 class on the sibling label. For radios, it should be easy to add. For switches, this is much more tricky.

nt1m avatar Jun 08 '15 18:06 nt1m