Vesta

Vesta.

Named for Vesta, the ancient Roman goddess of the hearth, home, and family, this design system treats airport operations like a shared hearth: task management, digital checklists, and rating kiosks that keep every space ready, safe, and cared for. The flame is the sign of a hearth being tended, showing what needs care now.

lucide-react CSS custom properties hand-written CSS, no build
New Request Received
Grab the right class fast

Quick reference.

Every component below is announced by an <!-- component: Name --> comment where it's demoed — one search (component:) walks the whole file. This table is the map; the Jump column lands on the live demo.

Component Class Jump
Button / icon button / pagination.btn / .icon-btn / .page-btnCore
Chip, zone chip, avatar, badge.chip / .zone-chip / .avatar / .badge-countCore
Form inputs.vs-input / .vs-select / .vs-textarea / .vs-check / .vs-radioCore
Record table, filter bar.vs-tableCore
Modal<dialog>.panelCore
Toast.toast-flame/-trouble/-neutral/-success/-danger/-warning/-infoCore
Tabs.tabs / .tabCore
Desktop app rail.app-railCore
Mobile bottom nav4-stop tab barCore
Empty / offline / 404 states.empty-stateCore
TaskRow.task-rowKit
StatusChip, PriorityChip, SLA chip.chip-flame/-smoke/-success/-danger/-warning/-infoKit
ChecklistRun, ChecklistItem.checklist-item / .progress-barKit
EvidenceSlot, SignOffBlock.icon-btn (dashed) / .cardKit
TemplateRow, ChecklistHistoryRow.task-row / .ledger-rowKit
FeedbackKiosk.kiosk / .kiosk-faceKit
ZoneChip, ShiftSlot.zone-chip / .shift-slotKit
LedgerRow, CommentRow.ledger-row / .comment-rowKit
RecordHeader, Breadcrumb, FactList.record-header / .breadcrumb / .fact-rowKit
OpsWatch, WatchTile.watch-tile / .watch-feed-rowKit
StatTile.stat-tileKit
The rules

Principles.

Eight numbered beliefs, each a check a screen either passes or fails. A component that breaks one does not ship until this page is amended first.

P1 · The flame means now

Anything glowing flame-orange is live, due today, or was just completed. Decoration never glows; if nothing is happening, nothing lights up.

P2 · Smoke owns neglect; the semantic set owns the rest

Overdue, gone-quiet, and checklist failure read in the one pinned smoke color, never anything else. Danger, warning, success, and info are the closed set for ordinary app chrome. The flame never doubles as any of them.

P3 · Every task has a keeper

Nothing ships unassigned. An ownerless task is a bug the board surfaces in the open, not a state it lets hide in a filter.

P4 · The checklist is evidence

A completed item is a name, a timestamp, and, when the template asks for it, a photo. A checkbox alone proves nothing to an auditor.

P5 · Feedback reads by face, not hue

The rating scale is told by expression and position in the row, never a red-to-green gradient. Only the chosen face wears the flame.

P6 · The Watch never sleeps

The ops wall is always dark and always live. The admin Desk flips light and dark like any other desk, because the person reading it goes home.

P7 · One glance, one zone

Every screen names its terminal, gate, or zone before anything else. Ops staff scan a hallway of information; they do not read a paragraph.

P8 · Access is a number

Contrast, targets, and keyboard paths are measured on this page, in both rooms, not just asserted in a meeting.

Tokens first, taste second

Foundations.

Identity draws from real artifacts: the clipboard sign-off sheet, the wayfinding pictogram, the round kiosk button in a restroom hallway, the ops-center wall, and the Vestals' own watch, a fire never once left untended. If a cue cannot name its artifact, it ships plain.

The two rooms

the Watch · constant

The ops-center wall: live task feed, zone status, the feedback stream. It never flips; there is no light Watch, the same way a night shift does not dim the radar for comfort.

the Desk · flips

