Tailwind CSS is a utility-first CSS framework. Style by combining single-purpose classes in markup.
We use Tailwind v4 only. There is no tailwind.config.js, tailwind.config.ts, or tailwind.config.mjs. Configuration is done in CSS via @import "tailwindcss" and the @theme directive, plus the Vite or PostCSS plugin.
Core principle: Prefer utility classes in markup; extend with @theme and custom CSS when needed. Never suggest or create tailwind.config. or content/theme in a config file.
Richten Sie Tailwind CSS v4 nur mit Next.js (App Router), Vite oder CLI ein und verwenden Sie es. kein tailwind.config.js – Theme über @theme in CSS. Verwenden Sie diese Option, wenn Sie mit Tailwind stylen, Tailwind konfigurieren, Tailwind, Dienstprogrammklassen, @theme, @layer, @utility installieren oder wenn der Benutzer Tailwind CSS oder Tailwind v4 erwähnt. Quelle: enderpuentes/ai-agent-skills.