design-tokens

Solid

Design tokens and CSS custom properties: theme systems, dark mode, component libraries. Use when implementing design systems or user mentions tokens, CSS variables, or theming.

Web & Frontend 48 stars 6 forks Updated today MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
56
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Design Tokens Design token architecture, CSS custom properties, and theme system implementation. ## When to Use This Skill | Use this skill when... | Use another skill instead when... | |------------------------|-----------------------------------| | Setting up a design token system | Writing individual component styles | | Implementing light/dark theme switching | Accessibility auditing (use accessibility skills) | | Organizing CSS custom properties | CSS layout or responsive design | | Integrating tokens with Tailwind/frameworks | Framework-specific component patterns | ## Core Expertise - **Token Architecture**: Organizing design tokens for scalability - **CSS Custom Properties**: Variable patterns and inheritance - **Theme Systems**: Light/dark mode, user preferences - **Component Integration**: Applying tokens consistently ## Token Structure ### Three-Tier Architecture ```css /* 1. Primitive tokens (raw values) */ :root { --color-blue-50: #eff6ff; --color-blue-100: #dbeafe; --color-blue-500: #3b82f6; --color-blue-600: #2563eb; --color-blue-700: #1d4ed8; --spacing-1: 0.25rem; --spacing-2: 0.5rem; --spacing-4: 1rem; --spacing-8: 2rem; --font-size-sm: 0.875rem; --font-size-base: 1rem; --font-size-lg: 1.125rem; } /* 2. Semantic tokens (purpose-based) */ :root { --color-primary: var(--color-blue-600); --color-primary-hover: var(--color-blue-700); --color-background: white; --color-surface: var(--color-gray-50); --color-text: var(...

Details

Author
laurigates
Repository
laurigates/claude-plugins
Created
7 months ago
Last Updated
today
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category