shadcn-core-theming
OfficialFix shadcn theming with zero color bugs.
Software Engineering#design tokens#oklch#next-themes#css custom properties#tailwind v3 v4#shadcn theming#dark mode wiring
AuthorImpertio-Studio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents shadcn ui theming errors caused by mixing Tailwind v3 (HSL variables) and Tailwind v4 (oklch variables), incorrect token wiring, and missing dark-mode hydration controls that lead to wrong colors or flashes.
Core Features & Use Cases
- Tailwind v3 vs v4 wiring guardrails: determines the project’s Tailwind generation and applies the correct theming model without mixing conventions.
- Token contract + catalog: explains and validates the shadcn CSS custom property token set (core, sidebar, chart, radius scale) and how they map to utilities like
bg-background,text-foreground,border-border, andring-ring. - Dark-mode setup for Next.js and Vite: provides deterministic patterns for Next.js with
next-themes(includingsuppressHydrationWarning) and a Vite-specific ThemeProvider, plus a mode-toggle strategy. - Theme builder copy workflow: instructs how to paste theme output from ui.shadcn.com into
globals.csswhile preserving the mapping layer (tailwind.config.jsfor v3,@theme inlinefor v4). - Production anti-pattern avoidance: enumerates common failure modes (HSL comma formatting, missing v3
hsl()mapping wrapper, v3/v4 mixing, incorrect Next.js hydration behavior) and their fixes.
Quick Start
Tell Claude Code to configure your globals.css and theme provider by asking it to set up shadcn theming for your project’s Tailwind version using the correct token wiring and dark-mode setup.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: shadcn-core-theming Download link: https://github.com/Impertio-Studio/shadcn-ui-Claude-Skill-Package/archive/main.zip#shadcn-core-theming Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.