All works
Design system·Web + mobile

One system. Every product, every India.

Axiom

Scroll

Details

The design system behind every product: ERP in purple, inventory in orange, premium or bold for each India.

Role
Product + design0 → 1
System
120+ components · 332 tokens
Platform
Web, iOS, Android · B2B
Year
2026

Open the live system sudhanshuranjan-web.github.io

ERP · dark
Axiom ERP Home in indigo, light: setup checklist, four stat cards and what needs you today
Inventory · dark
The same Home for the inventory product: orange, dark
Phone
The Axiom mobile shell in orange: chips, grouped issues and a floating new-issue button

Part 01

Overview

A design system for the work tools small Indian businesses live in.

120components, 674 variants
332tokens in three layers
15text styles, two weights
800icons on one 24 grid

How it’s used

One core. One file per product. Every screen follows.

Axiom core

01Primitives
02Roles
03Components

Brand file → every screen

ERPdata-brand="erp"

ERP Home, lightERP detail page, darkERP on a phone

Inventorydata-brand="inv"

Inventory list, lightInventory Home, darkInventory form on a phone
Components only read roles, so they never know the brand. A new product is one new file.

Every new part, the same ten steps.

  1. Search
  2. Name the job
  3. Size step
  4. Colour roles
  5. Shape
  6. Grid space
  7. States
  8. Motion
  9. Phone check
  10. 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.

  1. 01Calm by default

    Quiet surfaces, no shadows at rest. Colour only where it means something.

  2. 02One clear next step

    One primary action per view. Nobody wonders what to press.

  3. 03Colour carries meaning

    One hue, one meaning, in every product.

  4. 04Readable first

    Text passes 4.5:1. Focus is a thicker line. Motion respects settings.

  5. 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.

A theme per product.→One structure, a values file per brand.
Dark mode as a redesign.→Dark mode as a switch.
Motion for delight.→Motion with a budget.
Docs for designers.→Docs AI agents can follow.

Not a theme for each app. One system that changes its clothes.

The reframe

Part 04

Decisions

Decision 01

Roles, not colours

A screen never asks for indigo. It asks for action/primary.

Colour setup

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.

50soft100selected200lines300dark text400dark solid500rest600hover700pressed
ERPindigo
Inventoryorange
Positivegreen
Criticalred
Neutral+ 800–950 dark

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.

BlueInfo, new
GreenDone, paid
OrangeWarning, field errors
RedCritical only
PinkCategory
YellowCategory
LimeCategory
TealCategory
VioletCategory, premium
ClayCategory, neutral

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.

Decision 02

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.

AaGeist

Everything people read.

AX-142Geist Mono

IDs, SKUs, codes. Never sentences.

  • display₹2,84,00028/32
  • h1Stock report28/34
  • h2Needs you today22/28
  • h3Payment methods18/24
  • body-lgYour invoice is ready to share.16/22
  • bodyDefault text for rows and descriptions.14/20
  • labelSave changes14/18
  • captionUpdated 2 minutes ago12/16
  • codeINV-0147 · PRJ-10412/16

Numbers use tabular figures, so columns of rupees line up.

Decision 03

Brand on actions. Meaning stays fixed.

The brand colour only goes on what you press. Status colours mean the same in every product.

ERPLight

ApproveSave draftView all
NewPaidPendingFailed

InventoryDark

Receive stockSave draftView all
NewPaidPendingFailed

The button changes with the product. The four statuses don’t.

Decision 04

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.

Decision 05

Written for people and machines

Every token has a role name and one line on when to use it.

In the repo

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. */
Decision 06

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.

Bold text.→Hierarchy from size and colour. Two weights.
Shadows on cards.→Calm pages. A shadow now means “this lifted”.
Pill buttons.→Corners that say what you can click.
Red for every error.→Orange that calms. Red that alarms.
Decision 07

Illustrations: one object, one line

Empty states draw something you’d keep on a desk, in hairlines. Never a person, never a mascot.

