Tokens overview

Tokens are representations of design decisions. They abstract raw values into scalable, meaningful, and readable labels spanning across teams and platforms.

Overview

Design tokens represent repeated decisions throughout a system and provide an avenue to apply them consistently. They replace raw values with meaningful labels that convey intention.

Token structure

Tokens are structured in a specific order for varying levels of specificity. Individual components and their nested elements can each have tokens if a semantic token isn’t providing enough clarity. This structure helps maintain the integrity of the token system over time.

Object
ComponentElement
  • combobox
  • button
  • form
  • left-icon
  • right-icon
Base
CategoryBehaviorProperty
  • color
  • font
  • spacing
  • size
  • shadow
  • breakpoint
  • feedback
  • visualization
  • action
  • heading
  • core
  • sem
  • text
  • size
  • bg
  • weight
  • border
  • letter-spacing
Modifier
VariantStateScaleContext
  • primary
  • secondary
  • tertiary
  • default
  • subtle
  • enabled
  • hover
  • active
  • pressed
  • disabled
  • 50
  • 100
  • 150
  • 200
  • 600
  • light
  • dark
  • high-contrast

Applying tokens