Loading…
../projects
The same finance screen in all four Plumage brands: Finch, Sparrow, Hummingbird, and Chickadee

Plumage

I built Plumage, a design system that runs four of my own apps across finance and health. Adding the two health brands took new tokens only: no component changed and the first two brands came out identical.

role
Solo designer and developer (personal project)
status
live
stack
React · TypeScript · Tailwind · shadcn/ui · Monorepo · TanStack React Table · WCAG · Figma · Vercel
Brands
4
Components
26
Patterns
15
Design tokens
609
Visual baselines
1,728
Contrast
WCAG 2.2 AA
/demo/git

The problem

I build small apps for my own use: two for money (an investing dashboard and a budget and debt planner) and two for health (training and sleep, and nutrition). I wanted them to feel like one family without looking the same.

Two similar apps would only prove a theme. Two unrelated domains test whether it is a system. Finance screens need dense tables, figures that line up, and precise gains and losses. Health screens need calmer pacing and progress toward a target.

So I set one rule before writing any component: no component may know which brand it is rendering.

My role

Personal project. I designed and built all of it: the tokens, the components, the documentation site, and the four apps that use it.

Why not use an existing library

I looked at four ways to start. A full library like MUI or Mantine would have meant the work on show was configuration, not a design system. Headless primitives alone were the slowest path. Building from scratch meant every accessibility bug would be mine alone.

I chose shadcn/ui on Radix, copied into the project so there is no runtime dependency on it. I own every line, and the cost is that upstream fixes have to be ported by hand. I also switched off Tailwind's default scales, so a stray default class fails to compile instead of slipping through.

How the tokens work

Three tiers

Primitive tokens are named by value, such as a step on a color ramp. Semantic tokens are named by role, such as the surface background or muted text. Component tokens cover the few cases a single component needs. Components only ever use the last two.

That rule is enforced by the build, not by review. A test fails on any raw value or leftover default class in a component.

Three axes

Every screen is the product of a brand, a mode (light or dark), and a density (compact or comfortable). Each semantic token is declared in exactly one of those layers, and the build fails if one appears in two.

Brand files map roles onto color ramps. The mode layer reads only those roles, so one light mapping and one dark mapping serve every brand.

Color ramps matched by luminance

The ramps are generated so that each step has the same luminance in every hue. Step 600 of gold and step 600 of emerald have the same contrast against white, about 5.5 to 1. That is what lets one mapping work for any brand color.

A check in the build fails if text drops below 4.5 to 1 or interface marks below 3 to 1, in any brand and mode. The target is WCAG 2.2 AA.

Type as tokens

Fonts are tokens in four roles. Body and numeric type are shared across brands so the apps read as a family. Display type changes per brand: Cabinet Grotesk, Satoshi, Clash Grotesk, and Gambetta.

Numbers get their own role because money, macros, and reps have to line up in columns. A test requires that each brand's numeric font has tabular figures.

The tokens are written in the W3C design tokens format and built with Terrazzo into CSS, a Tailwind theme, TypeScript, and files for Figma.

The build produces 609 tokens: 325 primitives, 99 brand palette entries, 147 semantic tokens, and 38 component tokens.

Four brands

  • Finch, investing: dense and precise, with a warm gold accent. Compact density. Cabinet Grotesk for display.
  • Sparrow, budget and debt: warm russet and brown, calm. Comfortable density. Satoshi for display.
  • Hummingbird, training and recovery: emerald green, with ruby as a highlight in charts. Energetic but clean. Clash Grotesk for display.
  • Chickadee, nutrition: soft charcoal, warm buff, and cream. Friendly. Gambetta, a serif, for display.

Chickadee is where a brand forced the system to grow. A serif and a grotesk need different spacing, and a weight reads differently in each family, so every brand now sets its own display weight, letter spacing, and line height as tokens.

The test: adding two health brands

The first two brands were both for finance. The real question was what would have to change when a different domain arrived.

Adding Hummingbird and Chickadee as brands took four new color ramps, two brand files, and two entries in the resolver. The existing ramps came out byte for byte unchanged. I built the tokens before and after and compared every value: Finch and Sparrow resolved identically in all eight of their combinations. No component changed.

Health did need things finance had not. I added four components (a measurement display, a macro bar, a calendar heatmap, and a slider) and the display type tokens above. None of the 760 existing visual baselines for the finance brands changed.

One sign the components are not tied to a domain: the macro bar, built for protein, carbs, and fat, also draws the sector allocation on the finance example screen.

Components and distribution

Plumage has 26 components and 15 larger patterns, such as a data table, stat cards, charts, a timeline, and the application shell. Patterns were added when an app needed them, not ahead of time.

There are two ways to use it. Inside my own repository the apps consume it as workspace packages. Any outside project can install components from a shadcn registry served by the docs site, with one command per component.

The documentation is a Storybook. It includes two full example screens, one for finance and one for health. Neither names a brand, so the toolbar switches the whole screen between all four.

Keeping it honest

  • Every story is a test. Each one is rendered, its interactions are run, and it is checked for accessibility problems. Adding a story adds a test.
  • Every story is also photographed in every combination: 4 brands, 2 modes, and 2 densities. That is 16 screenshots for each of 108 stories, 1,728 baselines in all.
  • Lint rules stop the design system from importing anything from the apps.
  • Decisions are written down. The project has more than 50 decision records, and the 15 about Plumage are public with the source.

The checks earned their keep. A color-blindness library I used applied its math to the wrong color space and reported a chart palette as passing at 9.6 when the real figure was a failing 4.7. A second, independent check caught it. Another time a font size set on the root element made every size in the system render at 13/16 of its intended value. I found it by measuring a sidebar that was 195 pixels wide instead of 240.

Making it public

The apps hold my own financial and health data, so the repository they live in stays private. To publish Plumage I wrote an export: it copies an explicit list of files into a standalone repository, scans the result for anything from the private side, and then installs, tests, and builds the copy before I push it.

The brand typefaces are free to use on a website but cannot be redistributed, so the system names them and never bundles them. The docs site loads them from the foundry's own service.

Working with AI

I used Claude Code to plan the work and to help build it, the Storybook in particular. The decisions were mine: which tokens exist, how the monorepo is structured, and what goes in the Storybook.

What it wrote goes through the same checks as what I wrote. The build, the tests on every story, and the visual baselines do not care who typed the code.

Results

  • One set of 26 components and 15 patterns renders four brands, in light and dark, at two densities.
  • Adding two brands in a new domain changed no existing component and none of the 760 existing visual baselines.
  • 1,728 visual baselines and a contrast check in the build guard every brand against regressions.
  • 609 design tokens in three tiers, with the rule that components use only the semantic and component tiers enforced by the build.
  • The docs site, a registry any project can install from, and the source are public.

What I learned

Rules that live in the build get followed. Rules that live in a review checklist drift. Almost every guarantee in Plumage is a check that fails, not a convention.

A second domain is the real test of a design system. The health brands showed which parts were truly general, and the few places that were not became tokens.

What I would do differently

Every new size a component needs is a token decision first. There is no escape hatch for a raw number, which is the point of the rule, but it slows down quick experiments. Next time I would set up a place to try ideas with loose values before they have to earn a token.

The visual tests never see the real typefaces. They block the web fonts so the pictures do not depend on the network, and the baselines only match on the one Mac that made them. The cost showed up on the public site: a stat card that fit in the fallback font clipped a long figure in two of the real ones. I fixed the card, but the tests still would not catch the next one. I would run a second, smaller set of screenshots with the real fonts loaded.

©2026