What problem does it solve? Setting up Tailwind CSS v4 with shadcn/ui breaks easily because v4 changed the configuration model: no tailwind.config.ts, CSS-first @theme inline mapping, and new @plugin directives. This Skill provides production-tested patterns that prevent common build failures, broken colors, and non-switching dark mode. ## Core Features & Use Cases - Four-Step CSS Architecture: Defines CSS variables at root level, maps them via @theme inline, applies base styles, and gets automatic dark mode without dark: variants. - Dark Mode Implementation: Provides a ThemeProvider with localStorage persistence, system theme detection, and a shadcn/ui dropdown toggle component. - Troubleshooting & Migration: Documents 18 known gotchas (tw-animate-css errors, duplicate @layer base, double hsl() wrapping) plus a v3-to-v4 migration guide and official plugin setup for Typography and Forms. - Use Case: A developer scaffolding a new Vite + React 19 project copies the provided index.css, vite.config.ts, components.json, and theme-provider.tsx templates to get a working themed UI in minutes without debugging CSS variable issues. ## Quick Start Ask the AI to set up Tailwind v4 with shadcn/ui in your Vite React project using this skill's four-step architecture and templates.