Why your design system keeps drifting
Every team starts with tidy tokens and ends up with forty shades of grey. The drift is not a discipline problem — it is a defaults problem.
Every design system starts the same way. A tidy palette. A type ramp someone agonised over. A spacing scale with real opinions in it.
Six months later there are forty shades of grey in production and nobody knows which one is correct.
Drift is a defaults problem
The usual diagnosis is discipline: designers went rogue, engineers got lazy. That is almost never what happened. What happened is that the fastest path for a busy engineer at 5pm was to type a hex code, and the system did nothing to stop them.
A design system is not a document. It is a set of defaults competing against expedience — and expedience is very good at its job.
Make the right thing the easy thing
The systems that hold up share one trait: using a token is less work than not using one.
- Name tokens for intent (
--color-surface-raised), not for appearance (--color-grey-4). Nobody reaches for grey-4 on purpose. - Delete the escape hatches you do not want used. If arbitrary hex values are allowed, they will be used.
- Let the linter carry the discipline. Humans should not be the enforcement layer.
The goal is not a system nobody can break. It is a system nobody wants to break, because the sanctioned path is genuinely faster.
The audit that actually works
Once a quarter, grep production for raw colour values and count them. Not to shame anyone — to find the gaps where the system failed to offer an answer. Every raw hex is a missing token wearing a disguise.
Drift is feedback. Read it that way and the system gets better instead of getting policed.