Expel  ·  2023 to 2024

Expel Design System

  • Design system
  • Accessibility
  • Tokens

A security platform where color was typed into screens, so the most requested feature was impossible to build. I changed the layer underneath instead of the screens.

Role
Lead product designer, design system
Scope
The token model, the component library, accessibility, and the migration plan engineering worked to
Team
Front-end engineering
Platform
Web, light and dark
The Expel platform with the design system applied across it, in light and dark.
  • Good → Excellentcustomer usability score, 74.5 to 86.4
  • Poor → OKanalyst usability score, 43.37 to 55.6
  • 1,000+outdated elements replaced
Case in 30 seconds

The problem

The platform was inconsistent, hard to navigate, and had no dark mode, which was the single most requested thing users asked for. Dark mode was not a missing feature. It was impossible, because color was typed directly into screens and there was no layer where a color decision could live.

The move

I argued for fixing the layer rather than the screens. A three-tier token model, semantic names over primitives, with components that own every state they can be in, so a screen never assembles one by hand.

The result

Customer usability rose from Good to Excellent and analyst usability from Poor to OK. Over 1,000 uses of outdated elements were replaced, and dark mode shipped as a set of token values rather than a second product.

The context

Expel runs 24/7 security monitoring. Two groups live in the platform: customers watching their own systems, and Expel’s analysts, who are in it around the clock.

Dark mode was impossible, and that was the real problem

The platform ran on an old codebase. Inconsistent, hard to navigate, and no dark mode, the thing users asked for most.

But dark mode was not a missing feature. You cannot add it to a product where colors are typed straight into the screens. Every hex is a decision someone made by hand, in hundreds of places.

For the user: analysts on night shift stared at a white screen for eight hours.

For the business: no dark mode and no white labeling meant we could not sell or theme it the way enterprise buyers wanted.

For the system: colors had nowhere to live. That is what turned a feature ticket into a system project.

The decisions

Fix the layer, not the screens.

Why

Run every color through a named token instead of a raw hex, and dark mode, white labeling, and accessibility stop being three projects. They are three sets of values behind the same names.

The tradeoff

Hard to sell. For a while it looks like nothing is happening, because there are no new screens to show. I argued it on what it makes possible, not what it produces.

The result

A theme became a column of values, not a rebuild.

Semantic tokenResolves to
severity / high#df2d2a
severity / medium#f48a19
severity / tuning#388665
interaction / unvisited#177ee6
headline / largeYantramanav Light 28 / 34
primary / DEPRECATED-blue#177ee6 kept during migration

Color as a chain, not a palette. A component asks for its semantic role, severity, interaction, or headline, never for a hex. Old primitives were kept and flagged DEPRECATED during the migration, so teams moved at their own pace.

See the real token names and the full color library
Deep dive

The semantic layer names intent, not appearance: semantic/severity/high, semantic/interaction/unvisited, semantic/headline/large. A component asks for the role it is playing.

The detail I would point at is the primitive layer. Old primitives were kept during the migration and flagged, for example primary/DEPRECATED-blue. That is a migration plan rather than a big-bang swap. Teams could move at their own pace, and the deprecation marker told them which way was forward without breaking anything that had not moved yet.

The full semantic color library, every token on one sheet.
The full semantic color library. Every role across defaults, high and low contrast, data visualization, interaction, and navigation resolves through a named token.
The typography scale defined as tokens, with sizes, weights, and line heights named rather than listed.
Type, space, and radius work the same way. Once the pattern holds in one category, the rest stop being arguments.

A component owns every state, so a screen never builds one.

Why

Designers were rebuilding the same patterns every week, and each copy drifted from the last. If the component carries its own states, you pick a button instead of making one.

The tradeoff

A component that owns everything is heavier to change. Adding a state touches something the whole product uses. That friction is on purpose, and not always welcome mid-sprint.

The result

Every variant and state defined once, focus included. Engineers read a token name, not a redline.

The full button variant matrix: three types across two sizes and five interaction states, including focus.
Three types, two sizes, five states, focus included. Focus states are the ones that go missing when each screen builds its own button, and they are the ones keyboard users depend on.
See how a component maps to tokens, both themes
Deep dive
A table assigning each component property to its token for both the light and dark theme.
The same component, both themes, one row per property. Dark mode stopped being a project and became a column.

Build accessibility in, do not audit for it later.

Why

Contrast comes from which token a component uses. Get the tokens right and you cannot build a broken screen by accident. An audit at the end is a list nobody has time for.

The tradeoff

It limits what you can reach for. Some good-looking combinations are simply not available.

The result

Accessibility stopped being a phase. It is the only version that survives a deadline.

The system

One component library, documented, built on atomic principles. Dark mode, white labeling, responsive, and accessible, all from one source.

A modal component at three widths in Figma, with the variable collections for border radius, color, size, space and typography in the panel beside it.
One component, three widths, and the variable collections it resolves through. The panel on the right is the point: border radius, color, size, space and type all come from the system rather than from the file.
The icon symbol library sheet, with a note telling designers to use the Icon component rather than the symbols directly.
Even the icons carry a rule. The sheet tells you not to use these directly, because reaching past the Icon component is how a library starts drifting again.
The Alerts screen in the new system, dark theme, built entirely from tokens.
The payoff users asked for. This dark theme is the same screens resolved through a different column of token values. No screen was redesigned to get here.

Prototyping with AI before the team had a process for it

Prototyping

I used Lovable to build working prototypes of column-based table grouping, so we could put a data-dense interaction in front of analysts and watch them use it. A clickable thing settles in an afternoon what a static screen debates for a week.

The workshop

I ran an AI workshop on investigation templates and analyst automation, looking at where AI could take work off a SOC analyst and where it absolutely couldn’t. The same boundary question I’d spend the next two years designing around at Advisor360.

A Lovable prototype of column-based table grouping, with alerts grouped by organization type.
The prototype of column-based table grouping. Analysts could click it, which settled in an afternoon what a static comp would have debated for a week.

Measured before and after, for both groups

We ran the System Usability Scale on both audiences: the customers watching their own systems, and Expel’s own SOC analysts who live in the platform around the clock. Both moved, and the analyst score moved further in relative terms even though it started much lower.

A chart of customer usability scores, 74.5 before and 86.4 after, plotted on the standard acceptability scale.
Customer SUS, before and after. 74.5 to 86.4, which moves the platform from Good to Excellent on the standard scale.
A chart of component insertions over time, rising to a peak, with a total of 68,914 inserts.
Component and token adoption over time. A design system is only real once the usage curve goes up, so this is the chart I watched.

Impact

  • Good → ExcellentCustomer usability score, 74.5 to 86.4
  • Poor → OKAnalyst usability score, 43.37 to 55.6
  • 1,000+Outdated elements replaced with system components

For users. Usability went up for customers and analysts. Dark mode shipped as token values, not a second product. Accessibility came from the components, not a cleanup pass.

For the business. White labeling became possible.

For the team. Designers compose instead of rebuild. Engineers consume tokens instead of reading redlines. A new theme is a column of values.

What changed afterward

A new theme is a set of values. A new component is a request against a documented system, not a fresh argument. The deprecation markers let the migration run in the background while the product kept shipping. This is the method I still use.

What I’d carry forward

Users ask for features and describe architecture. “We need dark mode” was really “colors have nowhere to live.”

Sell the system by what it makes possible. Nobody funds a token layer. They fund dark mode, white labeling, and accessibility arriving together.

Build it with the engineers who will use it. The token names are the handoff.