Closed zoedsoupe closed 3 years ago
Hey! This plugin is deprecated and not compatible with Tailwind CSS v2.0. You want to check out the @tailwindcss/forms plugin instead for 2.0 support 👍🏻
As @tailwindcss/custom-forms
does not works with tailwind v2.0+
I'm moving this issue to @tailwind/forms
: tailwindlabs/tailwindcss-forms#62
Hey! This plugin is deprecated and not compatible with Tailwind CSS v2.0. You want to check out the @tailwindcss/forms plugin instead for 2.0 support 👍🏻
Oh, thanks! Some research after I posted this issue I found this exacly explanation! I didn't see that you answered.
I successfully added
@tailwindcss/custom-forms
to my Elixir Phoenix project.However it seems that any
form-*
style class don't add some styles or add none at all.Version tailwind: 2.0.3 custom-forms: 0.2.1 postcss: 8.2.6
tailwind.config.js
form compoenents app.scss
form.css
How I use I created a new
input/2
function that have this custom classesbasic-form*
, as:Screenshot No focus:
With focus:
Input inspect styles:
Maybe can be a newbie error from my part but I'm not getting how to debbug or solve this issue.