question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for @tailwindcss/forms plugin

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

9reactions
ben-rogersoncommented, Nov 30, 2020

Good news, I’m feeling pretty positive I can add support for addBase.

8reactions
ben-rogersoncommented, Dec 8, 2020

Just a quick update, twin will soon have support for plugins using addBase, just some testing and tweaking before it’s released 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plugins - Tailwind CSS
The @tailwindcss/forms plugin adds an opinionated form reset layer that makes it easier to style form elements with utility classes.
Read more >
tailwindlabs/tailwindcss-forms - GitHub
A plugin that provides a basic reset for form styles that makes form elements easy to override with utilities. Installation. Install the plugin...
Read more >
How to use the form plugin in Tailwind CSS - Educative.io
Tailwind CSS Forms is a plugin that improves the default styling of form elements and makes it easier to customize them using utility...
Read more >
TailwindCSS - How To Use 3rd Party Plugins - YouTube
In today's TailwindCSS How To video, we'll go through the steps required to use 3rd ... I'll be using the popular TailwindCSS forms...
Read more >
tailwindcss/forms plugin not working with React - Stack Overflow
I am trying to use the tailwindcss plugin forms, so I've installed it via npm using npm install @tailwindcss/forms and added the dependency ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found