The Diadoc design system
One token file, 4 button types, 6 statuses, 1 data format. Seven screens are built from it, and none of them adds a value beyond the list.
Brand: three teals → one
The value was chosen by contrast, not by taste: filled controls use brand-600 (4.72:1 against white), accents without text use brand-500 (3.48:1, the 3:1 threshold).
brand-700hover · 6.98
brand-600primary · 4.72
brand-500focus, stripes · 3.48
brand-100surface
brand-textlink · 5.84
Neutrals: 8 steps instead of a random six
n-400 is the only control border (3.15:1). n-300 and n-200 are decorative dividers only: under a control it is always white, otherwise the border stops passing.
n-900
n-800text · 15.04
n-600secondary · 6.27
n-400border · 3.15
n-300decor
n-200divider
Statuses: a text + surface pair, always AA
In the audit a status was bare text, and “action required” used the same colour as the archive. Now this is six prioritised states.
Draftneutral · 6.48
Signedsuccess · 5.09
In approvalprogress · 5.54
Signature requiredwarning · 5.31
Signature refuseddanger · 5.20
Cancelledmuted · 4.74
Typography: 6 sizes, 4 weights
The audit had 2 weights for the whole product and a base that jumped between screens (14 and 16). Here the base is one: 14.
32 / boldReconciliation act24 / boldScreen heading20 / semiboldBlock heading16 / semiboldCard heading14 / regularMain text and the table — one base for every screen12 / mediumLabel, counter, secondary lineSpacing grid: a 4 step, seven values
The audit had 8 padding values alone, asymmetric ones included. Here a space is a multiple of 4 taken from the list; the measurement swept the 6px and 2px out of the prototype.
Shapes, heights and elevation
Three radii instead of seven: 4 for chips, 8 for everything interactive, a circle for the avatar and the counter. Three shadow levels; in the audit there was one shadow, and it played the border.
r-sm · r-md · r-full
36 — control
28 — compact
22 — badge
Buttons: four types, told apart without a label
The audit had 8 variants, five heights and not a single state. Exactly one primary action per screen.
primary · one per screen
in focus · brand-500 ring
disabled · no action
secondary · n-400 border
ghost · text only
danger · never more than one
compact · tables and pagination
Fields: a label is mandatory, an error is a state
The send screen in the audit: 0 labels, 0 required markers, 0 validation. Below are all the states of a field, including the one the original interface does not have at all.
Format hint
This number was already sent on 20 Jul 2026
Data format: one for the whole product
In the audit one column held both “20 July” and “23.12.2025”, one card held three date formats, and an amount printed with a separator sometimes and without it other times.
date20 Jul 2026time only when it means something: 20 Jul 2026 · 15:16money2,640.00 ₽a comma groups thousands, two decimals, ₽ as the unitidentifiersTIN 0000000000 · №00000000000never formatted as numbers