Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forms vs Custom Forms #51

Closed
chrisrowe opened this issue Mar 1, 2021 · 2 comments
Closed

Forms vs Custom Forms #51

chrisrowe opened this issue Mar 1, 2021 · 2 comments

Comments

@chrisrowe
Copy link

chrisrowe commented Mar 1, 2021

I was under the impression that this repo effectively replaces the custom forms repo at https://github.com/tailwindlabs/tailwindcss-custom-forms

I can see the approach is different and that's totally fine but I'm finding myself missing the ability to style checkboxes etc with more control. The defaults and flexibility that custom forms gave was heaven despite it not being truly "utility" based as per Tailwind.

@adamwathan Could you please advise on your vision here so we can taylor our approach, should we be using forms and custom forms to get where we want, or is the longer term plan to abandon custom forms and bring in some of that fancier stuff into this repo in future perhaps?

@adamwathan
Copy link
Member

Custom forms is deprecated and not supported in Tailwind 2. What sort of customizations are you having issues with? You should be able to customize things however you want by just opening up your CSS file and writing the CSS you need. I found that the customization API in custom forms was terrible, just a worse and more confusing version of simply writing CSS which is why we've opted to not offer any API like that with this library and instead encourage people to just add their own base styles that provide any desired overrides.

@chrisrowe
Copy link
Author

Thanks for the prompt response. This makes total sense, I guess I was getting hung up on the ability to set checkbox icons and colors etc but I'll defer to CSS to handle those edge cases. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants