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 the new Tailwind v4 CSS config #1529

Closed
1 task done
TheOnlyTails opened this issue Dec 1, 2024 · 2 comments
Closed
1 task done

Support the new Tailwind v4 CSS config #1529

TheOnlyTails opened this issue Dec 1, 2024 · 2 comments
Labels
type: feature Introduction of new functionality to the application

Comments

@TheOnlyTails
Copy link
Contributor

Prerequisites

  • This feature already exists in shadcn/ui - if not, it won't be considered here so don't continue with your issue.

Describe the feature

Detect when the tailwindcss v4 beta is installed, and generate the config directly into app.css.
I've made an example of such config (that I use in my own app) here: https://gist.github.com/TheOnlyTails/2be83c37d96ed988c8d3353ec8574a75

This new config uses tailwind's new --color-* variables, plus the light-dark() function to handle theming and @utility to extend the container class.

@TheOnlyTails TheOnlyTails added the type: feature Introduction of new functionality to the application label Dec 1, 2024
@luxus
Copy link

luxus commented Dec 1, 2024

only update to beta and the app.css?

@huntabyte
Copy link
Owner

When it is stable and ready - duplicate of #1527

@huntabyte huntabyte closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

3 participants