-
Notifications
You must be signed in to change notification settings - Fork 1
Tailwind CSS v4 마이그레이션 및 CSS-first 설정 전환 #11
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Review Summary by QodoTailwind CSS v4 migration with CSS-first configuration and utility class updates
WalkthroughsDescription• Migrate Tailwind CSS from v3 to v4 with CSS-first configuration • Update PostCSS config to use @tailwindcss/postcss plugin • Refactor globals.css with @theme, @custom-variant, @utility directives • Update utility class names for v4 compatibility (e.g., shadow-sm, outline-hidden, rounded-sm) • Add AGENTS.md documentation for coding agent guidelines • Add PR template for standardized pull request format Diagramflowchart LR
A["Tailwind v3<br/>Config-based"] -->|Upgrade| B["Tailwind v4<br/>CSS-first"]
C["postcss.config.mjs<br/>tailwindcss plugin"] -->|Replace| D["@tailwindcss/postcss<br/>plugin"]
E["tailwind.config.ts<br/>JS configuration"] -->|Migrate to| F["globals.css<br/>@theme directives"]
G["Old utility classes<br/>shadow, outline-none"] -->|Update| H["v4 utilities<br/>shadow-sm, outline-hidden"]
B --> I["Updated components<br/>& pages"]
D --> I
F --> I
H --> I
File Changes1. app/globals.css
|
Code Review by Qodo
✅ 1.
|
개요
Tailwind CSS를 v3에서 v4로 마이그레이션하고, 설정 방식을 CSS-first로 전환
주요 변경사항
tailwindcss->^4.1.18@tailwindcss/postcss추가postcss.config.mjs에서tailwindcss플러그인을@tailwindcss/postcss로 교체app/globals.css에@theme,@custom-variant,@plugin설정 이관tailwind.config.ts제거bg-50%->bg-size-50검증
yarn lint실행 (기존 경고 유지)yarn build실행 통과참고/영향