Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

tailwindcss-v4

БесплатноБез исполняемых скриптовНе проверен

Use when migrating a project from Tailwind v3 to v4, mapping @theme namespaces to generated utilities, or looking up renamed/removed v3 utilities.

Fusengineот Fusengine★ 36 звёзд на GitHub12 установок в других каталогах

Об этом скилле

Documents Tailwind CSS v4 (current stable v4.3) core features relevant to a v3→v4 migration: the `@theme` namespace-to-generated-utility mapping (`--color-*`→`bg-*`/`text-*`, `--spacing-*`→`p-*`/`m-*`/`gap-*`, etc.), the v3→v4 breaking changes (removed `@tailwind` directives, renamed utilities like `shadow-sm`→`shadow-xs`, removed `bg-opacity-*`/`flex-shrink-*`, the `@utility` custom-utility syntax change, arbitrary-value variable syntax, important-modifier position), and the `@tailwindcss/upgrade` CLI tool.

Not the day-to-day CSS-first configuration reference (tailwindcss-core owns @theme/@utility/@variant usage) and not a utility-class lookup (the category skills own that).

Tailwind CSS v4.3 Core

Current stable: tailwindcss 4.3.5 (2026-11-06). Minor releases since v4.0: v4.1 (text shadows, masks), v4.2 (mauve/olive/mist/taupe palettes, @tailwindcss/webpack, logical pbs/mbs/inline-*/block-*/inset-s|e|bs|be utilities, font-features-*; start-*/end-* deprecated), v4.3 (scrollbar utilities, @container-size, zoom-*, tab-*, stacked/compound @variant, --default() in functional @utility; v4.3.4 adds @tailwindcss/turbopack, a Turbopack loader for Next.js).

Documentation

Quick Reference - @theme Namespaces

Namespace Generated Utilities
--color-* bg-, text-, border-, fill-
--font-* font-*
--text-* text-xs, text-sm, text-base, etc.
--spacing-* p-, m-, gap-, w-, h-*
--radius-* rounded-*
--shadow-* shadow-*
--breakpoint-* sm:, md:, lg:, xl:
--animate-* animate-spin, animate-bounce, etc.
--ease-* ease-in, ease-out, ease-in-out

v3 → v4 Breaking Changes

Removed @tailwind directives

/* v3 */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* v4 */
@import "tailwindcss";

Renamed utilities

v3 v4
shadow-sm shadow-xs
shadow shadow-sm
rounded-sm rounded-xs
rounded rounded-sm
outline-none outline-hidden
ring ring-3

Removed deprecated utilities

  • bg-opacity-* → use bg-black/50
  • text-opacity-* → use text-black/50
  • flex-shrink-* → use shrink-*
  • flex-grow-* → use grow-*

Custom utilities syntax

/* v3 */
@layer utilities {
  .tab-4 {
    tab-size: 4;
  }
}

/* v4 */
@utility tab-4 {
  tab-size: 4;
}

Variables in arbitrary values

<!-- v3 -->
<div class="bg-[--brand-color]"></div>

<!-- v4 -->
<div class="bg-(--brand-color)"></div>

Important modifier position

<!-- v3 -->
<div class="!bg-red-500">

<!-- v4 -->
<div class="bg-red-500!">

Upgrade Tool

npx @tailwindcss/upgrade

Requires Node.js 20+

Detailed References

  • configuration.md - Load when writing CSS-first @theme config or using @utility/@variant/@custom-variant directives
  • api-functions.md - Load when using the --alpha()/--spacing() CSS functions or @apply
  • installation-support.md - Load when installing Tailwind v4 (npm/Vite/CLI/webpack) or checking browser support
Полный SKILL.md на GitHub

Установить tailwindcss-v4 в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/api-functions.mdreferences/configuration.mdreferences/installation-support.md

FAQ

Что делает скилл tailwindcss-v4?

Use when migrating a project from Tailwind v3 to v4, mapping @theme namespaces to generated utilities, or looking up renamed/removed v3 utilities.

Как установить скилл tailwindcss-v4?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tailwindcss-v4 запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить tailwindcss-v4 с