What problem does it solve?
This Skill helps developers bootstrap a modern Tailwind v4 + shadcn/ui setup using a CSS-variable themed architecture. It eliminates complexity around configuring v4 theming, enables automatic dark mode, and unifies semantic color tokens across a React + Vite project.
Core Features & Use Cases
- Four-step theming pattern: define CSS variables at root, map to Tailwind with @theme inline, apply base styles, and enable automatic dark mode.
- Zero-tailwind-config workflow: relies on CSS-first config and a minimal components.json entry, removing the need for tailwind.config.ts.
- Dark mode & semantic colors: includes ThemeProvider integration and semantic color classes that respond automatically to theme changes.
- Migration-friendly: provides a clear pattern for upgrading from Tailwind v3 and reference guides for smoother adoption.
Quick Start
Follow these steps to bootstrap Tailwind v4 + shadcn/ui in a React + Vite project:
- Install dependencies: pnpm add tailwindcss @tailwindcss/vite
- Initialize shadcn/ui: pnpm dlx shadcn@latest init
- Delete legacy config if present: rm tailwind.config.ts
- Ensure components.json is configured with an empty tailwind config: { "tailwind": { "config": "" } }