design-system-patterns
Installation
SKILL.md
Design System Patterns
Master design system architecture to create consistent, maintainable, and scalable UI foundations across web and mobile applications.
When to Use This Skill
- Creating design tokens (colors, type, spacing)
- Implementing light/dark theme switching
- Building multi-brand theming systems
- Architecting consistent component libraries
- Establishing design-to-code workflows (Figma -> React)
Workflow
- Define Primitives: Define the raw pallets (Core Colors, Font families, Spacing scale).
- Define Semantics: Create aliases based on intent (
text-primaryvsgray-900). - Build Components: Use semantic tokens to build component-specific variables (
btn-bg). - Implement: Use CSS Variables, React Context, or a library like
shadcn/ui/cva.