Details
The system under AtomERP and AtomGo: components, templates and rules that a person or a model can build a new screen from.

An ERP is thirty screens that all have to feel like the same place, built over years, by people who won’t all be in the room. This is the system under AtomERP, and under AtomGo, the inventory product behind it. Every specimen below is rebuilt from the product’s own tokens, light and dark, so the switch in Colour changes all of them.
Colour
One for action. The rest has to mean something.
Neutrals carry the screen. Indigo-500 fills the one primary action and draws the focus ring. Everything else with a hue is data or status, and status always comes with a word.
Primary · indigo
Secondary · cobalt
Neutrals · surfaces, lines, ink
Status · text, solid, soft, and always a word
Charts · six hues in a fixed order, never cycled
Type
Geist, two weights, ten sizes.
Weights 400 and 500 only. Sentence case everywhere, tabular figures in every column of numbers, and Geist Mono for anything someone reads aloud down a phone line.
text-display28 / 34 · 500 · −0.025emPage titlesPurchase orderstext-figure28 / 32 · 400 · −0.03emHeadline figures, tabular₹18,42,650text-title18 / 24 · 500 · −0.015emSection and widget titlesOrdered vs receivedtext-heading14 / 20 · 500Panel titlesTo dispatchtext-body14 / 20 · 400Everything you readCouldn’t save. Check your connection and try again.text-body-sm13 / 18 · 400Table cellsApex Engineering Workstext-label12 / 16 · 500Column headers, field labelsOn handtext-caption12 / 16 · 400The line under a figurePast their expected datetext-code12 / 16 · 400Anything read aloudSO-0001 · PO-72text-micro11 / 14 · 400StockMeter’s caption18 below reorder point
Phones step up: m-title 24 / 30 · m-body 15 / 22 · m-label 13 / 18
Spacing
A 4px grid, 24 between blocks.
Every gap in the content area is a multiple of four. Page blocks sit 24px apart, measured content to content; inside a block the gaps tighten to 8 or 12. A conformance check measures the 24 to within a pixel.
--space-14The base unit of every gap--space-28Inside a block--space-312Inside a block · table cell padding--space-416Page padding on phones--space-520Between line tabs--space-624Between page blocks · rule L1--space-832Page padding from tablet up--space-1248Record page gap, wide screens
Inside one button · enlarged
--control-md- 32 Height. Controls come in 28, 32 and 40.
--space-3- 12 Padding each side, on the grid.
--icon-md- 16 Icon, following the label colour.
control internal- 6 Icon to label. Control internals are the one place allowed off the 4px grid.
--radius-sm- 4 Radius. 4 on anything you click, 6 on anything that holds content.
text 13 · 500- 13 Label, and it says what it does: verb plus object.
Radius · from one 6px value · corners drawn at 4×
--radius-xs2--radius-sm4 · click--radius-md6 · hold--radius-lg8
Elevation · hairlines first, shadows only for what floats
--line1px · surfaces--shadow-xssegment, toggle--shadow-popmenus, popovers--shadow-sheetbottom sheets
Components
Eight of the 117, live.
Rebuilt from the system’s own tokens rather than screenshots, so they change theme with the swatches. Type in the input, switch the tabs, record a payment.
One component, three readers.
Every one of the 117 components carries metadata a model can read: what it’s for, its props, what to avoid, and hints for choosing between components. A build script refuses to pass when a documented prop doesn’t exist or a component isn’t shown on the live reference page.
01 · A person
02 · A model · components.json
"antiPatterns": [{
"scenario": "A bar without a scale in a table cell",
"reason": "A bar with no axis says nothing about how much is enough; the caption does.",
"alternative": "StockMeter (text-first)."
}, {
"scenario": "Colouring the figure itself",
"reason": "The figure stays ink; only the caption carries warning / critical, and it says the state in words."
}]03 · A build script · check-design-system.mjs
report('PROP', `${m.mf}: ${m.name}.${p} not found in ${f}`)
report('TOKEN', `${m.mf}: ${m.name} names --${t}, not in styles.css`)
report('SHOWCASE', `${m.name} (${m.mf}) is not used on /design`)Written once, for a designer, a model and a build script.
StockMeter
One component, all the way down.
StockMeter shows how much of something you have. The obvious design is a bar: filled, coloured, red when low.
A sentence, not a bar.
The figure, the unit, and one line saying what it means: “34 below reorder point.”
A bar is a picture you have to read. A sentence isn’t.

The man at the stores counter and the owner on his phone get the same answer, and neither has to work anything out. It’s the morning brief’s decision, two layers down: don’t show the data and hope. Say what it means.
Anatomy · point at a number
- Figureen-IN grouping, tabular.
text-body-sm13 / 18 in--ink. Never coloured. - Unit
text-label12 / 16, regular, in--ink-muted. - Caption
text-micro11 / 14. The state, in words:--ink-subtle,--warningor medium--critical. - Incoming“· N coming” in
--ink-muted, only when something is on order. - EdgeRight-aligned. Quantities line up on the right, in a 112px column.
States · drag the stock level
Shipped · a sentence
Rejected · a bar
ok Caption “Reorder at N” in ink-subtle. Nothing to do yet.
--ink--ink-muted--ink-subtle--warning--criticaltext-body-sm13/18text-label12/16text-micro11/14--row40--space-312 cell--col-qty112
The cost: a sentence needs more room than a bar, so every quantity column is 112px wide, wherever StockMeter appears.
Principles
Each principle traces back to a factory.
Next projectAtomGoEvery godown, on one screen.
Where this system livesBack to AtomERPThe case study: the owner, the factory floor, and the ERP built for them.
