
Tailwind Patterns
This is a reference guide for Tailwind CSS v4's major architectural shift from JavaScript config files to CSS-native theming with the @theme directive. It covers the new Oxide engine, container queries, OKLCH color tokens, and the move away from @apply directives. Use it when you're migrating from v3 or building new projects with CSS-first configuration. The tables are dense with specifics: breakpoint values, when to use container queries over viewport media queries, dark mode strategies, and modern layout patterns. One thing to note is that v4 discourages some old patterns like heavy @apply usage, so if you're used to v3 habits, this will push you toward component extraction instead.
- skills.sh installs
- 1.1K
- GitHub stars
- 43.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill tailwind-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
Tailwind CSS Patterns (v4 - 2025)
Modern utility-first CSS with CSS-native configuration.
When to Use
Use this skill when configuring Tailwind v4, using CSS-first theme and design tokens, or implementing container queries and modern Tailwind patterns.
1. Tailwind v4 Architecture
What Changed from v3
| v3 (Legacy) | v4 (Current) |
|---|---|
tailwind.config.js | CSS-based @theme directive |
| PostCSS plugin | Oxide engine (10x faster) |
| JIT mode | Native, always-on |
| Plugin system | CSS-native features |
@apply directive | Still works, discouraged |
v4 Core Concepts
| Concept | Description |
|---|---|
| CSS-first | Configuration in CSS, not JavaScript |
| Oxide Engine | Rust-based compiler, much faster |
| Native Nesting | CSS nesting without PostCSS |
| CSS Variables | All tokens exposed as --* vars |
2. CSS-Based Configuration
Theme Definition
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- Category
- Frontend Development
- First seen
- May 16, 2026
More from sickn33/antigravity-awesome-skills
All 708- Test Driven Development1.1K
- Typescript Advanced Types1.1K
- Inngest1K
- Langgraph1K
- Unreal Engine Cpp Pro1K
- Vulnerability Scanner1K
- Radix Ui Design System993
- Security Auditor985
- Code Refactoring Refactor Clean982
- Autonomous Agents977
- React Patterns970
- Lint And Validate968
- File Organizer967
- Architect Review965
- Frontend Developer964
- Blockchain Developer956
- Seo Fundamentals956
- App Builder953
- Geo Fundamentals949
- Ai Engineer948
- Production Code Audit937
- Pptx Official928
- Daily News Report921
- Doc Coauthoring921