UI/UX & Design•Oct 08, 2026•6 min read

Structuring Multi-Brand Design Token Architecture with CSS Variables

From Figma variable modes to automated Tailwind theme generation: the definitive playbook for scalable design systems.

Lina Becker

Lina Becker

Design Systems Lead

𝕏in
Structuring Multi-Brand Design Token Architecture with CSS Variables

Managing multiple distinct brand themes across web, mobile, and client portals quickly descends into maintenance chaos without a systematic design token architecture. When design decisions are hardcoded into components, a single brand refresh requires weeks of manual refactoring.

“Design tokens are not just variables; they are the shared contract that aligns designers and software engineers into a single source of truth.”
Core PrincipleFIXIT Studio

1. The Three Tiers of Design Tokens

We structure all design tokens into three strict architectural tiers: Primitive (Global) tokens, Semantic (Alias) tokens, and Component-scoped tokens.

Primitive tokens define raw color values (e.g. blue-500: #1570EF). Semantic tokens assign contextual meaning (e.g. surface-primary, text-accent, border-focus). Component tokens apply semantic tokens directly to UI elements (e.g. button-primary-bg).

This separation ensures that modifying an entire brand theme requires updating semantic mappings rather than editing thousands of individual CSS rules.

Token Best Practice

Never use raw hex colors in your component styles. Always reference semantic CSS variables to guarantee effortless dark/light mode switching.

✓Do This

Use semantic tokens: bg-[var(--surface-primary)] and text-[var(--text-headline)].

✕Avoid This

Hardcode hex colors like bg-[#1570EF] directly inside individual cards.

2. Figma Variable Modes to CSS Custom Properties

With Figma's native Variable Modes, our design team defines Brand A, Brand B, Light Mode, and Dark Mode directly in the design file. An automated script extracts these JSON tokens and generates typed CSS custom properties on commit.

✓
Key Takeaway: Automated token generation ensures 100% fidelity between Figma designs and production code.
design-tokens.css
:root {
  --brand-primary: #1570EF;
  --surface-primary: #FFFFFF;
  --text-headline: #101828;
  --text-muted: #475467;
  --radius-luxury: 24px;
}

[data-theme="dark"] {
  --surface-primary: #0F172A;
  --text-headline: #F8FAFC;
  --text-muted: #94A3B8;
}

Final Thoughts

A disciplined design token pipeline enables engineering and design teams to speak the exact same language, eliminating visual bugs and accelerating product delivery.

Lina Becker
Written By

Lina Becker

Design Systems Lead

Design Systems Lead at FIXIT Studio. Crafting multi-brand design tokens, accessible color architectures, and Figma components.

Enjoyed this article?

Get the latest web design tips, coding guides, and modern tech updates delivered straight to your inbox.