design-tokens

Solid

Design token management, generation, and multi-platform support.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

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

Skill Content

# Design Tokens Skill Expert assistance for design token management. ## Capabilities - Define design tokens - Generate platform outputs - Configure Style Dictionary - Manage token hierarchies - Handle theming ## Token Structure ```json { "color": { "primary": { "50": { "value": "#eff6ff" }, "500": { "value": "#3b82f6" }, "900": { "value": "#1e3a8a" } } }, "spacing": { "xs": { "value": "0.25rem" }, "sm": { "value": "0.5rem" }, "md": { "value": "1rem" } } } ``` ## Style Dictionary Config ```javascript module.exports = { source: ['tokens/**/*.json'], platforms: { css: { transformGroup: 'css', buildPath: 'build/css/', files: [{ destination: 'variables.css', format: 'css/variables' }], }, }, }; ``` ## Target Processes - design-system - multi-platform-design - theming-implementation

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills