What problem does it solve?
Tailwind CSS accelerates UI development but without a coherent design system, projects risk inconsistent visuals and high maintenance. This Skill provides a structured approach to using Tailwind utilities alongside design tokens, MD3 patterns, and accessibility practices to deliver scalable, cohesive interfaces.
Core Features & Use Cases
- Design tokens & theming: Map CSS variables to Tailwind colors for consistent light/dark theming.
- Responsive UI patterns: Implement mobile-first layouts with breakpoints and MD3 elevations for depth.
- Component patterns & accessibility: Use the cn() utility for reliable class merging, ensure focus indicators and WCAG-compliant contrast.
- Use Case: Build a reusable Button component that adapts to light/dark modes and supports multiple variants.
Quick Start
Start by scaffolding a Tailwind project (v4), define token mappings in your globals and tailwind.config.ts, then implement a Button using the primary variant with token-based colors.