tailwindlabs / tailwindcss-forms

A plugin that provides a basic reset for form styles that makes form elements easy to override with utilities.
https://tailwindcss-forms.vercel.app
MIT License
4.15k stars 218 forks source link

Pull colors from tailwindcss/colors, not defaultTheme #83

Closed adamwathan closed 2 years ago

adamwathan commented 2 years ago

The color palette is slightly different in the upcoming Tailwind CSS v3 release, and the format of the default config file has changed to define colors as a function. This means referencing defaultTheme.colors doesn't work the way it did in v2, so this PR updates the forms plugin to pull the default colors directly from tailwindcss/colors instead.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tailwindlabs/tailwindcss-forms/GGVR3E71xhrb4GU7Q1iePJTnKH4C
✅ Preview: https://tailwindcss-forms-git-update-colors-tailwindlabs.vercel.app