Design systems & theming
The Sedona design system already powered the Nextiva agent workspace in light mode. My task was to design a complete dark theme built entirely on variable modes, not new components and to put every surface through extensive accessibility checks before it shipped.
Sedona is the design system behind a Nextiva-style contact-center workspace: live calls, tickets, contact directory, and the NextIQ AI assistant. It was already deployed in light mode, with a deep neutral scale and a single brilliant action blue. The library was healthy. What it didn't have was a second theme.
Sedona already had a 140-strong global palette, a semantic layer mapping colour to meaning, and a naming convention that aliased primitives → semantic tokens → component tokens. That existing discipline is exactly what made a second theme tractable there was a clean seam to add modes behind.



The naïve version — flip the background, invert the text — breaks immediately. Shadows vanish, brand blue stops passing contrast, status colours glow, and the AI panel's carefully tuned "this is a suggestion, not a fact" cues fall apart. The problem was building a dark theme that was structurally identical to light so it could ride the same components, while being perceptually re-tuned so nothing lost its meaning.
Before touching a single token, I needed to know this was worth doing well. Two lines of evidence — one from our own users, one from the platform we were shipping into turned dark mode from a backlog wish into a committed deliverable.
Contact-center agents run long shifts, often in dimmed rooms, staring at a single workspace all day. When we looked at our base, the majority had set their operating system to a dark appearance by default — and our bright, light-only app was the one window forcing them back into glare. The demand for a dark theme wasn't speculative; it was the most consistent piece of qualitative feedback we had.
We were publishing the Nextiva app inside the Microsoft Teams ecosystem. Teams apps must respect the host's appearance — Default, Dark, and High-contrast — and theme support is part of the store's design guidelines for certification. An app that stayed bright white inside a dark Teams window would feel broken and would not pass review. Dark mode stopped being optional the moment Teams became a distribution channel.
Low-light rooms plus an all-day bright surface is a fatigue problem, not a preference. Dark mode reduces glare during long shifts.
Teams certification wants the app to feel native in every host theme — same layout, same components, theme-aware colour.
Both Teams guidelines and our own bar required WCAG AA. Contrast had to be designed in from the first token, not patched later.
Each one started in Figma variables and ended up encoded in the same tokens engineering shipped. The goal throughout: one component definition, two modes behind it.
Every component was re-pointed from primitive colours (blue/800, dark-grey/50) to semantic aliases — surface/primary, text/primary, border/primary, surface/action-primary. In Figma I added a Dark mode to the semantic and component-colour collections, so a single component instance renders correctly in either theme just by switching the mode. Engineering mirrored it one-to-one as a :root[data-theme="dark"] token block — the Figma variable names and the CSS custom properties are identical.

On white, hierarchy comes from soft midnight-blue shadows. On the dark canvas those shadows are invisible. So depth in dark mode is carried by the surface ladder above: surface/secondary sits deepest, surface/primary cards lift one step, surface/elevated pop-ups lift again. Borders do the rest — border/primary steps up to dark-grey/200 so a 1px hairline separates planes that shadow no longer can.
Sedona's primary #005FEC is gorgeous on white but fails AA as a fill on a dark surface. Rather than darken it, the system swaps the action surface to the brighter blue/300 — #49B6FF — and does the thing most dark themes miss: it flips the label to dark ink. text/on-action moves from white to dark-grey/800 #171C34, the inverse of light mode. White text on #49B6FF fails; dark ink on it clears AA comfortably. Status colours each lift one luminous step and their fills drop to low-alpha transparents so they read as state, not decoration.



Pulled straight from the Sedona variable tables — the Neutral-dark scale that every dark surface aliases to, and the component-token layer that points surfaces, text and borders at those neutrals. These are the actual names and values the theme resolves through.
The hardest surface was the AI assistant. In light mode, a "suggested action" reads as tentative through a soft grey fill and de-emphasised text; a superseded suggestion is struck through but still legible. Those signals are load-bearing — they tell an agent what's a fact versus a draft. In dark mode I rebuilt the same hierarchy with surface steps and opacity rather than grey-on-grey, so the panel keeps saying "this is a suggestion — verify before you speak it."
Dr. Webb is available on Tuesday at 2 PM and Thursday at 10 AM. Please confirm which time slot works best?
Because nothing was forked, every component below is the light component rendered through the dark mode. Here is how the key surfaces of the workspace resolve once the variables flip — from the full workspace down to the button system.
Primary, secondary, tertiary, danger and their ghost variants — across resting, hover, click/focus and disabled. Each state pulls from component-colour tokens, so the whole matrix flipped theme without a single new component.




Dr. Webb is available on Tuesday at 2 PM and Thursday at 10 AM. Please confirm which time slot works best?
Getting the obvious surfaces right was fast. The time went into the places where dark mode quietly breaks — translucency, glow, forced colours, and the things that are supposed to look faded but still need to be read.
Each label, alert and surface pairing went through a contrast checker until it cleared WCAG AA. Where a colour couldn't pass at full strength, the trade-off was made in the variables — desaturating labels and dropping status fills to transparent tints rather than compromising legibility.


