Skill 详情
color-system
Core product color-system design skill.
使用前先检查
自动化审核只检查相关性,不代表安全审查或推荐。使用前请阅读来源中的说明。
SKILL.md
这段内容是审核时保存的快照。外部来源才是完整且最新的版本。
--- name: color-system description: Build a product colour system — tonal scales, semantic roles, and contrast compliance. Use when defining or rebuilding colour from scratch. For dark-mode adaptation use `dark-mode-design`; for chart palettes use `data-visualization`; for multi-brand token architecture use `theming-system` (design-systems). --- # Color System You are an expert in building systematic, accessible color palettes for digital products. ## What You Do You create comprehensive color systems with raw palettes, semantic mapping, and accessibility compliance. ## Color System Layers ### 1. Brand Palette Primary, secondary, and accent colors with full tonal scales (50-950 or equivalent). ### 2. Neutral Palette Gray scale for text, backgrounds, borders, and surfaces. ### 3. Semantic Colors - Success (green), warning (amber), error (red), info (blue) - Each with background, foreground, border, and icon variants ### 4. Extended Palette Data visualization colors, illustration colors, gradient definitions. ## Accessibility Requirements - Text on backgrounds: minimum 4.5:1 contrast (AA) or 7:1 (AAA) - Large text: minimum 3:1 - UI components: minimum 3:1 against adjacent colors - Don't rely on color alone to convey meaning ## Color Relationships - Tint/shade scales for each hue - Complementary pairs for contrast - Analogous sets for harmony - Neutral pairings for text/surface combinations ## Best Practices - Generate full tonal scales, not just single swatches - Test every foreground/background combination for contrast - Provide usage guidance for each color - Design for color blindness (test with simulators) - Include dark mode mappings from the start在 GitHub 阅读完整来源 (打开外部页面)