Details
The design system behind every product: ERP in purple, inventory in orange, premium or bold for each India.
Open the live system sudhanshuranjan-web.github.io



Part 01
Overview
A design system for the work tools small Indian businesses live in.
How it’s used
One core. One file per product. Every screen follows.
Axiom core
Brand file → every screen
ERPdata-brand="erp"



Inventorydata-brand="inv"



Every new part, the same ten steps.
- Search
- Name the job
- Size step
- Colour roles
- Shape
- Grid space
- States
- Motion
- Phone check
- Document
Part 02
Problem
Many products, one small team. Every app drew its own buttons.
Same owner, three apps.
Three different “Save” buttons.
Part 03
Research
The products looked different. Their jobs didn’t.
What had to change, and what had to stay.
Changes per product
- Brand colour
- Type and shape
- Light or dark
- Volume for the audience
Never changes
- Layout and components
- One primary action per view
- What each status colour means
- Focus, contrast, touch targets
Five principles settle every argument.
- 01Calm by default
Quiet surfaces, no shadows at rest. Colour only where it means something.
- 02One clear next step
One primary action per view. Nobody wonders what to press.
- 03Colour carries meaning
One hue, one meaning, in every product.
- 04Readable first
Text passes 4.5:1. Focus is a thicker line. Motion respects settings.
- 05People and machines
Every token has a role name, so designers and AI pick the same one.
What others ship, and what we shipped instead.
Not
The reframea theme for each app.One system that changes its clothes.
Part 04
Decisions
Roles, not colours
A screen never asks for indigo. It asks for action/primary.
One ramp per hue, one job per step
Every hue is a ramp from 50 to 700. Each step has a job, so nobody picks a shade by eye.
The ring marks where each brand’s button rests. Every rest passes 4.5:1 with white text.
- surface/*fills
- text/*words
- line/*outlines
- action/*presses
- status/*states
- tone/*categories
- #hexnever
Ten tones. Four of them mean something.
Field errors are orange, calmer than red. Red is kept for what is truly critical, and for delete.
Six chart colours, always in the same order.
Six at most, never cycled. Bars start at zero. One accent when one is enough.
Size and shape by rule
No one picks a number by eye. Six formulas decide them.
- HeightA step on the scale
28, 32, 40 on web. 32, 40, 48 on phone.
- PaddingHeight × 0.375
A 32px button gets 12px each side.
- Radius4 · 6 · 8
4 if you click it, 6 if it holds content, 8 for panels.
- NestingInner = outer − inset
Corners inside corners never look swollen.
- TouchAt least 44 × 44
Even when the control looks smaller.
- Exit0.75 × enter
Things leave faster than they arrive.
Two typefaces, fifteen styles, two weights.
Everything people read.
IDs, SKUs, codes. Never sentences.
display₹2,84,00028/32h1Stock report28/34h2Needs you today22/28h3Payment methods18/24body-lgYour invoice is ready to share.16/22bodyDefault text for rows and descriptions.14/20labelSave changes14/18captionUpdated 2 minutes ago12/16codeINV-0147 · PRJ-10412/16
Numbers use tabular figures, so columns of rupees line up.
Brand on actions. Meaning stays fixed.
The brand colour only goes on what you press. Status colours mean the same in every product.
ERPLight
InventoryDark
The button changes with the product. The four statuses don’t.
Motion with a budget
Under 300 ms. The more often you see it, the less it moves.
- TooltipAppears almost at once80 ms
- FeedbackHover, press, toggles150 ms
- TransitionTabs, menus, swaps220 ms
- OverlayDialogs and sheets320 ms
Seen 100+ times a day, like ⌘K: no motion at all.
Written for people and machines
Every token has a role name and one line on when to use it.
Two files an agent reads first.
/* AI-GUIDE.md · never */ Hex values in a screen. A second action/primary in one view. Colour as the only sign of an error. /* tokens.css */ --axiom-action-primary: var(--indigo-600); /* Main action. One per view. */
What never moves, and what’s yours
A system that bends on everything holds nothing. So I split it in two.
Constant · never changes
- Colour roles
- Size scale
- 4px grid
- Even numbers
- Radius roles
- Type styles
- Focus
- States
- Motion
- One primary
Yours to decide
- Composition
- Density
- Optional parts
- Width and count
- Tone
- Content
- Phone layout
What I gave up, and what it bought.
Illustrations: one object, one line
Empty states draw something you’d keep on a desk, in hairlines. Never a person, never a mascot.
The same drawings in ERP indigo or Inventory orange. Only the one bright stroke changes.
Always
- One object, one idea
- One bright stroke, the only highlight
- Names in the read-out, never in the drawing
- 400 × 320, readable at 240 wide
Never
- Fills, gradients or glows
- Sad faces or mascots
- Logos stamped on boxes
- A timer of its own
Part 05
Design
One system, in every place it has to live.
Foundations
Everything a screen is made of, before it becomes a component.
Or open the live system and switch it to dark, mobile or Dimensions yourself.
- 11 ramps50 to 700, one job per step
- 6 role groupssurface, text, line, action, status, tone
- Darksame ramps, two steps down



- 2 facesGeist, Geist Mono
- 15 stylesdisplay to mono-micro
- 2 weights400 and 500

- Scale2 to 80, on a 4px grid
- 5 rolesinline 8, stack 12, section, inset, gutter 24
- Grids12, 8 and 4 columns

- Sidebar224, a drawer below 1024
- Top bar48 web, 44 phone
- Contentmax 1200, reading 720

- Radius5 roles, inner = outer − inset
- Lines1, 1.5 focus, 2 emphasis
- Elevationflat at rest


- Grid24, with 2 padding
- Stroke1.75
- Sizes14, 16, 18, 20, 24


- 4 durations80, 150, 220, 320 ms
- 3 curvesout-quart, out-expo, in for exits
- 9 recipespress, origin, stagger, hold…

- Targets44 × 44 minimum
- Thumb zoneprimary actions in the bottom third
- Safe areasnothing under the bars

120+ components, five families
Each one has its states, its rules and a “never” list.
- 4 typesprimary, secondary, ghost, danger
- 3 sizes28, 32, 40 on web
- Statesmorph, hold to confirm

- Fieldslabel, help, error in words
- Pickersdate, range, time slots
- Chips vs tagsone acts, one informs



- App barlogo, search, five links
- Sidebarcollapses to icons
- Page headerwhere, what, one action



- Cardssix shapes, eight typed cards
- Tablesort, select, bulk actions
- Charts14 kinds, six colours in order



- Alertspage, inline, snackbar, notification
- Progressbar, spinner, stepper
- Flowstimeline, chat, nodes





Every size is measured, not eyeballed
A Dimensions view draws the redlines on the real component: height, padding, gap, radius, icon.
- Redlinesheight, padding, gap, icon
- Tableweb vs mobile, side by side
- Odd numbersflagged in orange

- Field32 web, 44 phone
- Input text14 web, 16 phone
- Focus1.5px line

- Chippill on phone
- Tagradius 4 on web
- Gap8

- Cardradius 6, inset 16
- Nestedinner = outer − inset
- Kanbancards share a height

- Regionssidebar, top bar, page
- Rhythmblocks 24, sections 40
- Side280 with a 40 gap

- Rows44 and 60
- Tab bar64 capsule
- FAB56, radius 20

The ERP, on a phone
Six real screens built only from Axiom parts.


















Two products, two themes, one Home.




Every template holds, not just Home.




Web to phone, the same tokens.
- Bigger stepsControls go from 32 to 40, fields to 44.
- 16px inputsSo the phone never zooms in on a field.
- Sheets, not popoversMenus and dialogs rise from the bottom.
- Rows, not tablesA table becomes a list you scroll with a thumb.




Same slots. Different volume.
Tier 1–2 buyers trust quiet, premium software. Tier 3–4 owners trust what looks bold and familiar.
So the audience is one more values layer. The layout stays.
Today
Recent
Movement goes. Fades stay.
When a phone asks for less motion, distances drop to zero and presses stop shrinking.
rise 16px · fade 200ms · slide 260ms ease-out-expo · press 0.97
rise 0px · fade 200ms · press 1 · out in 150ms
Both open the same sheet. One moves; one only fades.
Part 06
Impact
A new product is a new file. Not a new system.
Adoption and speed numbers come after rollout.
Part 07
Learnings
What I got wrong.
- 01I thought a new brand needed new components.
It needed new values.
- 02I thought premium was right for everyone.
In smaller towns, bold is what earns trust.
- 03I thought more motion felt more premium.
Fewer, faster moves did.
- 04I thought docs were for designers.
AI agents read them more closely.

