What problem does it solve? Building consistent, maintainable UI foundations across web and mobile applications requires solving recurring challenges: managing design tokens across platforms, implementing light/dark theme switching, and architecting reusable component libraries. This Skill provides proven patterns and production-ready code for these design system fundamentals. ## Core Features & Use Cases - Design Token Architecture: Establish three-layer token hierarchies (primitive, semantic, component) with naming conventions, CSS custom properties output, and multi-platform generation via Style Dictionary for CSS, SCSS, iOS Swift, and Android XML. - Theming Infrastructure: Implement React theme providers with system preference detection, localStorage persistence, multi-brand theming, and accessibility support for reduced motion and high contrast modes. - Component Architecture Patterns: Apply compound components, polymorphic components with the as prop, slot-based composition, headless UI hooks, and type-safe variant systems using Class Variance Authority. - Use Case: When building a component library that must support light and dark modes across web and mobile, use this Skill to set up the token pipeline, theme provider, and variant-based component APIs in one coherent architecture. ## Quick Start Ask the AI to create a design token system with light and dark theme support using CSS custom properties and a React theme provider.