Wayback

Design system

Wayback

Wayback maps how a company's work really gets done, then builds the tools that take the hand-carrying out of it. Everything we make is read by people who are busy doing that work. The system below keeps our pages plain, fast and easy to trust.

Principles

  1. Clarity before decoration. Every colour, line and movement has to tell the reader something. If removing it loses no information, remove it.
  2. Fast, and it feels fast. Nothing makes a person wait without a reason. Common actions respond at once; only rare moments get more expression.
  3. Human. Write the way you would explain it to a new hire. Movement is subtle and settles; it is never mechanical or showy.
  4. Accessible by default. Text meets 4.5:1 in both themes. Meaning never rests on colour alone. The interface works fully with motion turned off.
  5. One focal point. A screen has one primary action and one thing moving at a time.

Content

Colour

  • Pages sit on bg. Cards, inputs and sheets are surface with a line border. Recessed fills use surface-2.
  • Set copy in fg; secondary copy and labels in muted.
  • accent is the one interactive colour: primary buttons, links, focus rings, the selected nav item. Put accent-fg on an accent fill. Use accent-soft behind selected or team-coloured items, with accent text.
  • brand is Wayback navy. Use it for the logo tile, a single feature band per page and the sign-in background, with brand-fg on top. hop is the one bright note and only appears on brand.
  • Four colours carry meaning and are never used for decoration:
TokenMeansPair with
manualA person carries this by handmanual-soft
autoThis moves on its ownauto-soft
possiblePossible, not built yetpossible-soft
askStill needs a yes or noask-soft
  • Always put a word or an icon beside a meaning colour. danger is for destructive actions and errors only.

Surfaces and text

Action and brand

Meaning

Each swatch shows the light value, then the dark value.

Type

  • Headings use the display family (Bricolage Grotesque) at weight 700 with slightly tight tracking. Everything else uses body (Figtree).
  • One h1 per page. Use section-title for section heads and card-title inside cards. Put an eyebrow above an h1 only when it names where the reader is.
  • Keep a lede to 62 characters wide. Controls use control (weight 600). Numbers that line up use tabular figures.

Space, shape and depth

  • Lay groups out with flex or grid and gap. Stacks use space-16, sections space-14, card contents space-10, chips space-6. Card padding is space-18.
  • Cards and list containers use r. Buttons and inputs use radius-control; small buttons radius-control-sm; sheets radius-sheet; chips and toasts radius-pill.
  • A resting card gets shadow. Only things above the page (sheets, dialogs, toasts) get shadow-lg. Do not add other shadows.
  • Controls are at least 42px tall, inputs 44px. Focus is a 2px accent outline, offset 2px.

Spacing

Radius

Shadow

Motion

Motion is a clarifying layer. Use it to show where something came from, confirm an action, or point at what changed. Before adding any, ask: if this did not move, would the reader lose information or context? If not, leave it still.

Four rules

  1. Human. Movement is subtle and settles to a stop. Nothing bounces, spins for effect or loops.
  2. Clarity. One thing moves at a time, and it moves for a reason.
  3. Accessible. Under reduced motion, every animation and transition is off and the change is instant. Nothing flashes, oscillates or sweeps a large area.
  4. Performant. Motion starts the instant the person acts and never blocks the next step.

How long

KindRangeTokens
Interactions: hover, press, focus50 to 150msduration-press, duration-hover
Transitions: things entering, leaving or moving150 to 400msduration-enter-sm, duration-enter, duration-enter-lg, duration-exit
  • Small things are fast and quiet. Larger things get more time: a menu takes duration-enter-sm, a sheet duration-enter, a full panel duration-enter-lg.
  • An exit is never longer than its entrance. Use duration-exit.
  • Things people do all day (hover, press, list rows) are close to instant. Save expression for rare moments such as first sign-in.

Which curve

TokenUse for
easing-enterSheets, panels and toasts arriving
easing-moveThings that stay on screen and change size or place
easing-exitAnything leaving
easing-hoverHover fades and small popups

What moves

