Home
Bookmarks
Leagues
LEARN
Courses
Career Paths
Assessments
Tutorials
Arcade
Glossary
GROW
Certifications
Log in
Glossary
Log inSign up
Courses/Introduction to Design Systems/Design Tokens: The DNA of a Design System/
Exercise #4

Tier 2: Semantic (Alias) Tokens

Semantic tokens give meaning to raw primitives. They answer the question: 'What role does this token play in the user interface?'

Common Semantic Categories include:

  • Surfaces / Backgrounds: color-bg-canvas (main background), color-bg-surface (cards, containers), color-bg-sunken (wells, inputs).
  • Text & Icons: color-text-primary (high contrast), color-text-secondary (body copy), color-text-muted (captions, disabled).
  • Status / Feedback: color-feedback-success-bg, color-feedback-danger-text.
  • Interaction States: color-interactive-default, color-interactive-hover, color-interactive-pressed.

In Light Mode: color-bg-canvas = #F9FAFB and color-text-primary = #111827. In Dark Mode: color-bg-canvas = #0F172A and color-text-primary = #F8FAFC.

Topics

What Are Design Tokens?
The 3-Tier Token Architecture
Tier 1: Global Primitive Tokens
Tier 2: Semantic (Alias) Tokens
Tier 3: Component-Scoped Tokens
Token Naming Taxonomies: The CTI Convention
Cross-Platform Token Compilation (Style Dictionary)
Composite Tokens: Typography Sets and Shadows
Resolving Token Dependency Chains
Token Versioning, Renaming & Safe Migration

From lesson

1

Design Tokens: The DNA of a Design System

Level 3 · Design Tokens & Foundations

Top contributors

Community contribution details will appear here once real learner activity is available.

Share