tailwindcss

Tailwind CSS v4 setup, theme variables, content sources, custom styles, and Vite/PostCSS/CLI integration. Use when styling with utility classes, configuring theme or content, or integrating Tailwind in a build pipeline.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tailwindcss" with this command: npx skills add johnsonmao/skills/johnsonmao-skills-tailwindcss

Tailwind CSS

Skill is based on Tailwind CSS v4.1, generated at 2026-02-06.

Tailwind CSS is a utility-first CSS framework. v4 is configured in CSS via @theme and @source (no tailwind.config.js). Supports Vite, PostCSS, and CLI.

Core References

TopicDescriptionReference
InstallationVite, PostCSS, and CLI setup; CSS entrycore-installation
Theme@theme, design tokens, namespaces, extending/overridingcore-theme
Content & sourcesClass detection, @source, base path, safelistcore-content-sources
CLIBuild command, --input, --output, --watch, --minifycore-cli

Features

TopicDescriptionReference
Custom stylesArbitrary values, @layer, @utility, @custom-variantfeatures-custom-styles

Integrations

TopicDescriptionReference
Vite plugin@tailwindcss/vite options (optimize, minify)integrations-vite
PostCSS plugin@tailwindcss/postcss options (base, optimize, transformAssetUrls)integrations-postcss

Quick reference

CSS entry (all setups):

@import "tailwindcss";

Theme and sources in CSS:

@theme { --color-mint-500: oklch(0.72 0.11 178); }
@source "../node_modules/@acme/ui";

Vite: plugins: [tailwindcss()] · PostCSS: plugins: { '@tailwindcss/postcss': {} } · CLI: npx @tailwindcss/cli -i input.css -o output.css --watch

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

finishing-a-development-branch

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

receiving-code-review

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

requesting-code-review

No summary provided by upstream source.

Repository SourceNeeds Review