Inbox zero
A card box, no cardsThe divider under the pointer stands up. Each one reads empty.
No results
A sieve over an empty dishIt tilts toward the pointer. Nothing came through.
Your sprint
A pegboard, one peg a dayThe pegs climb a steady burn-up and rise around the pointer.

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.

Inside Axiom

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
Eleven colour ramps from 50 to 700, with the job of each step
Semantic swatches: text, line, action and status roles with their values
Ten tones in dark mode, and the colour pairs that always go together
Inside Axiom

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
Buttons in every type and size, action buttons, button group, link and animated states
Inside Axiom

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
Buttons with dimension redlines and the web versus mobile table
Inside Axiom

The ERP, on a phone

Six real screens built only from Axiom parts.

ERP Home on a phoneInventory Home on a phoneERP Home on a phone, dark
HomeToday’s sales, money to collect, what needs you
ERP Inventory on a phoneInventory Inventory on a phoneERP Inventory on a phone, dark
InventoryTabs, search, chips and stock per product
ERP Product on a phoneInventory Product on a phoneERP Product on a phone, dark
ProductPrice, stock by warehouse, recent movement
ERP New order on a phoneInventory New order on a phoneERP New order on a phone, dark
New orderStep 2 of 3: items with steppers, the total
ERP Invoice on a phoneInventory Invoice on a phoneERP Invoice on a phone, dark
InvoiceOverdue, with Remind and Record payment
ERP Reports on a phoneInventory Reports on a phoneERP Reports on a phone, dark
ReportsThe week’s revenue and top products

Two products, two themes, one Home.

ERP Home, indigo, light
ERP · LightIndigo on the actions, calm everywhere else.
ERP Home, indigo, dark
ERP · DarkOne switch. Brighter shades so it still reads.
Inventory Home, orange, light
Inventory · LightThe same screen in the inventory orange.
Inventory Home, orange, dark
Inventory · DarkFor the godown at night.

Every template holds, not just Home.

ERP project list: a sortable table with status tags and an action bar
ListSort, select, act.
Inventory record: Mark complete in orange, meters, budget and a details column
RecordOne primary action, top right.
ERP create form in sections, dark
FormSections, not a wall of fields.
Axiom new-issue form on iPhone: 16px inputs, a segmented priority and one full-width primary button

Web to phone, the same tokens.

  1. Bigger stepsControls go from 32 to 40, fields to 44.
  2. 16px inputsSo the phone never zooms in on a field.
  3. Sheets, not popoversMenus and dialogs rise from the bottom.
  4. Rows, not tablesA table becomes a list you scroll with a thumb.
Mobile shell in indigo, light
ShellERP, light.
A pushed list page, indigo, dark
PushERP, dark.
Issue detail with Change status in orange
DetailInventory, light.
Mobile shell in orange, dark
ShellInventory, dark.
Two Indias

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.

Premium · tier 1–2Quiet. The numbers do the talking.
Bold · tier 3–4Loud, warm, familiar. Trust you can see.
DialPremiumBold
ColourBrand on the button onlyBrand fills the header and tiles
Type14 body, weight 50016 body, 600, numbers at 34
Shape4px, hairline cardsPills, filled cards
WordsEnglishHinglish, an icon on every label
TrustQuiet: the data speaksSeen: verified badges
FixedSlots, one primary actionStatus meanings, 44px targets
Reduced motion

Movement goes. Fades stay.

When a phone asks for less motion, distances drop to zero and presses stop shrinking.

Full motion
Stock count
Save the count?32 boxes on rack B-2.Save count

rise 16px · fade 200ms · slide 260ms ease-out-expo · press 0.97

Reduced motion
Stock count
Save the count?32 boxes on rack B-2.Save count

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.

1brand file per product
0components changed to add one
2themes from one switch
3platforms, same tokens

Adoption and speed numbers come after rollout.

Part 07

Learnings

What I got wrong.

  1. 01
    I thought a new brand needed new components.

    It needed new values.

  2. 02
    I thought premium was right for everyone.

    In smaller towns, bold is what earns trust.

  3. 03
    I thought more motion felt more premium.

    Fewer, faster moves did.

  4. 04
    I thought docs were for designers.

    AI agents read them more closely.