Animate only opacity, position (a short slide of 14px or less), scale and colour. Do not animate layout properties.

Patterns

  • Button. Border and background fade over duration-hover. A press moves it 1px down over duration-press.
  • Card that links somewhere. On hover the border turns accent and the card lifts 2px.
  • Toast. Rises 14px and fades in over duration-enter with easing-enter. Leaves by fading and dropping over duration-exit with easing-exit.
  • Sheet. The scrim fades in over duration-enter-sm; the sheet rises over duration-enter.
  • Loading. A spinner or a shimmer is the only looping motion, and only while something is loading.

Do not

  • Animate several things at once.
  • Make someone wait for an animation to finish before they can act.
  • Add motion to make a page feel livelier.

Tokens

TokenValueUse for
duration-press80msPress feedback: a button moving 1px down.
duration-hover150msHover and focus changes: border, background, colour.
duration-enter-sm150msSmall things arriving: menus, popups, the scrim behind a sheet.
duration-enter200msSheets and toasts arriving.
duration-enter-lg250msFull-screen panels and dialogs arriving.
duration-exit150msAnything leaving.
easing-entercubic-bezier(0, 0.4, 0, 1)Sheets, panels and toasts arriving: fast in, settling to a stop.
easing-movecubic-bezier(0.4, 0, 0, 1)Things that stay on screen and change size or place.
easing-exitcubic-bezier(0.6, 0, 0.8, 0.6)Anything leaving: starts slowly, then gets out of the way.
easing-hovercubic-bezier(0.4, 1, 0.6, 1)Hover fades and small popups.

Try it

Each dot crosses its track with one duration and one curve.
Hover, 150ms
Enter, 200ms
Move, 250ms
Exit, 150ms

Components

Six building blocks, each drawn from the tokens above. The class names are in wayback.css.

Button

The action a person takes, labelled with exactly what happens.

  • One primary button per screen, for the main action. Everything else is the plain button; ghost for cancel and dismiss; danger only for destructive actions.
  • Use small inside lists and cards.
  • You provide the label and the handler. Start the label with a verb, in sentence case: "Add a tool", "Save answer".
  • Hover fades border and background over duration-hover; a press moves it 1px over duration-press.

Chip

A short label that carries a status or a category.

  • manual, auto, possible and ask carry meaning: by hand, on its own, possible, needs a yes or no. Never use them for decoration.
  • team names a team or owner. The plain chip is neutral. draft marks something unconfirmed.
  • You provide the text. Always include a word; colour alone does not carry the meaning.
5 manual1 automatic4 possible3 to confirm FinanceOperationsDraftNew

Card

A surface that groups one thing: a team, a tool, a workflow.

  • surface fill, line border, r corners, shadow, space-18 padding.
  • A card that links somewhere is an anchor: on hover the border turns accent and it lifts 2px. A card that does not link does not move.
  • You provide a card-title, one supporting line in card-sub, and optional chips. Put the link label last.
  • Do not nest cards or add other shadows.

Payroll

Hiring, onboarding, time off and payroll for every location.

5 manual3 to confirm
Open

Finance

Books, payables, month-end close and forecasts.

1 automatic4 possible

Field

A labelled text input.

  • The label sits above the input in label type and muted. Inputs are at least 44px tall with radius-control.
  • Focus is a 2px accent outline with an accent border.
  • You provide the label, the value and an optional hint. Use placeholder text only for an example, never as the label.

Segmented control

A choice between two to four views or values, all visible at once.

  • The track is surface-2; the selected option is surface with fg text.
  • A selected option may take manual or auto when the choice itself carries that meaning.
  • You provide the options and which one is on. For more than four options, use a select.

Toast

A short confirmation that an action worked, or a plain statement that it did not.

  • Success repeats the action: "Saved", "Deleted". It leaves on its own after about 2.6 seconds.
  • An error says what went wrong and what to do next, and stays for 6 seconds.
  • It rises 14px over duration-enter with easing-enter and leaves over duration-exit with easing-exit.
  • You provide the text. One toast at a time.
Saved That change was not saved. Check your connection and try again.