You’ve been there—the moment your single-brand design system hits its first acquisition, a new product line, or a sub-brand launch. Suddenly, the “Primary Blue” that lived comfortably in your variables file is no longer the only primary color in the building. You try to duplicate your CSS files, but the maintenance debt doubles overnight. You try to use find-and-replace, but you accidentally break the mobile app’s build. The anxiety isn’t just about the workload; it’s the realization that your architecture wasn’t built for growth. It was built for a single moment in time.

I’ve spent years sitting across from design leads and engineering managers who are drowning in this exact “token debt.” They have a system that works for one brand on the web, but as soon as they need to support a dark mode, a high-density “pro” interface, or a sister brand on iOS and Android, the whole thing starts to creak. We aren’t just talking about changing a few hex codes; we’re talking about the fundamental way design decisions are communicated across an entire organization.

Direct Practical Verdict:

Multi-brand Style Dictionary architecture requires a three-tier hierarchy—Global, Semantic, and Component tokens—organized into a multi-dimensional folder structure. By separating base values from intent-based aliases, you can inject brand-specific overrides at the semantic layer, enabling simultaneous compilation of CSS, Swift, and Compose assets from a single, platform-agnostic source of truth.

Why does my design system break when I add a second brand?

The most common mistake I see—and I’ve seen it at Fortune 500 companies and scrappy startups alike—is the “Flat Token Trap.” Teams start by defining tokens like color-blue-500 and using them directly in their components. This works perfectly until Brand B comes along and their primary color is red. Now, you’re stuck writing color-blue-500: #ff0000; in a brand-specific override file. It’s confusing, it’s brittle, and it makes your code look like a lie.

The break happens because there is no layer of abstraction between the “what” (the raw value) and the “where” (the component). When you scale to multiple brands, you aren’t just changing values; you’re changing the logic of how those values are applied. A multi-brand architecture using Style Dictionary isn’t just a folder of JSON files; it’s a decision-making engine. It allows you to define a “Global” palette that contains every possible color, a “Semantic” layer that defines what those colors mean (e.g., “Action Primary”), and a “Component” layer for those rare cases where a specific button needs to break the rules.

Without this three-tier structure, you end up with “CSS Bloat.” You’re shipping every brand’s variables to every user, or worse, you’re maintaining separate codebases for every platform. Style Dictionary solves this by acting as a pre-processor. It takes your source of truth and transforms it into the specific language each platform speaks—whether that’s CSS custom properties for the web, XML for Android, or Swift for iOS.

What is the difference between Global, Semantic, and Component tokens?

To build a system that doesn’t collapse under its own weight, you must strictly enforce the boundaries between your token tiers. Think of it as a funnel: we start with the widest possible range of options and narrow them down until we reach a specific implementation.

1. Global Tokens (The Primitives): These are your raw ingredients. They describe what the value is, not how it’s used. Examples include color-blue-500, spacing-4, or font-size-sm. In a multi-brand setup, each brand might have its own global palette, or they might share a master library of colors. The key rule: Global tokens should never be used directly in a component’s code.

2. Semantic Tokens (The Alias Layer): This is where the magic happens. Semantic tokens describe the intent of a design decision. Instead of blue-500, we use surface-primary or text-interactive. When you switch from Brand A to Brand B, you don’t change the component code; you simply point surface-primary to a different global token. This layer also handles “modes” like Light and Dark. surface-primary might point to white in light mode and gray-900 in dark mode.

3. Component Tokens (The Specifics): These are the most granular and should be used sparingly. They map a semantic token to a specific component property, like button-primary-background-color. Why do we need this? Because sometimes Brand A wants their primary buttons to have a 2px border, but Brand B wants no border at all. Component tokens give you the “surgical” control needed for high-fidelity multi-brand work without polluting your semantic layer.

Token Tier Naming Convention Purpose Change Frequency Multi-Brand Role
Global color-red-500 Raw values/Primitives Very Low Defines the brand’s DNA.
Semantic action-primary-bg Design intent/Logic Medium The “Switchboard” for brand/mode.
Component btn-cta-padding Specific UI overrides High Handles unique brand UI quirks.
Platform --color-action-bg Final output format Automated Ensures parity across iOS/Web.

How do I configure Style Dictionary for multi-platform delivery?

Style Dictionary is essentially a build system for design. To handle multiple brands, you cannot rely on a single config.json file. You need a dynamic configuration script (usually in JavaScript) that iterates through your brand folders and generates a unique configuration for each one.

