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

Add option to export to tailwind config and use css vars #76

Open
omriluz opened this issue May 10, 2024 · 1 comment
Open

Add option to export to tailwind config and use css vars #76

omriluz opened this issue May 10, 2024 · 1 comment

Comments

@omriluz
Copy link

omriluz commented May 10, 2024

something like this

{
  "colors": {
    "purple": {
      50: "var(--purple-50)",
     */......./*
      950: "var(--purple-950)"
    }
  }
}
@courdek
Copy link
Contributor

courdek commented Sep 6, 2024

If you use tailwind v4, TW will automatically create color variables for all the 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