What problem does it solve?
This Skill turns a primary color and token specifications into a complete, Apple HIG–compliant SwiftUI design system so designers and engineers avoid error-prone manual token creation and inconsistent theming across iOS and macOS apps.
Core Features & Use Cases
- OKLCH-based color generation: Derives a neutral, primary, and accent palette from a single primary color using OKLCH math and configurable relationships (complementary, analogous, triadic).
- Design token output: Produces spacing, layout, corner radius, shadow, typography guidance, and generated Swift files (DesignSystem, OKLCH converter, Colors+Tokens, Typography).
- Platform-aware templates: Targets iOS, macOS, or both with dynamic type mapping and optional SwiftUI components (buttons, cards, text fields) integrated into an Xcode project path.
Quick Start
Generate a SwiftUI design system for the Xcode project at /path/to/project using primary color #3A73B5, complementary relationship, 60-30-10 proportion, platform both, and include components.