profile
viewpoint

Ask questionsAdd support for @tailwindcss/forms plugin

<!--

Thanks for taking the time to post a bug or issue!

Please include some information like:

  1. The buggy behavior you’re experiencing
  2. What should be happening instead
  3. If you're using styled-components, emotion, or something else
  4. A link to a minimal demo showing the bug in action
Try forking one of these CodeSandboxes to get started:
https://codesandbox.io/u/ben-rogerson/sandboxes

--> As of tailwind 2.0, tailwind has dropped the tailwindui plugin in favour of 3 1st party plugins(https://tailwindui.com/documentation)

All of the examples in Tailwind UI rely on the default Tailwind CSS v2.0 configuration, but some rely on additional first-party plugins like @tailwindcss/forms, @tailwindcss/typography, and @tailwindcss/aspect-ratio.

It looks like https://github.com/tailwindlabs/tailwindcss-forms works by adding additional css resets for form elements, however when using twin and GlobalStyles these do not seem to be applied as the plugin uses addBase to add these changes.

ben-rogerson/twin.macro

Answer questions rodolphoasb

Yeah, @anark is right.

I migrated to @tailwindcss/forms but I'm not able to add custom style to checkbox inputs for example...

useful!
source:https://uonfu.com/
Github User Rank List