
Tailwind Theme Builder
Tailwind v4 theming setup for shadcn/ui with CSS variables, dark mode, and troubleshooting for common migration errors.
- skills.sh installs
- 3.3K
- GitHub stars
- 1.1K
- last updated
- Aug 21, 2026
What it does
- Covers the full setup flow: dependency install, Vite plugin config, a four-step CSS variable architecture, dark mode wiring, and
components.jsonconfiguration - Includes a
ThemeProvider, aModeTogglecomponent built on shadcn dropdown menu, and an 18-entry gotcha table with symptom, cause, and fix - Enforces rules such as wrapping colours in
hsl()inside:rootand.dark, using@theme inline, and avoiding:rootinside@layer base - Designed for projects migrating from Tailwind v3 or troubleshooting colours,
tw-animate-csserrors, or@applybreakage after upgrade
Install
$ npx -y skills add jezweb/claude-skills --skill tailwind-theme-builder -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Tailwind Theme Builder
Set up a fully themed Tailwind v4 + shadcn/ui project with dark mode. Produces configured CSS, theme provider, and working component library.
Architecture: The Four-Step Pattern
Tailwind v4 requires a specific architecture for CSS variable-based theming. This pattern is mandatory -- skipping or modifying steps breaks the theme.
How It Works
CSS Variable Definition --> @theme inline Mapping --> Tailwind Utility Class
--background --> --color-background --> bg-background
(with hsl() wrapper) (references variable) (generated class)
Dark mode switching:
ThemeProvider toggles .dark class on <html>
--> CSS variables update automatically (.dark overrides :root)
--> Tailwind utilities reference updated variables
--> UI updates without re-render
Best Practices
Details
- Repository
- github.com/jezweb/claude-skills
- Categories
- Frontend & UI Code, Design & UI/UX
More from jezweb/claude-skills
All 64- Ux Audit3.1K
- Wordpress Elementor3.1K
- Image Processing2.5K
- Favicon Gen2.3K
- Tanstack Start2.2K
- Google Apps Script2.1K
- Icon Set Generator2K
- Seo Local Business1.9K
- Responsiveness Check1.9K
- Vitest1.8K
- Wordpress Content1.7K
- D1 Drizzle Schema1.7K
- Elevenlabs Agents1.7K
- Project Health1.6K
- Wordpress Setup1.6K
- Hono Api Scaffolder1.6K
- Landing Page1.5K
- Design Review1.5K
- Mcp Builder1.4K
- Social Media Posts1.4K
- Ai Image Generator1.4K
- Cloudflare Worker Builder1.4K
- Shopify Products1.4K
- Github Release1.4K
Similar to Tailwind Theme Builder
More Frontend & UI Code
tailwind-v4existential-birds/beagle824 installsTailwind CSS v4 setup and theming with CSS-first @theme tokens, OKLCH colors, and dark mode.
tailwind-csspaulrberg/agent-skills3.1K installsTailwind v4 styling guidance that adds, fixes, configures, or migrates classes while respecting local conventions.
shadcn-uijezweb/claude-skills3.6K installsInstall and configure shadcn/ui components for themed React projects, with recipes for forms, tables, and navigation.
tailwind-best-practicesasyrafhussin/agent-skills1K installsMobile-first Tailwind CSS patterns, dark mode setup, and v3-to-v4 migration guidance for consistent, maintainable interfaces.
tailwind-patternssickn33/agentic-awesome-skills1.1K installsTailwind CSS v4 principles covering CSS-first theming, container queries, and design token architecture.