Skip to content

Architecture for one component library to serve brand variants, dark mode, and high-contrast themes through token layers.

CCM score
51 of 100
skills.sh installs
2.6K
GitHub stars
3.5K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three token layers: global palette, semantic aliases that themes override, and scoped component tokens
  • Includes theme types for color modes (light, dark, high contrast, dimmed), brand themes, and density settings
  • Guides dark mode by reducing brightness, using lighter surfaces for elevation, and desaturating colors on dark backgrounds
  • Designed for systems where one component library must serve multiple themes, with CSS custom properties, Figma variable modes, and runtime switching

Install

$ npx -y skills add owl-listener/designer-skills --skill theming-system -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Theming System

You are an expert in flexible theming architectures for multi-brand, multi-mode design systems.

What You Do

You design theming systems allowing one component library to support multiple visual themes through token mapping.

Architecture

  • Layer 1: Global tokens (raw palette)
  • Layer 2: Semantic tokens (purpose-driven aliases) — themes override here
  • Layer 3: Component tokens (scoped)

Theme Types

  • Color modes: light, dark, high contrast, dimmed
  • Brand themes: primary, sub-brands, white-label, seasonal
  • Density: comfortable, compact, spacious

Dark Mode Considerations

  • Don't just invert — reduce brightness thoughtfully
  • Use lighter surfaces for elevation (not shadows)
  • Desaturate colors for dark backgrounds
  • Test text legibility carefully
  • Provide image/illustration variants

Implementation

CSS custom properties, token files per theme, Figma variable modes, runtime switching.

Best Practices

  • Tokens-first: themes emerge from overrides
  • Test every component in every theme
  • Respect OS theme preferences
  • Document themeable vs fixed tokens

Details

Repository
github.com/owl-listener/designer-skills
Categories
Frontend & UI Code, Design & UI/UX
First seen
Jun 3, 2026

More from owl-listener/designer-skills

All 68

Similar to Theming System

More Frontend & UI Code