Order-Rev UI Kit
Draft · awaiting approval
Super-premium · 25th pass

The Order-Rev Premium UI Kit

One accent (Zendrop purple). Compact, finance-grade density. Engraved tabular figures. Warm, tight shadows and a single believable plane of light. This kit formalizes and elevates the design system already in .ods-root — it doesn't replace it. Flip the theme (top right) to see every surface in dark.

Surfaces designed
Client detail page
+ dense data table
the two you pointed me at
Icon system
Phosphor
retires the heroicons + lucide split
Desktop decision
Elevate desktop too
your call — verified at every width before final
Status
Nothing wired yet
no code / instructions changed until you approve
01 — Foundations

The design language

Surface ladder — elevation by light, not boxes

sunken
base
card
popover
overlay

Brand ramp — purple, the only accent

50
100
200
300
400·ring
500·pri
600
700
800
900

Semantic — state only, never decoration

Success Warning Danger Info Attention Accent

Data-viz — colorblind-safe, accent-first

sequential purple ramp · for heatmaps

Type scale — Inter, hierarchy by size + tracking (weights 400 / 500 / 600)

$1,284,402display 28 · 600 · −.02em
Acme Corporationh1 record title 22 · 600
Fulfillment healthh2 section 18 · 600
Open invoicesh3 card 16 · 600
Body copy and table prose at fourteen pixels.body 14 · 400
1,204 orders · $48,210.00 · Jun 21table 13 · tabular
Monthly recurring revenueoverline 11 · +.06em

Elevation

resting
raised
overlay

Radius tiers

4 xs
7 ctrl
9 card
12 pop
full
02 — Components

The catalog, rendered

Buttons — primary is gradient-lit; one accent only

Form controls

Balance is below zero.
Auto-charge
Compact Regular Relaxed

Status — color + icon + word, always

Active Pending Processing Failed At risk Inactive

Dropdown — neutral hover, accent = selected

Edit clientE
Mark reviewedR
Copy client ID⌘C
Delete client

Metric tiles — engraved figures, contained delta

Net revenue
$48,210
12.4%
Orders / day
1,204
3.1%
Fulfillment
94%
No invoices yet
Invoices appear here once an order ships.
Payment terms saved
Net 15 · applied to Acme Corporation.
Undo
Phosphor weights & sizes
regular bold fill duotone
03 — The two surfaces

Client detail header + dense data table

AC
Acme Corporation Active #48217
ar@acme.co·AM Dana Lee·3 stores
8d oldest unfulfilled
$48,210↑12% Margin38.2% OPD1,204 94%via Zendrop
Overview Finances Fulfillment Orders Tools
Search clients/
Client
Status
Orders
Revenue
Last order
ACAcme Corporation
Active
1,204
$48,210.00
Jun 21
NTNorthwind Traders
Pending
312
$9,044.00
Jun 19
GXGlobex Inc
At risk
88
($1,240.00)
Jun 12
ILInitech LLC
Active
2,041
$112,900.00
Jun 22
UCUmbrella Co
Inactive
0
$0.00
Mar 03
1 selected Clear
1–50 of 1,240
1 2 3 …
05 — Full component catalog

Every primitive in the kit

41 components, all assembled from the tokens above, Phosphor icons, and passing the QA gate. A representative gallery of the building blocks.

Forms & controls

Checkbox · Radio · Switch
Off On
Segmented control · Icon button
Day Week Month
Combobox
Search clients…
Acme Corporation
Northwind Traders
Globex Inc
Textarea
Add a note about this account…

Data display

Avatar
AC AC AC AC
Tag · Breadcrumb
Net 15 Priority
ClientsAcme Corporation
Progress · Skeleton
68% of credit used
Timeline
Payment received
$4,200 · Stripe
Invoice sent
Order shipped
Pagination · Tabs
1 2 … 12
Overview Activity Files

Overlays & menus

Dropdown menu
EditE
Mark reviewedR
Delete
Tooltip · Toast
Copy client ID
Saved
Charge failedRetry
Bulk actions · Popover
3 selected Clear
Floating panel, teleported to escape clipping — collision-aware, closes on outside-click or Esc.
Dialog · Command menu (⌘K)
Delete client?

This permanently removes Acme Corporation and its history.

Type a command…⌘K
Actions
Create paymentC
Edit terms
04 — Written reference

Tokens, rules & governance

The full spec also lives in UI-KIT.md at the repo root. The essentials:

Color tokens

TokenLightDarkRole
--background#fcfcfd#0a0a0cpage canvasadjust ⚠
--card#ffffff#141417cards, table, tileskeep
--primary#5952E1#8471EEthe one accentkeep
--border#e8e8ee#26262dhairlines (warm)adjust ⚠
--ring#8471EE#8471EEfocus glowkeep
--success / warning / dangertripletlifted tripletstate onlykeep
--label-foreground#565d6b#9a9aa5overlinesadd
--table-row-hoverneutral 3%purple 8%hover = neutraladd

Icon weights — Phosphor

ContextSizeWeight
table cell / dense row16regular (bold = active glyph)
row action · icon button16regular
tab / nav active18fill
KPI · header · primary button18–20regular
empty state / feature tile32–48duotone

Default regular @ 16px, color via currentColor. One weight per surface. Retires the heroicons + lucide split.

Component catalog

In repo · keep
Button · Badge · Card · MetricCard · DataTable · Select · MultiSelect · Input · Switch · Drawer · Sparkline · DateRangePicker · HealthBar
Built this kit · all gated ✓
IconButton · Textarea · Combobox · Checkbox · Radio · Tag · Tooltip · Popover · DropdownMenu · ContextMenu · Dialog · Tabs · SegmentedControl · Pagination · Toolbar · Avatar · Breadcrumb · Timeline · EmptyState · Skeleton · Toast · ProgressBar · CommandMenu

Governance — the rule every agent follows

Build only from the kit. Every surface is assembled from these tokens, the Phosphor icon system, and the component catalog. Reach for the existing ui/src/ui/* component first; build missing ones to the catalog spec.

Read tokens at the semantic / component layer only. Never hardcode a hex, never invent a one-off color, shadow, duration, or radius.

Escalate, do not invent. If you need a value, variant, component, or icon the kit doesn't define — stop and tell the user, with the gap and a proposed value. The kit is the contract; gaps are filled by amending the kit, not by local guesses.

Non-negotiables: one accent (purple, only on selected — never hover) · tabular figures, never in prose · visible focus ring · status = color + icon + text · all numbers through one formatter · reduced-motion honored · Phosphor only.

Changes that touch the signed-off desktop your call — you chose: elevate

Surfaces #fbfbfc→#fcfcfd · borders warmed · single radius → 6-tier set · gradient-lit primary button · type retune (24→22 / 28 display) · table hover neutral, purple reserved for selected · warm shadow ink. Applied everywhere, verified at 390 / 768 / 1024 / 1440 / 1920 in both themes before anything is final.

North Star

A precision instrument that happens to be beautiful — Stripe-dashboard-meets-Linear density where every number is engraved-sharp and aligned, every surface sits on a believable plane of warm light, and the single purple appears only where something is genuinely chosen or primary. A finance user should stare at a dense table of dollar figures for eight hours and feel the interface is quiet, exact, and on their side.