The admin surface: building checklists, assigning tasks, reading reports. It owns light and dark, flipped by one data-theme attribute on the root. Components read room-resolved aliases (--canvas, --surface, --fg, --border); the room sets them, so a surface never carries a dark flag of its own.

Color roles · primary & secondary

Flame and smoke, read generically: reach for these labels when porting to a conventional design-system shape or briefing a tool that expects them. Accent is the semantic set — success, danger, warning, info — in Color below.

Primary
flame · #FF4500
Secondary
smoke · #4B5A6E

Color · the one knob

The brand primary, set explicitly to #FF4500 (rgb(255, 69, 0)). Every accent below derives from it through color-mix(); hand-picked shades do not ship. The shipped mark (vesta.logomark.svg.png) still carries its earlier sampled tone and has not been recolored to match.

flame
#FF4500
flame-deep
text, light room
flame-lift
text, dark rooms
ink
flame-ink
text on flame
flame-soft
chip fill
flame-gradient
the mark, only
smoke
#4B5A6E, pinned
smoke-lift
dark rooms

Smoke is pinned, not knob-derived: fire tended is health, smoke is neglect, and a color that retinted with the brand could not carry that meaning. See Refusals for the one exception the gradient is allowed.

Semantic set · the closed accent extension

Four fixed hues for ordinary app chrome — alerts, badges, form validation — outside the flame/smoke hearth narrative. Closed, not open: these four and no more earn chroma alongside flame and smoke.

success
#16A34A
danger
#DC2626
warning
#D97706
info
#2563EB
success danger warning info
ink
success-ink
ink
danger-ink
ink
warning-ink
ink
info-ink

Only success-ink and warning-ink clear 4.5:1 on their own base, and only just. danger-ink and info-ink do not — a filled danger or info button/badge is not yet a component in this kit; before building one, measure it on this page first, per P8.

Neutrals · white paper, warm ash

A pure white canvas with a warm-tinted ramp around it, the receipt being paper and ember rather than a studio backdrop.

canvas
#FFFFFF / #121110
surface
#FFFFFF / #1A1917
elevated
#F5F4EF / #232120
sunken
#EAE7DF / #2E2B28
watch-bg
#0E0D0C, constant

Text, strongest to faintest

fgTerminal 2 restroom check, morning rounds
strongTerminal 2 restroom check, morning rounds
headingTerminal 2 restroom check, morning rounds
mutedTerminal 2 restroom check, morning rounds
secondaryTerminal 2 restroom check, morning rounds
subtleTerminal 2 restroom check, morning rounds
faintTerminal 2 restroom check, morning rounds

The cast · two faces, both the platform's own

The voice · system-ui

Every label, button, and title. Receipt: a kiosk in a restroom hallway and a browser on a shift lead's laptop should not need a font download to agree with each other; the platform's own face renders identically and instantly on both.

The machine · ui-monospace

Timestamps, zone codes, percentages, task IDs: any number a keeper might read back at a handoff, always with tabular figures so a column of times lines up.

Token Size Use case
--text-2xs11pxZone chips, badge counts, table headers
--text-xs12pxField labels, help text, ledger rows
--text-sm13pxButtons, task-row titles, tabs
--text-base14pxBody copy, card descriptions
--text-md16pxSection intros, form values
--text-lg / --text-xl20 / 28pxCard titles, page headings
--text-numeral56pxThe Watch's big stat, read from across a room

Space · 4px base

4 · gap-1
Checklist item inner gaps
8 · gap-2
Chip and icon gaps
12 · gap-3
Task-row internal spacing
16 · gap-4
Card padding, grid gaps
24 · gap-6
Subsection spacing
32 · p-8
Hero and panel padding
gutter
20px, the page's side margin
section
88px, the hub's stride between sections

Shape

2px
form fields, small buttons
2px
cards, the badge-and-boarding-pass radius
6px
panels, modal frame
full
the kiosk button, chips, pills

