Workday Canvas

Color Tokens

Color tokens assign color roles through design tokens

Design tokens represent design decisions as reusable, named values that drive consistency across product teams. Tokens work as a shared language between design and development teams, replacing isolated color decisions with systematic choices that carry meaning and adapt to different contexts.

Design token system diagram showing base palette mapping to system tokens across different platforms

Token Types

Token TypeExample NamePurpose
Base Paletteblue-50, gray-100Raw color values
System Tokensbg.default, text.primary.defaultIntent-driven UI usage

Base Palette

Raw oklch colors from the global palette, categorized in color families using the tonal scale from 0 to 1000. Each number represents lightness, creating perceptual uniformity across families.

System Colors

Purpose-driven names that describe intended use rather than appearance. Follow the [property].[role].[modifier] pattern and map to base tokens based on theme.

Token Naming System

[property].[role].[modifier]

Token naming structure diagram showing element, role, and state components with examples

  1. Property: What gets colored
  2. Role: Semantic purpose
  3. Modifier: Intensity or state (optional)

Property Types

PropertyDescriptionExamples
bgBackground colors for surfaces and containersbg.default, bg.primary.default
textText and content colorstext.default, text.primary.default
borderBorder and divider colorsborder.input.default, border.divider
iconIcon-specific colors when different from texticon.default, icon.primary.default
fgForeground colors for content elementsfg.default, fg.primary.default
shadowShadow colors for depth and elevationshadow.default, shadow.1
staticStatic colors that don’t change with themesstatic.blue.default, static.white

Role Types

RoleUsageExamples
defaultMain content and standard elementsbg.default, text.default
primaryMain brand and primary actionsbg.primary.default, text.primary.default
positiveSuccess states and positive feedbackbg.positive.default, text.positive.default
criticalError states and destructive actionsbg.critical.default, text.critical.default
cautionWarning states and caution messagesbg.caution.default, text.caution.default
infoInformational messages and neutral feedbackbg.info.default, text.info.default
altSecondary surfaces and alternate statesbg.alt.default, bg.alt.soft
mutedSecondary content and subtle elementsbg.muted.default, fg.muted.default
contrastHigh contrast elementsbg.contrast.default, fg.contrast.default
aiAI-powered features and contentbg.ai.default, text.ai
focusKeyboard navigation indicatorsborder.primary.default (focus)
disabledNon-interactive and unavailable elementstext.disabled, icon.disabled
inverseHigh contrast text on dark backgroundstext.inverse, icon.inverse
hintPlaceholder and helper texttext.hint
inputForm field borders and interactive elementsborder.input.default
containerSurfaces that exist on top of page backgroundborder.container
dividerContent separators between sectionsborder.divider
transparentInvisible elements for spacingbg.transparent.default
translucentSemi-transparent overlaysbg.translucent
overlayModal scrims and background dimmingbg.overlay

Modifier Variations

ModifierUsageExamples
defaultStandard intensity or base statebg.primary.default
softReduced intensity or subtle appearancebg.primary.soft
softerMore reduced intensitybg.primary.softer
softestMinimum intensity or lightest appearancebg.primary.softest
strongIncreased intensity or emphasisbg.primary.strong
strongerHigher intensity or more emphasisbg.primary.stronger
strongestMaximum intensity or strongest emphasisstatic.blue.strongest
disabledDisabled element statestext.disabled
inverseInverted color for contrasttext.inverse

Theming and Adaptation

Tokens enable flexible theming by separating purpose from appearance. System tokens maintain consistent names across themes while colors adapt to match visual style.

Light and dark theme comparison showing same tokens with different color values

Create multiple theme variations—light/dark modes, brand customizations, high-contrast themes—without changing design logic or token names.

Benefits of Tokens

Consistency: Clear relationships between colors and purposes make interfaces predictable.

Efficiency: Centralized decisions enable systematic updates across all platforms automatically.

Collaboration: Teams focus on semantic meaning rather than debating specific values.

Working with Tokens

Figma

Canvas tokens sync to Figma Libraries as organized color variables. Designers search by name, apply to designs, and receive automatic updates when values change.

Figma color variables showing organized system tokens with search functionality

Design-to-Development Handoff

Shared vocabulary between teams. Designers apply variables to their designs, developers view those designs in Figma’s Developer Mode. Tokens can be viewed as either CSS variables, SwiftUI view modifiers, or Jetpack Compose theme properties - making it easy for developers to choose correct colors for the platform they build for.

Design-to-development workflow showing Figma design with token annotations matching React component code implementation

Brand Customization

Brand tokens let you change the brand expression by modifying those token values without changing semantic structure. This enables white-label solutions, reskinning UI without needing to completely redesign the interfaces.

Brand customization showing same interface with different brand color tokens applied

Can't Find What You Need?

Check out our FAQ section which may help you find the information you're looking for. For further information, contact the #ask-canvas-design or #ask-canvas-kitchannels on Slack.

On this Page: