design-system

Installation
SKILL.md

Design System

Overview

Single source of truth for visual consistency at scale — a shared language between design and engineering. Covers token architecture, theming infrastructure, component API patterns, accessibility compliance, and governance workflows.

Design systems are not component libraries alone. They unify tokens, patterns, documentation, and contribution processes so teams build once and maintain once.

Quick Reference

Area Pattern Key Points
Token hierarchy Primitive > Semantic > Component Never reference primitives in components; semantic layer is themable
Dark mode Swap semantic tokens via data-theme Use off-white/dark-gray, not pure white/black
Multi-brand theming Override semantic tokens per brand Apply via CSS custom properties at runtime
Tailwind v4 @theme block in CSS (no config file) CSS-first configuration replaces tailwind.config.js
CVA variants cva() for variant + size combinations Type-safe with VariantProps; pair with cn() utility
Compound components Modal.Header, Modal.Body sub-parts Composition over configuration; shared context for implicit state
Headless UI Radix primitives + Tailwind classes Accessibility built-in; bring your own styles
Related skills
Installs
45
GitHub Stars
11
First Seen
Feb 23, 2026