# Lumen: One system, many brands

01 / 04 · Design Systems Architecture

organisation: Commonwealth Bank (CommBank)
role: Senior UI Designer, Design Systems / Design Technologist
timeline: Oct 2024 – Aug 2026
scale: 17M+ customers · 600+ engineers · 150+ designers
brands: CommBank, NetBank, CommBiz, VDL 2.0

## The bet
CommBank needed its Lumen design system to serve multiple brands and verticals—including CommBank, NetBank, CommBiz, and VDL 2.0—without forking into separate codebases. Token delivery relied on a five-step manual relay across four roles, while unrestricted token editing threatened system drift. The question: how do you let many teams restyle one system without being able to break it?

## Proof points
- 4+ brands: Unified on one token schema without system forks
- 5 → 1: Manual export steps cut to one library publish + PR review
- 6 → 1: Text style names unified across Figma, Web, iOS & Android
- 5 breakpoints: Intent-based adaptive layout scale (XS to XL)

> “A system is only as good as its weakest integration point. Instead of policing component drift in design reviews, I encoded governance directly into the token architecture—making the right path the only path.”

## Decisions & trade-offs

### Decision 01: Encode governance in the architecture, not in review checklists
I modelled brand themes as Figma extended collections. Each theme inherits Lumen’s semantic collection and stays linked to it, so teams define only their overrides while retaining full visibility of the core system. Because an extended collection can only override existing tokens, a theme can change values without ever altering the system’s schema. To let theme authors reference raw colours without exposing primitives to product squads, I created a restricted globals library published exclusively to the Lumen workspace.

**Trade-off:** Teams cannot invent ad-hoc tokens inside a theme file; introducing a genuinely new token requires registering a separate collection intentionally. That adds slight friction for edge cases in exchange for zero structural drift across 150+ designers.

### Decision 02: Rebuild foundations around intent before theming
Multi-brand theming fails if tokens describe appearance instead of role. Implementation reviews showed squads bypassing old spacing tokens for raw values, while Android 16 required apps to adapt above `600dp` for foldables and tablets. I redesigned spacing around structural layout intent (Page, Section, Tile, Container, Text) across five responsive breakpoints, and restructured typography around editorial roles (Headings, Content, Editorial) so brands can swap typefaces and inherit everything else—collapsing up to six conflicting names per style into one cross-platform taxonomy.

**Trade-off:** Retiring familiar pixel-based naming required re-educating squads and updating Figma libraries, temporarily slowing handoff while teams learned the new semantic model.

#### Under the hood: Breakpoint scale & cross-platform naming map
- Adaptive Layout Scale: `XS (0–599)`, `SM (600–767)`, `MD (768–977)`, `LG (978–1199)`, `XL (1200+)`. Page and Section spacing scale dynamically with the viewport; Tile, Container (L/M/S), and Text spacing remain fixed.
- Unified Typography Mapping (`Heading Primary`)
  - Web SCSS: `@mixin typography-heading-primary`
  - Web CSS: `.typography-heading-primary`
  - React: `<Heading variant="primary">`
  - Android: `HeadingPrimaryStyle`
  - iOS: `headingPrimary`

### Decision 03: Automate the pipeline, and let platforms own translation
To eliminate manual plugin exports, I designed a three-lane architecture connecting Figma, a central Lumen tokens repository, and platform codebases. A declarative `themes.yaml` config defines the default theme, extended collections, and extensible translation hints—driving a GitHub Action that pulls changes via the Figma REST API, diffs tokens, and opens versioned pull requests automatically.

**Trade-off (Platforms own translation):** I built a multi-platform proof of concept using Style Dictionary (rendering a web component under side-by-side `data-theme` providers, with native prototyped) to prove the round trip. We then deliberately deferred centralised platform translation so web, iOS, and Android teams could own their native output formats while consuming one clean JSON contract.

#### Under the hood: Declarative themes.yaml structure
```yaml
# Illustrative structure of themes.yaml
default_theme:
  name: lumen-core
  collections: [semantic-colour, semantic-layout, semantic-typography]
extended_themes:
  - name: business-banking
    extends: lumen-core
    collections: [brand-overrides]
    hints:
      platform_prefix: cbz
```

## Taking the architecture to the organisation
Architecture only works when squads understand where the boundaries sit. Alongside designing core components in light and dark modes (`ChoiceCard`, `Drawer`, `ListItem`, `PinField`, `Filterchip`), I drove adoption across product teams:
- Lumen @ Accelerator (75+ attendees): Authored and presented Lumen’s hybrid contribution model and a "layer cake" ownership model (adapted from Brad Frost), clarifying what Lumen owns versus what squads own in local libraries.
- Design Uni 25: Co-presented a hands-on workshop teaching product designers how to apply semantic token variables inside Figma auto layout.

## What I left behind
- Multi-brand theming model [Validated / Adopted]: Extended collections + restricted globals library + definitive theming reference guide
- Automated token pipeline [Heading to prod]: `themes.yaml` + Figma REST API GitHub Action; proven on web, prototyped on native
- Adaptive layout & type tokens [In production]: Intent-based spacing across 5 breakpoints + role-based typography taxonomy
- Cross-platform naming map [Validated / Adopted]: Unified taxonomy collapsing up to 6 names per text style into 1

> “…lift us up towards our FY goals of self-service and world-class tooling.” — Design Systems Manager, on the layout token architecture

Why this matters for AI: A design system’s readiness for AI-assisted workflows is decided underneath the component layer. Encoding intent into tokens, preserving schema across the round trip between Figma and production, and giving machines rules they can verify is the difference between automating quality and automating inconsistency.

Next: Lumen tooling (CommBank): https://andyharris.com.au/work/lumen-tooling.md

Say g'day: https://www.linkedin.com/in/andyjohnharris/
