Open stancl opened 5 years ago
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.
Right now, the base selector is hardcoded --
.form-checkbox
. I would like to style thecheckbox
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.