What problem does it solve?
This Skill helps teams build scalable, cohesive design systems by adopting Tailwind CSS v4 with design tokens and component libraries, reducing UI drift and boosting consistency across projects.
Core Features & Use Cases
- Design Tokens: Centralized semantic tokens defined with an @theme block to ensure consistent colors, typography, and spacing.
- Component Library: Recipes and patterns for building reusable CVA-based components with responsive variants.
- Migration & Theming: Guidance for migrating from Tailwind v3 to v4 and enabling native CSS theming for dark mode.
- Use Case: Standardize UI patterns across a multi-project workspace and accelerate design-to-code handoffs.
Quick Start
Create an app.css with Tailwind v4 CSS-first configuration.
Define a CSS @theme block to declare semantic tokens (colors, typography, radii, shadows).
Use @custom-variant for dark mode and build components with class-variance-authority patterns.
Import the theme into your CSS and run your build to generate the design system styles.