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

Update to tailwind v4 #10949

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Update to tailwind v4 #10949

merged 1 commit into from
Jan 30, 2025

Conversation

gustavlrsn
Copy link
Member

@gustavlrsn gustavlrsn commented Jan 27, 2025

Introduces Tailwind v4, for a list of the biggest changes, see the release blog.

One major change is that the tailwind condiguration has moved from the tailwind.config.js file to be part of the CSS (public/static/styles/app.css)

Migration was done with the TailwindCSS upgrade tool: npx @tailwindcss/upgrade@next

VSCode IntelliSense setup

When using the VSCode extension Tailwind CSS Intellisense, make sure to set these VSCode settings to make it work:

{
  "tailwindCSS.experimental.configFile": "public/static/styles/app.css",
  "files.associations": {
    "*.css": "tailwindcss"
  }
}

Copy link

vercel bot commented Jan 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
opencollective-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 30, 2025 1:53pm

@gustavlrsn gustavlrsn merged commit a30cec6 into main Jan 30, 2025
18 of 19 checks passed
@gustavlrsn gustavlrsn deleted the deps/tailwind-v4 branch January 30, 2025 14:03
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

Successfully merging this pull request may close these issues.

1 participant