The directory structure is your foundation. I recommend a structure that separates “Core” tokens from “Brand” overrides. For example: tokens/ core/ (Shared primitives) brand-a/ globals.json semantics.json brand-b/ globals.json semantics.json platforms/ (Web, iOS, Android specific logic)

In your build script, you’ll use the include property in Style Dictionary to pull in the core tokens, and the source property to pull in the specific brand you’re currently compiling. This ensures that Brand B’s semantics.json will override any default values in the core files without deleting them.

The real power comes from Transforms. A hex code is fine for the web, but Android wants 8-digit ARGB (hex with alpha), and iOS might want a UIColor object. Style Dictionary’s transform groups (like css, ios-swift, and android) handle this translation automatically. If you’re building a multi-brand system, you’ll also want to create custom transforms to handle things like “rem” to “sp” conversions for typography, ensuring that your density and scaling remain consistent across platforms.

Can I manage dark mode and brand variants without CSS bloat?

One of the biggest fears in multi-brand architecture is the “Bundle Size Monster.” If you have five brands and each has a light and dark mode, you don’t want to ship ten sets of variables to every user. The solution is a combination of Style Dictionary compilation and CSS Custom Properties.

Instead of hard-coding values into your components, Style Dictionary should output a set of CSS Custom Properties (variables). For the web, you can compile a base.css containing the shared tokens and then separate brand-a.css and brand-b.css files. By using a data-attribute on the body tag (e.g., data-theme="dark" or data-brand="brand-a"), you can swap the entire visual identity of the application by simply loading a different small CSS file or toggling a class.

This approach keeps your component library “headless.” The components don’t know they are Brand A or Brand B; they only know they should use var(--surface-primary). This separation of concerns is what allows a single React or Vue library to serve an entire enterprise.

The Actionable Playbook: Building Your Multi-Brand Engine

If you need to resolve your multi-brand chaos by 4:00 PM today, follow this implementation sequence. Don’t try to boil the ocean; start with color and scale up.

  1. Audit and Extract: Identify every hard-coded hex value in your primary brand. Move them into a globals.json file. Don’t worry about naming them perfectly yet; just get them out of the code.
  2. Define the Semantic Bridge: Create a semantics.json file. Look at your UI and identify the roles colors play. Create tokens like background-default, text-subtle, and border-focus. Map these to your global tokens.
  3. Set Up the Style Dictionary Build Script: Create a build.js file. Use StyleDictionary.extend() to create a loop that looks at your brands/ folder. For each brand, tell Style Dictionary to:
    • Include the core tokens.
    • Source the brand-specific tokens.
    • Export to dist/web/, dist/ios/, and dist/android/.
  4. Implement the “Source of Truth” Workflow: Stop designers from handing over hex codes in Figma. Use a tool like “Tokens Studio” or Figma’s native variables to sync directly with your JSON files in GitHub.
  5. Platform-Specific Formatting: Configure your transforms. Ensure that for Web, you are outputting .css or .scss; for iOS, a .swift file with a struct; and for Android, an colors.xml or Compose Theme.kt.
  6. Verify with a “Smoke Test”: Change a single global token in Brand B (e.g., make the primary color neon pink). Run your build script. Check if the web, iOS, and Android output files all reflect that change simultaneously. If they do, you have a masterclass architecture.

Frequently Asked Questions

How do I handle typography scales that differ between brands? Typography is best handled through semantic “styles” rather than just sizes. Define tokens like display-large or body-m. In Brand A, body-m might map to 16px/1.5 line-height, while in Brand B, it might map to 14px/1.4. Style Dictionary will compile these specific values into the platform-specific typography objects.

Should I use JSON or JavaScript for my token files? While Style Dictionary supports both, JSON is often preferred for the “source of truth” because it is language-agnostic and easily exported from design tools like Figma. However, using .js or .json5 files can be helpful if you need to perform calculations (like generating a color scale programmatically) within the token files themselves.

How do we handle “Dark Mode” in this architecture? Dark mode should be treated as a “Theme” or “Mode” override, similar to a brand. You can have a dark.json file that overrides the semantic tokens (e.g., surface-primary changes from white to black). Your build script can then output a separate dark-theme.css file or a nested selector.

Explore Multi-Brand Design Token Architecture

To see how interactive form elements synchronize with enterprise design token pipelines, review our masterclass on Date Picker UX: Accessible Keyboard Grids & Touch Targets.