The Cosmic Ledger

Learn

Design System Workflow: Following One Drift End to End

One design change, eight weeks, nobody at fault. Follow a single drift through a normal workflow, see the four gaps it slipped through, and close each one.

Design System Workflow: Following One Drift End to End

A designer makes the small Button taller: 36px to 44px, so it is easier to tap on a phone. It is a good change, made for a good reason, and it takes five minutes in the design file.

Eight weeks later, a support ticket says people keep missing the small buttons on mobile. The small Button in the product is still 36px. Every review along the way passed. Nobody skipped a step, and nobody can say when the two sides stopped agreeing.

This drift is illustrative, but its path is a common one. The roles are generic on purpose: drift is never one person's fault.

This post follows that one change through a normal design system workflow, week by week, to find the exact places it got lost. Then it gives you a four-step check that closes each one, and you can run it on your own last design change this week.

The drift, week by week

Week 1, design. The designer changes Size=Small from 36px to 44px in the Button component set and publishes the library. They post a note in the team channel and attach a link to the checkout frame where the small Button matters most.

Week 1, handoff. A ticket is created: "Update the small button on checkout to the new design." It links to that frame. The ticket describes a screen, because that is where the change was noticed.

Week 2, build. A developer opens the checkout screen, sees the taller button in the design, and makes it 44px there. The Button component itself has height: 36px written into its styles, not a token, so the fix goes into the checkout styles as an override. The ticket is done.

Week 2, review. Code review checks that the change is clean, and it is. Design review opens checkout, compares it with the frame, and it matches. Both reviews compared exactly what they were asked to compare.

Week 3, release. Tests pass. The visual tests pass too, because their baseline for the small Button is the 36px version they approved months ago. That is expected: a visual test only compares code with its own past, never with the design.

Weeks 3 to 8, spread. New screens use <Button size="small"> and get 36px. An AI coding agent, asked to build a settings page, copies the pattern from the existing code. Every new screen is built against the old value, and every one of them looks right next to the others.

Week 8, discovery. Taps get missed on mobile. Someone measures the button: 36px, below the 44px minimum tap size Apple recommends. The design has said 44px for two months. The checkout screen is the only place that matches it.

Where it got through

Look back at the timeline and there is no villain in it. There are four gaps.

1. The change was described as a screen, not a component. The design changed a component. The ticket asked for a screen. Everything downstream followed the ticket, so everything downstream was scoped to one screen.

2. The value was not a token. If the small Button's height had been a token, the change would have reached every screen through the pipeline. Because it was written into the component, there was nothing to update except by hand. That is token drift waiting to happen.

3. Every review compared the wrong pair. Code was compared with code. A screen was compared with its frame. Nothing compared the Button component in code with the Button component in the design, so the one comparison that would have caught it never ran.

4. Nobody wrote down when the two sides agreed. Without a date, week 8 starts from zero: nobody knows whether the drift is a day old or a year old, or which screens were built during it.

The two-sided change check

Four steps, run every time a design value changes. The designer starts it; the developer finishes it. It takes minutes per change, and it closes each of the four gaps above.

Step 1: write the change as a value pair. Not "updated the small button", but the component, the property, both values, the token if there is one, and the date. Paste this into the ticket or the channel post:

Change note
Component:  Button
Variant:    Size=Small
Property:   height
Was:        36px
Now:        44px
Token:      none (hardcoded in code, see step 2)
Changed:    design library, published Mon
Why:        tap target below the 44px minimum on mobile

The note describes the component, so every screen that uses it is in scope from the start.

Step 2: find every place the code holds the old value. Search the repository for the old value and for the token name, if there is one:

Shell
git grep -n "36px" -- src/components/Button
git grep -n "size=\"small\"" -- src

The first search finds where the value lives. The second finds every screen that will change when it moves. If the value is hardcoded, that is the moment to make it a token, so the next change travels on its own.

Step 3: one ticket per component, with both values. The ticket is "Button Size=Small: height 36px in code, 44px in design." Fix it in the component, not in a screen. A screen override fixes one screen and hides the drift in all the others.

Step 4: after the merge, compare the component itself, and date it. Open the component in Storybook or wherever it renders on its own, in every affected variant, next to the design. Use the method for each type in the five types of design system drift. When it matches, add one line to the change note:

Agreed again:  Thu, commit 3f9c2e1

That line is the date the drift ended. If it never gets written, the drift is still open.

When the drift is already old

You will find drift that predates any change note. Trace it backward with the same questions in reverse.

Find when the code took its current value: git log -S "36px" --oneline -- src/components/Button lists the commits that added or removed it, oldest at the bottom. Find when the design took its current value in the design file's version history. The drift started at the later of the two dates. Then ask which of the four gaps it went through. The answer is usually gap 1 or gap 3, and it tells you which step your workflow is missing.

What a checklist can't do

This check depends on someone remembering to run it, every time, for every change. On a busy week, the change note is the first thing that gets skipped. It also only covers the changes people know about. A value adjusted in code during a hotfix never gets a note at all.

That is the part a tool should do. deeepSpace saves a version every time a component is pushed from the design side or synced from the code side, keeps both histories next to each other in Web Space, and ties every comparison to a design version, a code version and the commit it ran against. The date both sides last agreed stops being something to reconstruct. Trace a real drift with design system version control.