What problem does it solve?
Tailwind v4 + shadcn/ui theming often fails when CSS variables, the @theme inline mapping, and dark mode wiring are not structured in the required order, leading to missing semantic color utilities or non-functioning dark mode.
Core Features & Use Cases
- Tailwind v4 semantic theming architecture: defines root-level CSS variables and maps them to Tailwind utilities via @theme inline so classes like bg-background and text-primary work consistently.
- Dark mode implemented correctly: switches themes by toggling the .dark class (with ThemeProvider) instead of relying on dark: variants for semantic colors.
- shadcn/ui-compatible setup: bootstraps shadcn/ui, configures Vite with the Tailwind v4 plugin, and provides a theme provider + utilities to use in a React app.
- Fixes common real-world breakages: prevents issues such as bg-primary not generating, duplicate @layer base blocks, broken @theme inline placement, and deprecated animation dependencies.
Quick Start
Follow the workflow in the skill to initialize Tailwind v4 and shadcn/ui, then copy the provided CSS/theme-provider assets and wrap your app with the ThemeProvider to enable working semantic colors and dark mode.