Elevation & backdrop

Two shadow tiers, three backdrop tiers. A resting card never fights the panel above it for weight.

shadow-card
resting surfaces
shadow-panel
topbar, dropdowns, modal frame
backdrop-light
popovers
backdrop-medium
the modal dialog
backdrop-heavy
image lightbox, if ever built

Layering & breakpoints

One overlay rung, per the Refusals rule: a dialog over a dialog does not happen, so the ladder only ever needs one occupant above dropdown at a time.

canvas0
sticky10
rail15
panel20
dropdown50
overlay100
toast200
tooltip210
sm640px
md768px
lg1024px
xl1280px

Motion · scarce, and named

Two durations, one curve. Colors and progress ease; nothing on this system bounces, spins to indicate work, or moves to get attention it has not earned. The one animated thing is the live dot, and it only ever breathes.

--dur-fast120ms
--dur-base200ms
--ease-outcubic-bezier(.16,1,.3,1)
the live dot: the only loop, and it is pausable under reduced motion

Icons · Lucide, the house set

Stroke-based, 24x24 grid, currentColor, 1.75px stroke by default (2px in dense rows and kiosk faces). Sized per slot: 14px inline with text, 18-20px in cards and headers, 28px on the kiosk. Every icon in this file maps 1:1 to a lucide-react import by name.

clipboard-list
list-checks
clock
alarm-clock
camera
map-pin
users
building-2
bell
smile
meh
frown
bar-chart-3
shield-check
footprints
radio
calendar
circle-alert

The one exception: flame, drawn once as the mark, is the only icon allowed to wear --flame-gradient instead of currentColor. Every other instance of it, in a task row or a toast, stays a plain stroke.

Naming · the conventions, stated

Every prefix and suffix below repeats identically across the file. Nothing here is new; it is the pattern already in the CSS, written down once instead of left to be inferred.

Pattern Means
.btn / .icon-btn / .page-btnThe interactive-control families. Never mix: a text action is a .btn, an icon-only action is an .icon-btn.
.chip + -flame/-smoke/-success/-danger/-warning/-infoA pill tag; the modifier always names one of the six closed colors, never a hand-picked shade.
.vs-*Form-control primitives only (input, textarea, select, check, radio, table). One exception: .vs-rail is this page's own scrollspy nav, not a form control — don't pattern-match on the prefix alone.
-deep / -lift / -ink / -softRepeats across all six color families. -deep: text, light rooms. -lift: text, dark rooms. -ink: text sitting on that color's own filled swatch. -soft: a light tint for chip/toast fills.

Refusals · missing is a bug, banned is a feature

The furniture Vesta refuses to have, written down so nobody helpfully adds it. Anything neither in the kit nor here is a gap: file it, do not improvise it.

  • Colors outside the closed set. Flame, smoke, and the four semantic states (success, danger, warning, info) are the whole palette; sibling airports retint the one knob, but nothing earns a new hue.
  • Red-to-green traffic lights. Feedback and status read by shape, icon, and position; hue never carries the whole meaning alone.
  • Skeleton screens. Loading names its stage and shows a real percentage, never a shimmer standing in for one.
  • Carousels. Nothing auto-advances while a shift lead is mid-read.
  • Stacked modals. The ladder has one overlay rung; a dialog over a dialog is a design failure, not a z-index problem.
  • Audible alerts. An ops floor supplies its own noise; Vesta stays visually loud, never audibly.
  • Points, badges, leaderboards. A checklist is a duty, not a game; gamifying compliance work is refused on principle.
  • Decoration outside the mark. The red-to-gold wash belongs to the logo alone; interface chrome stays flat.

The deliberate exception, kept rather than refused: the mark's own gradient. The favicon, the hero glyph, and the live-ring sweep may wear the full red-to-gold wash sampled from the shipped logo; nothing else on the page ever does.

How Vesta talks

Voice.

