Color Management in Design Systems

阅读时间 8 分钟更新于 2026-06-10
📘 本文内容为英文原文,提供最准确的技术信息。中文解读和实操指南正在完善中。你也可以使用页面顶部的翻译工具。

Design tokens are the difference between 'update 200 files to change the brand color' and 'change one variable.' Every design system worth its salt uses tokens. But the real question is: which color format should your tokens use?

tokens

Shopify Polaris, Adobe Spectrum, and Salesforce Lightning all use design tokens generated from base hue/saturation/lightness values. The key insight: you don't define 'blue-500' — you define the base blue and derive all 11 stops mathematically.

formats

Shopify Polaris, Adobe Spectrum, and Salesforce Lightning all use design tokens generated from base hue/saturation/lightness values. The key insight: you don't define 'blue-500' — you define the base blue and derive all 11 stops mathematically.

implementation

Shopify Polaris, Adobe Spectrum, and Salesforce Lightning all use design tokens generated from base hue/saturation/lightness values. The key insight: you don't define 'blue-500' — you define the base blue and derive all 11 stops mathematically.

migration

Shopify Polaris, Adobe Spectrum, and Salesforce Lightning all use design tokens generated from base hue/saturation/lightness values. The key insight: you don't define 'blue-500' — you define the base blue and derive all 11 stops mathematically.

免费工具推荐

用这些免费工具实操你学到的知识: