/fuse-shadcn-ui:shadcn-themingfrom fuse-shadcn-ui
Defines and audits shadcn/ui design tokens: CSS custom properties, OKLCH colors, dark/light mode, Tailwind v4 @theme integration, presets, base colors, and radius scale.
Ships in fuse-shadcn-ui. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Documents the token hierarchy (component → semantic → primitive OKLCH values) and the validation checklist (dark-mode overrides, chart/sidebar variables, no hard-coded hex).
Before theming work, spawn agents in parallel, one Agent call each with a name:
After: Run fuse-ai-pilot:sniper for validation.
| Feature | Description |
|---|---|
| CSS Variables | --background, --foreground, --primary |
| OKLCH Colors | Wide-gamut P3 color space |
| Dark Mode | .dark class or prefers-color-scheme |
| Tailwind v4 | @theme inline directive integration + @custom-variant dark |
| Base colors | tailwind.baseColor: neutral, stone, zinc, mauve, olive, mist, taupe (set at init; switch with migrate base-color --to <c>) |
| Presets | Short code bundling style, base color, theme, chart color, icons, fonts, radius, menu color/accent (build on ui.shadcn.com/create) |
| Radius scale | --radius drives --radius-sm ... --radius-4xl via @theme inline |
{runner} shadcn@latest init --preset <code> # new project from a preset
{runner} shadcn@latest apply --preset <code> # switch preset: reinstalls components, keeps base + RTL
{runner} shadcn@latest apply --preset <code> --only theme # or --only font, --only theme,font
{runner} shadcn@latest preset decode <code> # also: resolve (current project), url, open
{runner} shadcn@latest migrate base-color --to zinc --yes # rewrite theme CSS vars + baseColor
{runner} shadcn@latest init --no-css-variables # inline utilities instead of tokens (install-time only)
{runner} shadcn@latest init --pointer # cursor: pointer on buttons (not part of presets)
{runner} shadcn@latest eject # inline shadcn/tailwind.css, drop the shadcn dependency
app/
├── globals.css # :root + .dark token definitions
└── tailwind.config.ts # Optional (v3) or @theme (v4)
-> See theme-setup.md for complete theme
Component: --card, --card-foreground, --button-*
↑
Semantic: --primary, --secondary, --accent, --muted
↑
Primitive: oklch(55% 0.20 260), oklch(98% 0.01 260)
[ ] CSS variables defined in :root
[ ] Dark mode overrides in .dark
[ ] OKLCH color space used
[ ] Chart variables (--chart-1 to --chart-5)
[ ] Sidebar variables if applicable
[ ] New tokens defined in :root + .dark AND exposed in @theme inline (--color-*)
[ ] No hard-coded hex in components
@theme inline for Tailwind v4 integration| Topic | Reference | When to Consult |
|---|---|---|
| Theming Guide | theming-guide.md | CSS variables, OKLCH, base colors, new tokens, typeset |
| Template | When to Use |
|---|---|
| theme-setup.md | Complete theme configuration |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
shadcn-ui, design-tokens, css-variables, oklch, theming, tailwind
npx claudepluginhub fusengine/claude-plugins --plugin fuse-shadcn-ui5 skills in this plugin
/shadcn-componentsUse when building or editing shadcn/ui components, mapping Base UI vs Radix vs React Aria APIs, or choosing a composition pattern (render vs asChild vs trigger wrapper)./shadcn-detectionUse when determining which component base (Base UI, Radix UI or React Aria) a shadcn/ui project uses, before any component work or migration./shadcn-migrationUse when migrating a shadcn/ui project between Radix UI and Base UI primitives, or validating a migration's API transformations./shadcn-registriesUse when configuring shadcn/ui registries (namespaced, GitHub, dynamic), components.json, presets, or any shadcn CLI command (init, add, apply, preset, view, search, docs, info, migrate, eject, build, registry).Other plugins' skills for the same job