Skip to content

Commit fc05f0e

Browse files
feat: migrate to Tailwind CSS v4
Follows docs/tailwind-v4-migration.md: installs @tailwindcss/postcss and points Angular's PostCSS pipeline at it via .postcssrc.json, swaps the @tailwind base/components/utilities directives in styles.css for @import "tailwindcss", and bridges the existing tailwind.config.js (darkMode: "class", content globs) via @config so nothing else needs to change. Drops autoprefixer, which v4 now handles internally. Verified with a production build, the full test suite, and a visual check of the dev server in both light and dark mode.
1 parent 07e95eb commit fc05f0e

4 files changed

Lines changed: 625 additions & 863 deletions

File tree

.postcssrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"plugins": {
3+
"@tailwindcss/postcss": {}
4+
}
5+
}

0 commit comments

Comments
 (0)