component-variants
Installation
SKILL.md
Component Variants Pattern
Create matching light and dark variants of UI components using a systematic color token approach.
Pattern Overview
- Create paired components:
ComponentLightandComponentDark - Mirror the structure exactly between variants
- Map colors systematically using the token table below
- Export a unified component that renders both or accepts a
variantprop