What problem does it solve?
This Skill prevents inconsistent, outdated, and fragile styling practices by guiding Tailwind CSS v4 implementation around CSS-first theming, container-query responsive design, and scalable token architecture.
Core Features & Use Cases
- CSS-first Tailwind v4 architecture: Use the CSS-based @theme directive with design tokens exposed as CSS variables.
- Container-query responsive components: Prefer @container and container-scoped breakpoints for reusable, context-independent UI.
- Modern UI system patterns: Establish consistent strategies for dark mode, layout (flex/grid), typography, animations, transitions, and component extraction.
- Performance and anti-pattern guardrails: Avoid mixing legacy v3 practices, reduce specificity issues, and prefer token-based values over arbitrary styling.
Quick Start
Ask an AI assistant: "Using the Tailwind CSS v4 guidelines in tailwind-patterns, propose a semantic token @theme block and show how to make a responsive card component using container queries and dark mode utilities."