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

Support For tailwind 3.0.X #588

Closed
RohitM-IN opened this issue Dec 11, 2021 · 1 comment
Closed

Support For tailwind 3.0.X #588

RohitM-IN opened this issue Dec 11, 2021 · 1 comment

Comments

@RohitM-IN
Copy link

RohitM-IN commented Dec 11, 2021

tailwind 3.0.x many new features and color palette are added hope to see it in action soon

Example Error :
βœ• bg-violet-500 was not found
New color palette ( replaced purple to violet 😒 )

@RohitM-IN RohitM-IN changed the title Support For tailwind 3.0.1 Support For tailwind 3.0.X Dec 11, 2021
@ben-rogerson
Copy link
Owner

ben-rogerson commented Dec 11, 2021

I've created an issue for the v3 update which I'll keep updated thoughout the upgrade process.

The new colors can be used now with this config:

// tailwind.config.js
const colors = require('tailwindcss/colors') // Be sure to upgrade `tailwindcss` to v3.

module.exports = {
  theme: {
    extend: {
      colors: {
        electric: "#db00ff",
        ribbon: "#0047ff",
        ...colors
      },
    },
  },
};

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