tailwind-theme-builder

Configure Tailwind CSS v4 with shadcn/ui for React projects using pnpm and Vite.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/aleeM42/crm-2jmcmedios --skill tailwind-theme-builder-aleem42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-theme-builder
Source: https://github.com/aleeM42/crm-2jmcmedios/tree/main/.agents/skills/tailwind-theme-builder
Command: npx skills add https://github.com/aleeM42/crm-2jmcmedios --skill tailwind-theme-builder-aleem42

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tailwindcss, @tailwindcss/vite, tw-animate-css, shadcn, and includes assets (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the setup of Tailwind CSS v4 with shadcn/ui, ensuring correct theming, dark mode implementation, and resolving common configuration conflicts.

Core Features & Use Cases

  • Automated Tailwind v4 Setup: Installs necessary dependencies and configures Tailwind v4 for optimal theming.
  • shadcn/ui Integration: Sets up shadcn/ui components with proper theming and dark mode support.
  • Conflict Resolution: Addresses issues like incorrect CSS variables, dark mode conflicts, and @apply errors.
  • Use Case: When starting a new React project that requires a modern UI with Tailwind v4 and shadcn/ui, use this Skill to quickly establish a robust and correctly themed foundation, avoiding common setup pitfalls.

Quick Start

Initialize a new React project with Tailwind v4 and shadcn/ui theming by running the provided setup commands.

Frequently Asked Questions about tailwind-theme-builder

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

FAQPage Schema
How do I configure Tailwind v4 with shadcn/ui in a React project?

To configure Tailwind v4 with shadcn/ui, this setup automates dependency installation and CSS variable mapping. It requires Vite as the build tool and pnpm for dependency management to establish a themed foundation.

Why does my shadcn/ui dark mode implementation have conflicts in Tailwind v4?

Dark mode conflicts in Tailwind v4 often stem from incorrect CSS variable mappings. This setup resolves these issues by automating correct dark mode implementation and addressing configuration conflicts for shadcn/ui components.

Do I need pnpm and Vite to set up Tailwind v4 theming?

Yes, you need pnpm for dependency management and Vite as the build tool to use this automated Tailwind v4 theming setup. These tools ensure correct dependency installation and build configuration for shadcn/ui integration.

What causes @apply errors when setting up Tailwind CSS v4?

@apply errors in Tailwind CSS v4 are typically caused by incorrect configuration or missing dependencies. This setup resolves common build errors like @apply issues by ensuring proper Tailwind v4 and shadcn/ui configuration.

What is the best way to resolve CSS variable mapping issues in Tailwind v4?

The best way to resolve CSS variable mapping issues is to ensure correct configuration between Tailwind v4 and shadcn/ui. This setup addresses incorrect CSS variables automatically, preventing common theming pitfalls.