What problem does it solve?
This Skill unit offers a comprehensive guide to Tailwind CSS v4, helping developers understand and implement modern CSS-first configuration, design token architecture, responsive design, and more.
Core Features & Use Cases
- Tailwind CSS v4 Overview: Explains the architectural changes from v3, including CSS-first configuration and the Oxide engine.
- CSS-Based Configuration: Shows how to define themes and extend or override values using CSS.
- Container Queries: Introduces v4's native container queries and when to use them over breakpoints.
- Responsive Design: Covers the mobile-first principle and the Breakpoint System.
- Dark Mode: Discusses dark mode configuration strategies and patterns.
- Modern Layout Patterns: Explains how to use Flexbox and Grid for modern layouts.
- Modern Color System: Details the OKLCH color format and color token architecture.
- Typography System: Provides recommendations for font stacks and type scales.
- Animation & Transitions: Describes built-in animations and transition patterns.
- Component Extraction: Offers guidance on when and how to extract components.
- Anti-Patterns: Warns against common pitfalls and how to avoid them.
- Performance Principles: Outlines the principles for optimizing Tailwind CSS performance.
Quick Start
Use the tailwind-patterns skill to learn about Tailwind CSS v4 principles and modern patterns.