tailwindv4

Migrate Tailwind CSS projects from v3 to v4 with CSS-first configuration.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/nthplusio/functional-claude --skill tailwindv4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwindv4
Source: https://github.com/nthplusio/functional-claude/tree/main/plugins/shadcn-dev/skills/tailwindv4
Command: npx skills add https://github.com/nthplusio/functional-claude --skill tailwindv4

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Upgrading Tailwind projects from v3 to v4 and adopting a CSS-first configuration can be error-prone and time-consuming. This Skill provides structured guidance, migration steps, and reference material to streamline the upgrade for developers and design teams.

Core Features & Use Cases

  • Migration guidance: Step-by-step procedures to move from v3 to v4, update dependencies, and adapt configuration files.
  • CSS-first token strategy: Demonstrates using the @theme block and CSS variables to manage colors, typography, and spacing with OKLCH colors.
  • Reference material: Access to migration guides, syntax references, and OKLCH color documentation to support ongoing maintenance.

Quick Start

Begin by installing Tailwind CSS v4, then migrate your CSS to use the @theme block and the new v4 syntax. Refer to references/v4-syntax.md and references/migration-guide.md for detailed steps and examples.

Frequently Asked Questions about tailwindv4

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate from Tailwind CSS v3 to v4?

Migrating from Tailwind CSS v3 to v4 involves installing the new version, updating dependencies, and adapting configuration files to use the new CSS-first syntax and @theme block for design tokens.

What is CSS-first configuration in Tailwind v4?

CSS-first configuration in Tailwind v4 uses the @theme block and CSS variables to manage colors, typography, and spacing directly in your stylesheets, replacing the traditional JavaScript configuration file approach.

How do I use OKLCH colors in Tailwind CSS theming?

You can use OKLCH colors in Tailwind CSS theming by defining them as design tokens within the @theme block, allowing your web-development project to leverage the OKLCH color space for broader and more consistent color gamuts.

Does Tailwind v4 support my existing v3 configuration file?

Tailwind v4 moves away from JavaScript configuration files toward a CSS-first approach, meaning you will need to adapt your existing v3 configuration into the new @theme block syntax during the migration process.

What are the common issues when upgrading to Tailwind v4?

Common issues when upgrading to Tailwind v4 involve updating dependencies and adapting configuration files to the new CSS-first syntax, which can be error-prone without structured migration guidance and reference material.