tailwindcss-custom-forms icon indicating copy to clipboard operation
tailwindcss-custom-forms copied to clipboard

Make the base selector configurable

Open stancl opened this issue 6 years ago • 1 comments

Right now, the base selector is hardcoded -- .form-checkbox. I would like to style the checkbox element globally, since I'm working with a platform that's extensible and extensions aren't written with this plugin in mind.

It might be possible to achieve this by using input[type=checkbox] { @extend .form-checkbox }, but I think having a configurable base selector is a more elegant solution.

stancl avatar Aug 07 '19 14:08 stancl

Have you figured out a way to be able to have the custom forms styles applied globally?

I'm new to tailwind and would like to have form inputs styled globally across my site, but not really sure the easiest way to accomplish that.

ericp-mrel avatar Jul 28 '20 16:07 ericp-mrel