Skip to main content
← Back to Work

Design System: One Library, Many Client Brands

Role: Product Designer

Client: Viagio Technologies

Design SystemsUI DesignAccessibilityFigmaDocumentation
Overview of the design system's component pages laid side by side: buttons, validation and labels, text inputs, select dropdowns, input groups and selection controls, each showing every variant and state

Project Brief

A themable Figma design system: one component library that takes on any client’s brand and keeps WCAG AA contrast in every theme. It began as a fix for one client’s growing team and became the system Viagio’s own designers prototyped with.

This started as a proposal to a client. They were adding designers to a growing team, and three problems were showing up at once. The same button or form was being drawn several different ways. New designers had no shared library to start from. And engineers were receiving slightly different specs for what was meant to be the same component.

I proposed a design system and built it. It worked well enough that Viagio asked me to replicate it for internal use, so our own design team could produce prototypes quickly. I created that system and maintained it.

Built to change brands

An agency’s design system has a requirement a product company’s does not. It has to serve many clients, each with their own brand. If every new client meant restyling a library by hand, the system would save nothing.

So I structured it around the swap. I split color into two groups. Color variants — the primary, secondary, and accent colors — change with every theme. Color constants — the whites, blacks, and grays — never do. Components referenced those shared color and type styles instead of fixed values, and I used the Themer plugin in Figma to switch them. Change a client’s palette, and the whole library updates with it.

The system included semantic colors, a full typography scale, an icon set, and spacing and grid definitions. On top of those sat responsive core components, page templates for common layouts, and written guidance on when to use each piece.

Color page with the Artisan Technology Group logo: color variants, noted as changing across themes, showing primary, secondary and two accent swatches, and color constants, noted as not changing across themes, showing white, two blacks and five grays
Semantic color swatches for success, warning, error and focus highlight, each paired with a light version
Typography specimen showing H1, H2 and H3 titles, caption and small text, buttons, and strong and emphasis styles, each labeled with its Roboto weight, size and line height

Accessibility that survives a theme

Swapping in a client’s colors created a problem the swap itself could not solve. A brand color chosen for a logo is not chosen for legibility, and white text on a brand-colored button often failed contrast.

I checked themes against WCAG AA using WebAIM’s Contrast Checker and found a pattern. On certain backgrounds, white button text only passed at a heavier weight. The reason is in the standard itself: AA requires a contrast ratio of 4.5 to 1 for normal text but only 3 to 1 for large text, and bold text qualifies as large at a smaller size.

I built that into the system as rules, so the answer did not depend on each designer remembering to check. Every project that used the library inherited them.

Button variants in filled, outlined, text and icon styles across default, dark and disabled states, beside text input variants in standard and large sizes including error and focused states
Selection controls page documenting checkboxes, radio buttons and toggle switches, each with written usage guidance and examples of selected, unselected and disabled states
Chips in default, selected, focused and disabled states, status pills for active, inactive and closed items, and avatars in four sizes with photo and placeholder versions

Results

  • A reusable, themable design system that Viagio’s design team used to build prototypes and hand off to engineers, who built from its specs.
  • Components that meet WCAG AA, with contrast rules built into the system.
  • Used on client work including the Medical Case Management system and the StoneAge apps, the second of which shipped on three platforms in six weeks.

Learnings

  • Accessibility belongs in the system. Building the contrast rules in once meant every project inherited them, where before each designer had to check by hand.
  • A design system is never finished. It kept changing as our needs changed and as I found better ways to organize it.
  • It needs other people’s input. Feedback from fellow designers and engineers shaped it more than any decision I made alone.