Agent skill

Tailwind Theme Builder Skill: Tailwind v4, shadcn/ui and Dark Mode

The Tailwind theme builder skill walks an AI coding agent through a Tailwind v4 and shadcn/ui setup with CSS variables and dark mode, plus 18 known gotchas.

Install
git clone https://github.com/jezweb/claude-skills.git
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the Tailwind Theme Builder skill?

Tailwind Theme Builder is a jezweb skill that sets up a themed Tailwind v4 and shadcn/ui project with dark mode. It enforces a four step CSS pattern (variables, theme inline mapping, base styles, dark class toggle) and ships an 18 row gotcha table for common breakages.

Tailwind Theme Builder is a skill in jezweb's frontend plugin. It sets up a fully themed Tailwind v4 and shadcn/ui project with dark mode, and produces configured CSS, a theme provider and a working component library.

Its core is a mandatory four step architecture. CSS variables are defined at the root, mapped with a single theme inline block, applied as base styles, and switched by toggling a dark class on the html element.

What changes in your agent's output

  • Colours live in root and dark class variables wrapped once in hsl(), not in a tailwind config file.
  • Utilities such as bg-background and text-primary come from one theme inline block.
  • The Vite plugin replaces the PostCSS route, and the old config file is deleted.
  • A prevention checklist and a dark mode test list are worked through before the setup counts as done.

Who it is for

Best for

  • Vite and React projects starting on Tailwind v4 with shadcn/ui and a light, dark and system toggle.
  • Fixing colours that do not apply, nested theme errors, broken apply rules or animation import failures after a v3 upgrade.
  • Developers who then add components through tailwind design system or tailwind patterns.

Not for

  • Non React stacks. The workflow assumes Vite, React and the shadcn init command.
  • Projects that must stay on Tailwind v3, because the skill deletes the v3 config file by design.
  • Users of other agents: the skill's frontmatter lists compatibility as claude-code-only.

Use it with UiChemy

This skill targets React apps. For a WordPress site, build the page in Composer or import a finished design with Figma to WordPress instead. Click Get Started on uichemy.com.