The register of an ops desk, not a marketing page: plain, procedural, and numbered. Error copy is written by a person and names the fix, never the crime.

Say
  • “3 items overdue in Terminal 2”
  • “Checklist due in 12m”
  • “Shift handoff logged at 06:00”
  • “Photo required before sign-off”
  • “This kiosk has not reported in 26h”
Never say
  • “Oops! Something went wrong.”
  • “Great job! You're crushing it!”
  • “Overdue!” (with no number)
  • “You forgot to upload a photo.”
  • Any exclamation point on a compliance screen

House dialect · owned words, used without quotes

Word Means
the WatchThe always-dark ops wall
the DeskThe flipping admin surface
keeperThe person a task is assigned to
handoffThe shift-to-shift transition, logged with a name and a time
the ledgerThe append-only audit trail; nothing is ever edited out of it
sign-offA checklist's completion record: a name, a time, and a photo if required
gone quietA kiosk or feed that has stopped reporting; the rot state, worse than a bad rating
roundsA checklist walked in person, e.g. “morning rounds”
House formats
  • Dates: absolute and relative together, “06:00 · 3h ago”
  • Overdue: always with a number, never bare
  • Percent: whole numbers, tabular, with the sign: “94%”
  • Zone: Title Case short form, “T2 · Restrooms”
Language stance

Vesta speaks English today, in the plain register of an ops desk. Layouts hold a keeper's name a third longer without breaking, because real rosters run long. Dates and percentages keep their house shape in any tongue, and no meaning ever rides on a word staying short, because “gone quiet” has to translate before the night shift does.

Measured, not asserted

Access.

The ring, the labels, the keyboard paths, and the contrast table are part of the component, or the component is not done. This is P8, made measurable.

Contrast, printed

Ink on surface Ratio Used for
fg on canvas, the Desk light16.6:1Body text
watch-fg on watch-bg17.0:1Body text, the Watch
flame-ink on flame5.5:1Primary button label
flame-deep on canvas, light6.7:1Links, active nav, accent text
flame-lift on watch-bg / dark canvas9.3:1Links, active nav on dark
smoke on canvas, light6.7:1Error text, overdue label
smoke-lift on watch-bg / dark canvas7.3:1Error text on dark
success/danger/warning/info-deep on canvas, light5.0-7.4:1Semantic text, light room
success/danger/warning/info-lift on watch-bg / dark canvas8.1-11.6:1Semantic text, dark rooms
chip-success / chip-warning text on own fill≥4.5:1Chip labels — -soft dialed from 14% to 10% mix to clear AA (was ~4.3:1)
flame-deep outline on canvas, light (focus ring)≥3:1Focus indicator — raw flame measures ~3.4:1 here, just above the non-text 3:1 floor; light rooms still default to flame-deep for a larger margin

