tailwind-4

Apply Tailwind CSS v4 utility classes and CSS-native @theme theming.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/felipe3dfx/dotfiles --skill tailwind-4-felipe3dfx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-4
Source: https://github.com/felipe3dfx/dotfiles/tree/main/skills/tailwind-4
Command: npx skills add https://github.com/felipe3dfx/dotfiles --skill tailwind-4-felipe3dfx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers efficiently style web applications using Tailwind CSS v4, addressing common challenges with utility classes, theme customization, and integration with modern frameworks.

Core Features & Use Cases

  • Styling with Utility Classes: Apply Tailwind's utility classes for rapid UI development.
  • Theme Customization: Leverage CSS-native @theme for defining custom colors, fonts, and breakpoints.
  • Integration: Seamlessly integrate with Django templates, Alpine.js, and HTMX.
  • Use Case: Quickly style a responsive card component in a Django template, ensuring dark mode compatibility and using custom theme variables for branding.

Quick Start

Use the tailwind-4 skill to apply a dark mode background and text color to a div element.

Frequently Asked Questions about tailwind-4

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

FAQPage Schema
How do I customize theme colors and breakpoints in Tailwind CSS v4?

Tailwind CSS v4 customizes theme colors and breakpoints using the CSS-native `@theme` directive. This approach allows you to define custom design tokens directly in CSS for branding.

Can I use Tailwind CSS v4 with Django templates and Alpine.js?

Tailwind CSS v4 integrates with Django templates and Alpine.js by applying utility classes within server-side structures and coordinating them with client-side interactivity for dynamic styling.

What is the best way to style a responsive dark mode component with Tailwind?

The best way to style a responsive dark mode component is applying Tailwind utility classes for layout and dark mode variants directly to HTML elements, ensuring cross-browser compatibility.

How does Tailwind CSS v4 handle custom directives for web styling?

Tailwind CSS v4 handles custom directives by utilizing CSS-native features like `@theme` to define custom properties, enabling efficient web styling without additional configuration files.

Does Tailwind CSS v4 work with HTMX for frontend development?

Tailwind CSS v4 works with HTMX by applying utility classes to HTML elements that HTMX targets, allowing rapid UI development and styling for server-driven dynamic content updates.

When do I need CSS-native theming for frontend styling?

You need CSS-native theming when defining custom colors, fonts, and breakpoints directly in your stylesheet, allowing you to maintain brand consistency without external configuration.