Design tokens aren’t colour swatches. They’re the API contract between design and engineering. One change in the token file should ripple through every component, every platform, every production deployment. If it doesn’t, you have paint chips, not a design system.
The three tiers
Global tokens are raw values: blue-500 = #1F47FF. Semantic tokens describe intent: color-accent = blue-500. Component tokens describe application: button-primary-bg = color-accent. This indirection is what makes design systems maintainable.
From Figma to CSS
Figma Variables map almost 1:1 to CSS custom properties. Export variables as JSON, transform through Style Dictionary, output CSS custom properties, Tailwind config, Swift, and Kotlin files. The same tokens drive every platform.
Dark mode as a token mode
Dark mode isn’t a theme — it’s a mode your semantic tokens switch between. color-surface maps to white in light mode and a near-black in dark mode. Component tokens don’t change. That’s the whole point of the tiers.
Token-driven design is the foundation of every system we build under Logicore.