← Back to the screen

Design system portfolio

Design record: Freightpost

The four direction lines behind this page, the generator command that produced its tokens, and the pairs it was measured against.

Cross-border freight: 140 open consignments, their customs status, and the ones that have stopped.

Direction

LeverDecision
ArchetypeShell. Ant Layout.Sider at 208px, collapsing to a 64px icon rail under 992px; one scroll region for the table.
Data stanceTable-first at maximum density. Fourteen columns, the checkbox and the reference frozen, the horizontal scroll held inside the table. Filters live in the column headers.
DensityAnt small: 8px cell padding on 14px text, 43px rows measured, 24px header controls, 32px page controls.
The bold thingAn exception is a sentence, not a colour. The row keeps its own background and gains a second line naming what stopped it. That sentence is sticky: past the frozen columns on a desktop, and at the left edge of the scroll box below 992px, where it wraps to as many lines as it needs.

Generator

ant_palette.py "#0B5FFF"                 # tokens.css (committed, never edited)
ant_palette.py "#0B5FFF" --contrast      # the audit, below
ant_palette.py "#0B5FFF" --dark          # the ramp under the dark algorithm
ant_palette.py --map                     # neutrals, status, dimensions, motion
ant_palette.py --map --dark
ant_palette.py --presets                 # the gray ramp, which is special-cased

tokens.css holds the seeded ramp alone. tokens.support.css holds everything else and is generated the same way: a script reads the four commands above and emits it, so nobody typed a value into either file.

The contrast audit, and what it changed

step  hex         on white  on black   use
5     #3381ff        3.67:1     5.72:1   hover state of the primary
6     #0b5fff        5.13:1     4.10:1   THE primary: colorPrimary
7     #0045d9        7.36:1     2.85:1   active / pressed
Step 8 (text) on white: 9.88:1 passes 4.5:1
White on step 6 (primary button): 5.13:1 passes 4.5:1

Deviations from CONTRACT.md

Uplift, 2026-10-29

The archetype stays Shell; the page now behaves like one of Ant's Pro templates.

Round two: the chart is the moment

An independent critic, judging the first fold cold, scored this page 7: the direct-labelled chart was good, the cards and sidebar generic.

Round four

Round five: the table fits, and nothing clips

Round nine: below the fold, dark, and the phone

Round ten: the harsh second read

Round nine's score for this page was not recorded in this file, so there is no before-number to quote; the ten scores below were taken cold on the round-nine page, and again after the last edit.

HeuristicBeforeAfter
Visibility of status33
Match with the real world33
User control and freedom13
Consistency33
Error prevention23
Recognition over recall33
Flexibility and efficiency33
Aesthetic and minimal design33
Error recovery33
Help23

Round eleven (2026-11-10)

Round twelve (2026-11-10)

Round fifteen (2026-11-10)