What problem does it solve?
This Skill removes the confusion and boilerplate involved in adopting Tailwind CSS v4, especially when moving to CSS-first configuration, design tokens, and modern dark mode handling.
Core Features & Use Cases
- Setup Guidance: Explains the Vite plugin workflow, CSS entry-point setup, and why separate Tailwind config files are no longer needed.
- Theming and Tokens: Shows how to define colors, spacing, fonts, breakpoints, and animations with @theme and OKLCH values.
- Dark Mode Strategies: Covers media-query, class-based, and attribute-based approaches for apps that need user-controlled or system-controlled themes.
- Use Case: A frontend engineer can use this Skill to scaffold a consistent Tailwind v4 foundation for a new product UI and establish scalable token-based styling from day one.
Quick Start
Use the tailwind-v4 skill to configure Tailwind CSS v4 in a Vite project with CSS-first theming, dark mode support, and design tokens.