borghei/Claude-Skills / product-team/ui-design-system
ui-design-system
VerifiedGenerates a design-token system from a brand colour, checks its contrast, and specs component variants. Use when turning a chosen colour into tokens, exporting CSS, SCSS or JSON, or extending a token set for components.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 13.5 KB |
| assets/sample_tokens.json | config | 7.3 KB |
| assets/sample_tokens_flawed.json | config | 7.3 KB |
| references/component-architecture.md | markdown | 10.2 KB |
| references/developer-handoff.md | markdown | 5.5 KB |
| references/responsive-calculations.md | markdown | 8.6 KB |
| references/token-generation.md | markdown | 9.3 KB |
| references/token-presets.json | config | 7.5 KB |
| scripts/design_token_generator.py | script | 12.8 KB |
| scripts/token_contrast_checker.py | script | 7.9 KB |
assets/sample_tokens_flawed.json
View on GitHub{
"meta": {
"version": "1.0.0",
"style": "playful",
"generated": "auto-generated"
},
"colors": {
"primary": {
"50": "#fff7f7",
"100": "#ffefef",
"200": "#ffdede",
"300": "#ffcaca",
"400": "#ffb4b4",
"500": "#ff9999",
"600": "#cc7171",
"700": "#994e4e",
"800": "#662f2f",
"900": "#321515",
"DEFAULT": "#FF6B6B"
},
"secondary": {
"50": "#f7ffff",
"100": "#efffff",
"200": "#deffff",
"300": "#caffff",
"400": "#b4ffff",
"500": "#99ffff",
"600": "#71cccc",
"700": "#4e9999",
"800": "#2f6666",
"900": "#153232",
"DEFAULT": "#6bffff"
},
"neutral": {
"50": "#F9FAFB",
"100": "#F3F4F6",
"200": "#E5E7EB",
"300": "#D1D5DB",
"400": "#9CA3AF",
"500": "#6B7280",
"600": "#4B5563",
"700": "#374151",
"800": "#1F2937",
"900": "#111827",
"DEFAULT": "#6B7280"
},
"semantic": {
"success": {
"base": "#10B981",
"light": "#34D399",
"dark": "#059669",
"contrast": "#111827"
},
"warning": {
"base": "#F59E0B",
"light": "#FBBD24",
"dark": "#D97706",
"contrast": "#111827"
},
"error": {
"base": "#EF4444",
"light": "#F87171",
"dark": "#DC2626",
"contrast": "#111827"
},
"info": {
"base": "#3B82F6",
"light": "#60A5FA",
"dark": "#2563EB",
"contrast": "#111827"
}
},
"surface": {
"background": "#FFFFFF",
"foreground": "#9CA3AF",
"card": "#FFFFFF",
"overlay": "rgba(0, 0, 0, 0.5)",
"divider": "#E5E7EB"
}
},
"typography": {
"fontFamily": {
"sans": "Poppins, Roboto, sans-serif",
"serif": "Playfair Display, Georgia, serif",
"mono": "Source Code Pro, monospace"
},
"fontSize": {
"xs": "10px",
"sm": "13px",
"base": "16px",
"lg": "20px",
"xl": "25px",
"2xl": "31px",
"3xl": "39px",
"4xl": "49px",
"5xl": "61px"
},
"fontWeight": {
"thin": 100,
"light": 300,
"normal": 400,
"medium": 500,
"semibold": 600,
"bold": 700,
"extrabold": 800,
"black": 900
},
"lineHeight": {
"none": 1,
"tight": 1.25,
"snug": 1.375,
"normal": 1.5,
"relaxed": 1.625,
"loose": 2
},
"letterSpacing": {
"tighter": "-0.05em",
"tight": "-0.025em",
"normal": "0",
"wide": "0.025em",
"wider": "0.05em",
"widest": "0.1em"
},
"textStyles": {
"h1": {
"fontSize": "48px",
"fontWeight": 700,
"lineHeight": 1.2,
"letterSpacing": "-0.02em"
},
"h2": {
"fontSize": "36px",
"fontWeight": 700,
"lineHeight": 1.3,
"letterSpacing": "-0.01em"
},
"h3": {
"fontSize": "28px",
"fontWeight": 600,
"lineHeight": 1.4,
"letterSpacing": "0"
},
"h4": {
"fontSize": "24px",
"fontWeight": 600,
"lineHeight": 1.4,
"letterSpacing": "0"
},
"h5": {
"fontSize": "20px",
"fontWeight": 600,
"lineHeight": 1.5,
"letterSpacing": "0"
},
"h6": {
"fontSize": "16px",
"fontWeight": 600,
"lineHeight": 1.5,
"letterSpacing": "0.01em"
},
"body": {
"fontSize": "16px",
"fontWeight": 400,
"lineHeight": 1.5,
"letterSpacing": "0"
},
"small": {
"fontSize": "14px",
"fontWeight": 400,
"lineHeight": 1.5,
"letterSpacing": "0"
},
"caption": {
"fontSize": "12px",
"fontWeight": 400,
"lineHeight": 1.5,
"letterSpacing": "0.01em"
}
}
},
"spacing": {
"0": "0px",
"1": "4px",
"2": "8px",
"3": "12px",
"4": "16px",
"5": "20px",
"6": "24px",
"7": "32px",
"8": "40px",
"9": "48px",
"10": "56px",
"11": "64px",
"12": "72px",
"13": "80px",
"14": "96px",
"15": "112px",
"16": "128px",
"17": "160px",
"18": "192px",
"19": "256px",
"20": "320px",
"21": "384px",
"22": "448px",
"23": "512px",
"xs": "4px",
"sm": "8px",
"md": "16px",
"lg": "24px",
"xl": "40px",
"2xl": "72px",
"3xl": "128px"
},
"sizing": {
"container": {
"sm": "640px",
"md": "768px",
"lg": "1024px",
"xl": "1280px",
"2xl": "1536px"
},
"components": {
"button": {
"sm": {
"height": "32px",
"paddingX": "12px"
},
"md": {
"height": "40px",
"paddingX": "16px"
},
"lg": {
"height": "48px",
"paddingX": "20px"
}
},
"input": {
"sm": {
"height": "32px",
"paddingX": "12px"
},
"md": {
"height": "40px",
"paddingX": "16px"
},
"lg": {
"height": "48px",
"paddingX": "20px"
}
},
"icon": {
"sm": "16px",
"md": "20px",
"lg": "24px",
"xl": "32px"
}
}
},
"borders": {
"radius": {
"none": "0",
"sm": "8px",
"DEFAULT": "16px",
"md": "20px",
"lg": "24px",
"xl": "32px",
"full": "9999px"
},
"width": {
"none": "0",
"thin": "1px",
"DEFAULT": "1px",
"medium": "2px",
"thick": "4px"
}
},
"shadows": {
"none": "none",
"sm": "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
"DEFAULT": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
"md": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
"lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
"xl": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
"2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
"inner": "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)"
},
"animation": {
"duration": {
"instant": "0ms",
"fast": "150ms",
"DEFAULT": "250ms",
"slow": "350ms",
"slower": "500ms"
},
"easing": {
"linear": "linear",
"ease": "ease",
"easeIn": "ease-in",
"easeOut": "ease-out",
"easeInOut": "ease-in-out",
"spring": "cubic-bezier(0.68, -0.55, 0.265, 1.55)"
},
"keyframes": {
"fadeIn": {
"from": {
"opacity": 0
},
"to": {
"opacity": 1
}
},
"slideUp": {
"from": {
"transform": "translateY(10px)",
"opacity": 0
},
"to": {
"transform": "translateY(0)",
"opacity": 1
}
},
"scale": {
"from": {
"transform": "scale(0.95)"
},
"to": {
"transform": "scale(1)"
}
}
}
},
"breakpoints": {
"xs": "480px",
"sm": "640px",
"md": "768px",
"lg": "1024px",
"xl": "1280px",
"2xl": "1536px"
},
"z-index": {
"hide": -1,
"base": 0,
"dropdown": 1000,
"sticky": 1020,
"overlay": 1030,
"modal": 1040,
"popover": 1050,
"tooltip": 1060,
"notification": 1070
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |