Tailwind CSS v4 with Next.js
Tailwind v4 uses a CSS-first configuration model — no more tailwind.config.js by default. Import Tailwind directly in your global CSS file and use the new @theme block to customise design tokens.
Tailwind v4 uses a CSS-first configuration model — no more tailwind.config.js by default. Import Tailwind directly in your global CSS file and use the new @theme block to customise design tokens.