What problem does it solve?
This Skill eliminates inconsistent hardcoded colors, dimensions, and corner radii in uni-app projects by establishing a centralized, switchable design token system.
Core Features & Use Cases
- Theme System Generation: Create CSS variable systems for color scales, spacing, typography, component heights, and corner radii.
- Dynamic Theming: Generate complete 50–900 color scales from a custom HEX color and switch among seven preset themes without recompiling.
- Style Standardization: Scan Vue and stylesheet files, replace hardcoded values with semantic CSS variables, create backups, and produce a theme migration report.
- Use Case: Apply a business or cute theme to an existing uni-app application, unify its rpx-based dimensions and styles, and enable runtime switching through a data-theme attribute.
Quick Start
Ask the uniapp-theme-skill to add a theme system with primary color #2563EB and unify all hardcoded styles in the target uni-app project.