Note what is absent: raw flame (#FF4500) is never used as text on its own room's canvas. It is bright by design, and reserved for fills, icons, and borders, where the 3:1 non-text minimum applies instead of 4.5:1. Text always reaches for -deep or -lift.

Focus ring

2px solid, 2px offset, on :focus-visible so a mouse click stays clean. The color itself splits by room: raw flame reads ~2.9:1 on a white canvas, under the 3:1 floor for a non-text indicator, so the light room defaults to flame-deep; dark rooms keep raw flame, already ~6.5:1+.

Target sizes

A 24px floor for the densest row action, a 36px standard for every Desk control, and a 44px minimum for anything the public or a gloved hand touches. The kiosk face is 64px for exactly that reason.

24px floor
28px, dense row menu
3
30px, pagination
36px standard
44px minimum, touch
64px, the kiosk face

ARIA patterns

Component Role / attribute Notes
TaskRowaria-labelFull sentence: title, zone, due time, and overdue amount if any
KioskFace grouprole=radiogroup, aria-checkedArrow keys move the selection; one face checked at a time
Modal<dialog>, aria-modalNative focus trap; Escape cancels, Enter confirms
Toastrole=alertLive region, announced on appear
Tabsrole=tablist, aria-selectedArrow keys switch, Home/End jump
Checklist iteminput + label, aria-describedbyHelp text and the photo-required note are read with the item
Repeated rows and cardsaria-label per itemGroups are named for their content: twenty tasks read as twenty tasks, never twenty buttons

Keyboard navigation

Key Behavior
TabMove focus forward through interactive elements
Shift+TabMove focus backward
EnterActivate a button, confirm a dialog
EscapeClose the topmost overlay, dismiss a toast
SpaceToggle a checkbox, select a kiosk face
Arrow keysMove within the kiosk radiogroup and tabs
The quiet parts

Core.

The house chrome every screen needs and no product screen should redesign: forms, one overlay, one status voice, navigation, and the unhappy paths.

Buttons, chips, and surfaces

Baggage claim Restrooms Restrooms T2 · Gate 14 12 RI Esc

zone-chip: where — location, always with an icon. chip: what kind — a generic category tag, pressable as a filter toggle. badge-count: how many — a number, nothing else. avatar: who — initials, or a dashed ring when unassigned.

Card
Resting content surface: 1px border, flat.
Panel
Elevated chrome: blur, shadow, the topbar and the modal frame.

Forms

Whoever signs off carries this task at handoff.
A task needs a title before it can be assigned.
1 field needs attention

Task title: add a title before assigning a keeper.

Tables · record lists

At real record volume — requests, AODM assets, checklist runs — a list needs columns, not just a stacked row. .vs-table reuses TaskRow's own left-edge state color and the closed chip set for status/priority cells, so a table row and a card row read as the same language.

T2 · Restrooms Priority: High
Request Zone Status Priority Keeper Updated
Restock hand soap, all stalls T2 · Restrooms In progress Urgent RI -8m
Replace air freshener cartridge T1 · Restrooms Open Low 2h ago
Fire extinguisher tags checked T1 · Apron Resolved Medium DF Jul 22
Showing 1–3 of 34

A native <dialog>, always. One rung on the ladder: a dialog over a dialog does not happen.

Delete this template?

“T2 Restroom Check, hourly” is used by 3 active zones. Deleting it does not remove past sign-offs from the ledger.

Status · toast

One singleton stack, bottom-right. Two families share the stack: flame/trouble/neutral narrate the hearth (a good thing happened reads flame, something needs you reads smoke, plain information reads ink, per P1/P2) — success/danger/warning/info are for ordinary system and form feedback outside that narrative, the same closed semantic set as the chips above.

Rounds complete
T2 Restrooms, signed off by R. Iyer at 09:14
Kiosk gone quiet
T1 Baggage claim has not reported in 26h
Shift handoff logged
06:00, morning to afternoon
Request saved
Ticket #4021 created
Could not save
Connection lost, changes not sent
Unsaved changes
This form will discard edits if you leave
New template published
Available to all T2 zones now

Tabs

3 keepers on shift, 2 zones due within the hour, 0 overdue.

Pagination

…

Paired with a results-count strip on a real record list — see the Showing 1–3 of 34 line above the RecordTable in Tables — composed from a plain text-xs count and, where rows-per-page matters, a .vs-select. No new component: both already exist.

Navigation · the desktop answer

A sub-app with more sections than a top bar comfortably holds — AODM's Assets/Categories/Locations/Reports, Task Management's Requests/My Tasks/Templates — reaches for a left rail instead of inventing its own chrome.

Assets
340 tracked, 6 due for inspection.

Navigation · the mobile answer

Ops staff carry a tablet on rounds, not a desktop. The Desk collapses to a bottom tab bar: four stops, icon and label both, never icon alone.

T2 · Restrooms
2 tasks due this hour

Unhappy paths · bad news has a dress code

The error

Smoke border on the field, message beneath it, and a summary at the top for multi-field forms. Copy names the fix: “Photo required before sign-off,” never “Validation failed.”

The destructive

The heaviest ink, never flame, never smoke, because deletion promises nothing. The confirm asks once, in place, and the yes-button repeats the loss in its own label.

The success

Words plus the thing itself, briefly in flame, then settling to ink and a checkmark. No green, ever: a single-accent system has no second opinion.

The nothing

Empty, offline, and 404 each get a designed state with a door out. “No tasks scheduled in Terminal 2 today” is a state, not a blank page.

No tasks scheduled
Terminal 2 is clear until 14:00.
No templates yet
Build a checklist to start rounds.
This kiosk has gone quiet
No ratings from T1 Baggage claim in 26h. Check the device
That page does not exist
The rot

What this product's content degrades into: a task unclaimed past its own shift, a checklist template nobody has revised in over a year, and above all a feedback kiosk gone quiet. Silence outranks a bad rating, because a bad rating means the kiosk still works.

Where the system stops being generic

The kit.

Task management, digital checklists, and feedback kiosks, named in Vesta's own dialect: keepers, rounds, sign-offs, and the ledger.

TaskRow · the atom, every state

Check fire extinguisher tags
T1 · Apron · due 16:00
D. Fernandes
Restock hand soap, all stalls
T2 · Restrooms · due in 12m
R. Iyer
Empty trash bins near seating
T2 · Gate 14 · overdue by 8m
Unclaimed
Wipe down check-in counters
T1 · Check-in · signed off 07:42
M. Costa
Replace air freshener cartridge
T1 · Restrooms · unclaimed, shift ended 2h ago

StatusChip & PriorityChip · ticket lifecycle

Two independent axes for a request queue: what stage it is in, and how loudly it should be noticed. Neither is TaskRow's own due-time urgency, which stays a separate signal.

Status
Open In progress Blocked Resolved Closed
Priority
Low Medium High Urgent
SLA
Due in 12m Overdue by 8m

Standalone version of TaskRow's own inline due/overdue color logic, for a table cell or a ticket header — see Tables above.

ChecklistRun · rounds, in progress

T2 Restroom check, morning rounds
3/6 · 1 skipped
Floors dry, no slip hazard
R. Iyer · 06:04
Soap and paper stocked
R. Iyer · 06:06
Fixtures clean, no visible damage
R. Iyer · 06:09
Emergency lighting test
Failed · R. Iyer · 06:11 · remediation required
Failed
Ice-melt bin refilled
Skipped · not applicable, no ice this shift
Trash bins emptied
Not yet marked
Photo of the supply closet
Photo required before this item can be signed off

EvidenceSlot & SignOffBlock · P4, built

“The checklist is evidence” needed an attach control, not just a sentence of text. Slots stack in a static wrapping row, always — never a carousel.

Signed off
R. Iyer·06:14

TemplateRow & ChecklistHistoryRow

Tabs above claim “5 templates active in this terminal”; here is the list that backs the claim, plus the per-template audit log a compliance review actually needs.

Templates
T2 Restroom Check
Hourly · 3 active zones · edited 14d ago
Active
Apron fire safety
Weekly · 1 active zone · edited 90d ago
Paused
History · T2 Restroom Check
Jul 23R. Iyer · 5/5 items, morning roundsComplete
Jul 22A. Okafor · 4/5 items, 1 failed: lightingFailed
Jul 21R. Iyer · 5/5 items, morning roundsComplete

FeedbackKiosk · three faces, not five

Three buttons clear a walkway faster than five, and every face reads at arm's length. Lucide ships three expressions; Vesta uses exactly the three it has rather than forcing a mismatch.

T2 · Restrooms · how was it?
Tap a face. No account, no follow-up questions.
Today, T2 Restrooms · 214 ratings
78%
15%
7%

Bars read by length, not color: the aggregate is never tinted by sentiment, only the live kiosk selection wears the flame.

ZoneChip & the shift strip

T1 · Check-in T1 · Apron T2 · Restrooms T2 · Gate 14 T3 · Baggage claim
Night · 22:00-06:00
A. Okafor · handed off 06:00
Morning · 06:00-14:00
R. Iyer · on watch now
Afternoon · 14:00-22:00
D. Fernandes · next up

The ledger · append-only

07:42M. Costa signed off “Wipe down check-in counters”, T1 Check-in
06:09R. Iyer completed 3 of 5 items, T2 Restrooms morning rounds
06:00Shift handoff: A. Okafor to R. Iyer, Terminal 2
05:38Kiosk “T1 Baggage claim” last reported; gone quiet since

Nothing is ever edited out of the ledger. A correction is a new row, not a changed one, the same discipline as the paper sign-off sheet it replaced.

CommentRow · the ledger, with a voice

A free-text comment and a system event, interleaved in one thread. System rows keep the flat Ledger treatment; a comment adds an avatar and a body line, nothing else — no connector rail, no decoration outside the mark.

RI
R. Iyer · 3m ago
Supply closet is still short on paper towels, flagged for the afternoon shift.
06:11R. Iyer reassigned this request to D. Fernandes
Unclaimed
No comments yet.

RecordHeader, Breadcrumb & FactList · a detail page

The composition an AODM asset page, a checklist template page, or a request detail all need: where am I, what is this, what state is it in, what can I do — built from primitives already in this kit.

Soap dispenser #4021

Active
T2 · Restrooms
Serial no.SD-4021-T2
Installed2024-03-11
WarrantyUntil 2027-03-11
Last servicedJul 12

OpsWatch · tiles for the wall

What the Watch actually shows: a number big enough to read from across a room, and a live feed underneath it.

94%
Checklists on time today, all zones
Live feed
Restock hand soap · T2 Restrooms 12m
Empty trash bins · T2 Gate 14 -8m
Check-in counters wiped · T1 Check-in 07:42
Feedback
4.6/5 today
On watch
7 keepers
Gone quiet
1 kiosk

StatTile · the Desk's own dashboard header

--text-numeral is the Watch's own, hard-scoped to its always-dark namespace by P6. A Desk-side sub-app dashboard needs the light/dark-flipping equivalent: a plain card at --text-2xl, the same size already documented for a page heading.

Open requests
128
across 4 terminals
Overdue
12
+4 today
AODM assets due
6
of 340 tracked
On-time this week
94%
+2pt
Contract

Port notes.

This file is the contract and it opens from the file system, offline. The stylesheet is hand-written CSS (vesta.css, beside this file): there is no build step, because none would pay rent. The tokens below are the whole theme and match the live :root; drift between this block and the stylesheet is the first bug a review looks for. tests/vesta.test.mjs drives this page: run npm test from tests/.

TOKENS.CSS · THE WHOLE THEME
/* the one knob, the brand primary */
--flame: #FF4500;
--flame-deep: color-mix(in oklab, var(--flame) 65%, #200d02);
--flame-lift: color-mix(in oklab, var(--flame) 55%, #fff3e0);
--flame-ink:  color-mix(in oklab, var(--flame) 10%, #0a0704);
--flame-soft / --flame-wash / --flame-glow /* fills, tints, halo */
--flame-gradient: linear-gradient(135deg,#cd0027 0%,#ea7910 55%,#fab804 100%);
                  /* the mark alone, never a UI state */

/* smoke · pinned, not knob-derived */
--smoke: #4b5a6e;       /* light rooms, ~6.7:1 on canvas */
--smoke-lift: #93a3b8;  /* dark rooms, ~7.4:1 on watch-bg */

/* semantic set · closed extension, pinned like smoke */
--success: #16a34a  --success-deep / --success-lift / --success-ink / --success-soft
--danger:  #dc2626  --danger-deep  / --danger-lift  / --danger-ink  / --danger-soft
--warning: #d97706  --warning-deep / --warning-lift / --warning-ink / --warning-soft
--info:    #2563eb  --info-deep    / --info-lift    / --info-ink    / --info-soft

/* surfaces · the Desk, light / dark */
--canvas: #ffffff / #121110      --surface: #ffffff / #1a1917
--elevated: #f5f4ef / #232120    --sunken: #eae7df / #2e2b28
--border: #e3e0d6 / #34312b

/* the Watch · constant, its own namespace */
--watch-bg: #0e0d0c   --watch-panel: #191715   --watch-line: #2a2724
--watch-fg / --watch-muted / --watch-subtle / --watch-faint

/* text ramp, strongest to faintest */
--fg --strong --heading --muted --secondary --subtle --faint --disabled

/* motion */
--dur-fast: 120ms; --dur-base: 200ms;
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);

/* the ladder */
canvas 0 · sticky 10 · rail 15 · panel 20
dropdown 50 · overlay 100 · toast 200 · tooltip 210

/* breakpoints */
sm 640 · md 768 · lg 1024 · xl 1280

/* type · system faces only */
--text-2xs..--text-2xl: 11 to 36px · --text-numeral: 56px

/* shape and space */
--radius-sm 2 · --radius 2 · --radius-lg 6 · --radius-full
--gutter: 20px; --gap-section: 88px;

/* shadow and backdrop, light / dark */
--shadow-card / --shadow-panel /* .card, .panel */
--backdrop-light / -medium / -heavy /* dialog::backdrop tiers */
COMPONENT CONTRACT
  • · <TaskRow state="open|due-soon|overdue|done|rotted">: the atom; rotted keeps the title, shows elapsed time since shift end, and offers Claim.
  • · <ChecklistRun items keeper>: a real percentage in the progress bar, never a shimmer; a photo-required item cannot sign off without one.
  • · <KioskFace value="bad|okay|great">: role radio inside a radiogroup; only the checked face wears the flame, aggregate bars never do.
  • · <ZoneChip>: Title Case short form, an icon, never color alone to say where you are.
  • · <ShiftSlot now>: exactly one slot carries data-now at a time, paired with the live dot.
  • · <LedgerRow> / <CommentRow>: append-only; a correction is a new row, never a mutated one; a comment adds an avatar and a body, nothing else.
  • · <Toast variant="flame|trouble|neutral|success|danger|warning|info">: role alert, singleton stack; the first three narrate the hearth, the closed semantic four cover ordinary system feedback.
  • · <Modal>: native dialog, role implicit, focus trapped; Enter confirms, Escape cancels; one at a time.
  • · <StatusChip state="open|in-progress|blocked|resolved|closed"> / <PriorityChip level="low|medium|high|urgent">: two independent axes, always paired with the word, never color alone.
  • · <ChecklistItem state="pending|done|skipped|failed|photo-required">: failed reads smoke, per P2, never danger — checklist failure stays the pinned color.
  • · <EvidenceSlot state="empty|filled">: stacks in a static wrapping row; never a carousel.
  • · <RecordTable>: .vs-table, row state reuses TaskRow's own left-edge flame/smoke vocabulary; row-select uses .vs-check.
  • · <Avatar initials|unassigned>: unassigned reuses the same dashed-border language as TaskRow/rotted.
  • · Rooms are wrappers: the Watch is constant; the Desk flips by one data-theme on the root; a surface never carries a dark flag of its own. StatTile is the Desk's flipping counterpart to the Watch's own WatchTile.
GREP-ABILITY

Every component in this file is announced by an HTML comment: <!-- component: TaskRow/rotted -->. One search walks the whole kit: component:. New work enters the same way: a comment, a demo, a receipt.

THE ONE RULE THAT SURVIVES EVERY REFACTOR

The flame means now: live, due, or just finished. Smoke means it needs you. The gradient belongs to the mark, never the interface.