What problem does it solve? Setting up Tailwind CSS v4 with shadcn/ui involves breaking changes from v3—deprecated config files, new @theme inline syntax, and plugin directive changes—that cause build failures and broken themes when done from memory. ## Core Features & Use Cases - Four-Step Architecture: Enforces the mandatory pattern of root-level CSS variables, @theme inline mapping, base layer styles, and automatic dark mode switching. - Ready-to-Copy Templates: Provides production-tested index.css, vite.config.ts, components.json, theme-provider.tsx, and cn() utility files. - Troubleshooting References: Documents 18 known gotchas including tw-animate-css import errors, duplicate @layer base blocks, and double hsl() wrapping. - Use Case: When scaffolding a new Vite + React project, follow the quick start to install @tailwindcss/vite, configure components.json with an empty config field, and get working light/dark theming in minutes. ## Quick Start Set up Tailwind CSS v4 with shadcn/ui in my Vite React project including dark mode support.