Skip to content
Mari Rumo
All work
04 / 04Design SystemsGovernanceTokens

Design System GovernanceRebuilding a Design System from Audit to Governance

Turning a design system that existed on paper into a token-driven, documented, governed system multiple teams could trust.

Company
Consumer rewards platform (anonymized)
Timeline
Ongoing — first 4 phases
Role
Design System Lead

Client anonymized under NDA.

Design system foundations: a brand colour as hex, RGBA and variable, mapped from primitive to semantic tokens in code

At a glance

The result

  • ✓Consistency improved across products (components came from one source)
  • ✓Technical debt went down (token-driven theming replaced duplicated style logic)
  • ✓Adoption spread beyond original team (other product squads started contributing and using)

The Problem

The design system existed on paper only. Components had no documentation or version control. Design tokens didn't match between Figma and React/Storybook. Different product teams built the same components differently—visual inconsistency across the product suite.

Evidence

• Inventory audit revealed 40+ components with duplicate implementations • Design tokens in Figma ≠ CSS variables in code • Teams didn't trust the system, so they built their own • Technical debt slowing feature launches by 60%

Business goal

Standardize, eliminate design-code mismatch, scale without hiring a dedicated design systems team.

  • 40+

    components with duplicate implementations found in the audit

  • 40%

    technical debt was slowing feature launches

figma storybook

Context & Constraints

What needed to be decided

Is the problem missing components, or missing trust? How do we rebuild while the product is shipping?

The real problem wasn't missing components it was missing trust and contract. Components without clear documentation (props, states, a11y rules) won't be reused, no matter how good they look.

Decision point

Build components first, then document? Or establish trust and contract first, then standardize?

Context

  • Multiple product teams working simultaneously (can't freeze development)

  • No dedicated DS team budget (had to work incrementally)

  • Existing design system library existed but was unmaintained

  • Risk: if we rebuild wrong, we create MORE fragmentation

Key Decisions

Primitive → Semantic Token Architecture (Figma tokens → MUI theme roles)

How do we create one source of truth between design and code?

Token mismatch was causing inconsistency. Designers changed colors in Figma, developers didn't know

Alternative

Keep current system (design and code separate, manually synced)

Chosen

Figma color tokens → MUI theme roles (primary, error, warning, success, info, text, background, divider) → CSS-in-JS. Each Figma token was documented next to its MUI role, HEX, RGBA and CSS output (one direction, one truth)

  1. Figma tokens
  2. MUI theme roles
  3. CSS-in-JS
Figma to CSS
Figma to CSS
Reasoning
Single source of truth eliminates sync errors. Automates the contract. Design and code always aligned
Trade-off
Upfront architecture work. But prevents downstream fragmentation

Chromatic for Visual Regression Testing

How do we catch UI breakages before production?

Manual QA catches some regressions. Automated visual testing catches all

Alternative

Manual QA per release (faster initial setup)

Chosen

Chromatic visual testing pipeline (automated detection)

Before

Manual QA — regressions slip through

After

Automated visual regression — every PR checked

Tools & Collaboration
Tools & Collaboration
Reasoning
Prevents silent UI failures. Gives teams confidence to refactor. Scales better than manual review
Trade-off
Tool cost + setup time. But production incidents prevented (worth it)

Centralized-Decentralized Governance

Who can contribute to the system? DS team only, or distributed?

Multiple teams needed to modify components (buttons, inputs, cards). Centralized = bottleneck

Alternative

Fully centralized (DS Lead approves everything)

Chosen

Distributed contribution with structured review (Request → Design/Dev Review → Build → Staging → Release)

  1. Request
  2. Design/Dev Review
  3. Build
  4. Staging
  5. Release
Process
Process
Reasoning
Bottleneck was slowing shipping. Clear process lets teams contribute safely. Governance prevents chaos
Trade-off
Requires team discipline. More complexity in workflows. But enables faster iteration

MUI Base + Custom Tokens (Don't Build from Scratch)

Build components from scratch, or build on foundation?

Accessibility = hard. MUI already solved it. Building from scratch = reinventing

Alternative

Build all components from scratch (maximum control)

Chosen

MUI base + custom tokens (foundation + customization)

  1. MUI Base
  2. + Custom Tokens
  3. Branded Component
Reasoning
Accessibility built-in. Faster to ship. We focus on customization, not primitives
Trade-off
Less fully custom. Constrained to MUI patterns. But productivity >> control

Comprehensive Documentation Upfront

Document while building, or after shipping?

Systems without docs don't get used. Documentation IS the system

Alternative

Ship, then document later

Chosen

Documentation upfront, with the same structure for every component: Component (variants) → Storytelling (in context) → Accessibility (numbered focus order, ARIA role annotations such as role="toolbar", developer notes) → Specification (numbered anatomy with props and dependencies, layout and spacing) → Examples (component inside a real screen)

Reasoning
Documentation drives adoption. Clear contract = trust. If it's not documented, it doesn't exist
Trade-off
Significant upfront time. Slows initial launch. But prevents adoption failure downstream

Visual Design

The system was rebuilt in four phases.

Audit of Figma libraries against Storybook components
Phase 1 — Audit: Inventory of Figma libraries vs. Storybook components. Gaps in accessibility, responsiveness, and documentation were mapped.
Contribution workflow from request to adoption
Phase 2 — Governance: Defined a contribution workflow (Request → Design/Dev Review → Build → Storybook Staging → Release → Adoption). Published as a team process document.
Primitive and semantic tokens synced between Figma Variables and code
Phase 3 — Foundations: Synced Figma Variables (primitive and semantic tokens) with CSS-in-JS implementation. Typography, spacing, color, and layout tokens were aligned across design and code.
Standardized components in Figma and React with documented props and states
Phase 4 — Component Standardization: Each component was rebuilt with auto-layout + variables in Figma and MUI + custom tokens in React. Each component included props documentation, states, accessibility specs, and a Figma usage template.

Trade-offs

  • Token architecture

    Chose
    One source of truth
    Gave up
    Flexibility in design/code separation
    Worth it because
    Eliminates sync errors
  • Chromatic testing

    Chose
    Automated visual regression
    Gave up
    Speed of manual QA
    Worth it because
    Production incidents prevented
  • Distributed governance

    Chose
    Team contribution + review
    Gave up
    Speed of individual builds
    Worth it because
    Enables adoption, prevents chaos
  • MUI base

    Chose
    Faster foundation
    Gave up
    Full custom control
    Worth it because
    Accessibility + speed
  • Docs upfront

    Chose
    Comprehensive docs
    Gave up
    Faster initial launch
    Worth it because
    Drives adoption (foundation of system)
Tradeoffs
Tradeoffs

What Changed

  • ✓

    Consistency improved across products (components came from one source)

  • ✓

    Technical debt went down (token-driven theming replaced duplicated style logic)

  • ✓

    Adoption spread beyond original team (other product squads started contributing and using)

Behavioral proof

• Teams started contributing without asking. Once the system was trustworthy (clear contract, good docs), product squads added their own components • This is the best test of a system: Do people choose to use it because it solves their problem?

Business proof

• Feature launches faster (no more "let's rebuild this component") • Consistent visual identity across product • Foundation for scaling (teams can maintain system while shipping features) • Recommendation made to leadership to hire dedicated DS team (system proved ROI)

Outcome

The insight

A design system is only as useful as its documentation and governance.

Components without a clear contract—tokens, states, props, usage rules—won't be trusted or reused, no matter how good they look. The system itself isn't the components. The system is the contract that lets people trust and build on it.