What problem does it solve?
Integrates OKLCH design tokens with the shadcn/ui component library to provide WCAG-compliant colors, a consistent token-driven theme, and seamless Next.js integration.
Core Features & Use Cases
- OKLCH tokens as the source of truth; shadcn variables alias OKLCH tokens.
- Full shadcn component library compatibility.
- 8 customization questions to configure the theme without editing CSS.
- Automatic dark mode support via CSS variables.
- Menu theming with variants for consistent navigation.
Quick Start
- Run the questionnaire: /init --tokens --shadcn (eight questions in sequence).
- Review generated files: design/systems/shadcn-variables.css, components.json, and design/systems/tokens.json.
- Install dependencies based on answers (e.g., icons and shadcn packages).
- Configure Next.js layout to use the generated font and CSS vars.
- Add shadcn components and ensure they consume theme tokens.
Note
This skill is auto-triggered by /init --tokens --shadcn and can be invoked for adding shadcn components to a project.