Skip to content

Latest commit

 

History

History

design-system-patterns

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Design System Patterns

Foundational design system architecture — token hierarchies, theming infrastructure, token pipelines, and governance. The structural backbone for scalable, multi-brand design systems.

What's Inside

  • Three-layer token hierarchy (primitive → semantic → component)
  • Theme switching with React (light/dark/system, localStorage, FOUC prevention)
  • Multi-brand theming for white-label products
  • Style Dictionary pipeline (CSS, iOS Swift, Android XML)
  • Accessibility tokens (reduced motion, high contrast, forced colors)
  • Token naming conventions and governance process
  • Common pitfalls and best practices

When to Use

  • Defining token architecture (primitive → semantic → component layers)
  • Implementing light/dark/system theme switching with React
  • Setting up Style Dictionary or Figma-to-code token pipelines
  • Building multi-brand theming systems
  • Establishing token naming conventions and governance
  • Preventing flash of unstyled content (FOUC) in SSR

Installation

npx add https://github.com/wpank/ai/tree/main/skills/design-systems/design-system-patterns

OpenClaw / Moltbot / Clawbot

npx clawhub@latest install design-system-patterns

Manual Installation

Cursor (per-project)

From your project root:

mkdir -p .cursor/skills
cp -r ~/.ai-skills/skills/design-systems/design-system-patterns .cursor/skills/design-system-patterns

Cursor (global)

mkdir -p ~/.cursor/skills
cp -r ~/.ai-skills/skills/design-systems/design-system-patterns ~/.cursor/skills/design-system-patterns

Claude Code (per-project)

From your project root:

mkdir -p .claude/skills
cp -r ~/.ai-skills/skills/design-systems/design-system-patterns .claude/skills/design-system-patterns

Claude Code (global)

mkdir -p ~/.claude/skills
cp -r ~/.ai-skills/skills/design-systems/design-system-patterns ~/.claude/skills/design-system-patterns

Related Skills


Part of the Design Systems skill category.