跳到主要內容
JobCannon
全部技能

Design Tokens Variable

⬢ 層級 2技術
中等
薪資影響
2 個月
學習時長
中等
難度
—
職業
一覽

Design tokens are semantic, named variables for design decisions (primary-color, spacing-sm, font-display). Instead of hardcoding 'blue: #0066FF' everywhere, teams define it once as a token, reference it across products. Tokens live in Figma, exported to code as CSS/JSON. When primary color changes, you update 1 token = changes everywhere (10+ products, 100+ files). Mastery takes 4-6 weeks. Premium: 5-10% because token systems save 20-30% design/dev time (no manual color hunting, consistency automatic).

什麼是 Design Tokens Variable

Design tokens are named, semantic variables representing design decisions. Instead of hardcoding colors/spacing/fonts, you define them once as tokens. Colors: primary-color, secondary-color, danger-color. Spacing: spacing-xs, spacing-sm, spacing-md. Typography: font-display, font-body, font-caption. Tokens live in Figma or a dedicated tokens system (Tokens Studio). Designers use them when designing. Teams export tokens to code (CSS variables, JSON, or language-specific formats). When primary-color changes from blue to purple, you update 1 token = all products update.

🔧 工具與生態
Figma variablesDesign tokens formatCSS variablesTokens StudioTheme toolsToken exportersJSON/YAML

💰 各地區薪資

地區初級中級高級
USA$75,000$130,000$190,000
UK£48,000£82,000£120,000
EU€52,000€90,000€135,000
CANADACA$78,000CA$135,000CA$200,000

❓ 常見問題

What's the difference between design tokens and CSS variables?
Design tokens = semantic design decisions (primary-color, spacing). CSS variables = technical implementation. Tokens are language-agnostic; you export them to CSS, JavaScript, JSON. One token source = multiple outputs (web, mobile, iOS, etc.).
Should tokens be stored in Figma or code?
Figma is the source of truth (designers make decisions). Code reads tokens from Figma (via exports or APIs). Keep sync: update Figma token → export → commit to code. Automation prevents drift.
How many tokens do I need?
Minimum viable: colors (8-12), spacing (6-8), typography (3-5 sizes), shadows (2-3). Too many tokens = complexity, hard to use. Too few = not granular enough. Start minimal, add as needed.
Can I use tokens for motion/animation?
Yes, define duration, easing curves as tokens. Export to CSS/JavaScript. Animation consistency across products.
How do I version tokens?
Semantic versioning: major (breaking change to token name/structure), minor (new tokens, additions), patch (values updated). Communicate changes to teams. Breaking changes require migration.

不確定這項技能適不適合你?

做一下職業匹配,我們會推薦合適的方向。

找到最適合我的技能 →

找到理想的職業方向

在 2,521 個職業中進行技能匹配。免費。

免費做職業匹配 →