Resolution

All pages

Design

Resolution is a desk for one owner who reads figures, signs orders and checks a record. The screen should feel like a well-set financial page, not like a dashboard kit: quiet surfaces, exact figures, one colour that means "yours" and three that mean "state". The references are the FT's restraint, Stripe's and Linear's precision, and Koyfin's and Bloomberg's density.

Everything below is a token in web/app.css (the shell), web/measure.css (the series colours) and web/setup.css (the founding wizard). Components never name a literal colour; both themes are the same design with different values.

Principles

  1. Figures first. A number is the most important thing on any page. It is set in the figure face with tabular numerals, never truncated silently, and always has a label and a frame (a cap, a benchmark, a typical range) next to it.
  2. One accent. Cobalt means the fund, the owner's own line, the thing to press. It is never a state.
  3. State is colour plus shape plus word. Pass, warn and fail come from the Okabe-Ito set so they separate for the common colour-vision deficiencies, and every state chip also carries a shape (circle, triangle, square) and a word. Colour alone never carries a verdict.
  4. Borders, not boxes. Hierarchy comes from hairlines, spacing and type weight. Shadows are spent only on things that float over the page (dialogs, the palette, popovers, toasts, the chart read-out).
  5. Dense but calm. Tight rows, small caps labels, generous gutters between groups. Nothing animates unless it reports a change.
  6. Never reward activity. No celebratory colour, confetti, streaks or badges for trading. Green is a rule that passed, not a trade that was made.

Colour

Neutrals are biased toward the accent's hue (about 225°), so greys read as ink and paper rather than as plastic.

TokenNightPaperRole
--ground#0a0c10#f3f4f6page
--surface#10131a#ffffffpanels, tables
--raised#161a22#f8f9fbhover, selected rows, table heads
--sunk#07080b#eceef2inputs, tracks, sidebar
--line#1d222c#e3e6echairlines
--line-strong#2b313d#cfd4ddcontrol borders, axes
--text#e8eaef#0e1320body and figures
--muted#9aa1ae#525b6bsecondary prose
--faint#7b8391#636b7blabels, axis text (at least 4.5:1 on every ground)
--brass (accent)#8196ff#2e45c8the fund, primary actions, focus
--pass#3ec79d#057654a rule passed, a figure inside its frame
--warn#e9b949#8f6300near a limit
--fail#ff7a59#c23b1abreach, block, loss beyond a limit
--bench#8d95a4#808897benchmarks and controls (dashed)

The accent keeps the historical variable name --brass (and --brass-soft, --brass-ink) so no view had to change; --accent is an alias. --info is the accent's lighter sibling and is used for links and neutral information, never for a state.

Series colours for charts (--s-* in measure.css) are the accent for the fund, a dashed neutral for the benchmark, and orange, reddish purple and teal for the controls, chosen to separate from the accent and from each other in both themes.

Type

FaceFamilyUsed for
UI sansInstrument Sans (variable, 400–700)body, labels, controls
FiguresIBM Plex Mono (400, 500, 600)every number, ticker, hash and axis
DisplayNewsreader (variable, optical size)page titles, the verdict word, briefs and quotes

All three are SIL Open Font License faces, self-hosted from web/fonts/ (Latin subset, WOFF2, about 300 KB together, font-display: swap). The sans and the figure face are preloaded.

Scale (px): 11 · 12 · 13 · 14 · 16 · 20 · 28 · 40. Body is 14/1.5. Labels are 11px small caps with 0.08em tracking. Figures in tiles are 22px mono medium; the hero figure is 40px. Page titles are 30px Newsreader at weight 500 with tight tracking. Nothing on screen is smaller than 11px, chart text included.

Space and shape

Spacing steps are 4 · 8 · 12 · 16 · 24 · 32. Panels pad 18px (16px on a phone); tables pad rows 9px. Radii: 8px for panels and tiles, 6px for controls, 4px for badges and chips. A group of figures is one bordered strip with hairline dividers, not a row of cards.

Surfaces and elevation

  • Level 0, page: --ground.
  • Level 1, panel: --surface with a 1px --line border and no shadow.
  • Level 2, emphasis inside a panel: --raised, still without a shadow. A hero panel (.panel.lift) takes a --line-strong border and a gradient from --raised to --surface, not a shadow.
  • Level 3, floating: dialogs, palette, popovers, toasts and chart read-outs take --shadow, a --line-strong border and the surface colour.

The sidebar sits on --sunk so the content reads as the lit part of the desk. The selected page is marked by a 2px accent bar and ink text, not by a filled pill.

Charts

One grammar, in web/lib/charts.js:

  • Axis and tick text 11px in the figure face, --faint. Horizontal gridlines only, in --line; the zero line and axes in --line-strong.
  • The fund's line is 2px in the accent; controls and benchmarks are 1.5px, dashed where they are a reference.
  • Areas fill with a vertical gradient from 22% of the series colour at the line to nothing at the floor, defined per chart in SVG <defs> with the series colour taken from the theme variable.
  • Caps, limits and starting values are dashed reference lines labelled at the right edge with their value. A reference off the scale is named at the edge it lies beyond.
  • The last value of each solid series is printed beside its last point.
  • Every time series has a crosshair and a read-out on hover; the read-out is a floating panel with the date and every series' value in tabular figures.
  • Diverging fills (returns, correlation) mix the state colour into the surface in proportion to the magnitude; the number is always printed in the cell.
  • Meters and margins show the cap as a tick, and change colour at the warning threshold; the measured value and the cap are always printed beside the bar. Their tracks are 8% of the text colour mixed into transparency, so one rule reads on every surface in both themes.
  • Text laid over a chart (end labels, reference labels, strip labels) carries a 4px halo in the surface colour so gridlines never strike through it.

Motion

120 ms for hover and focus, 180 ms for overlays entering. Only three things move on their own: the live dot, the working indicator and a new line in a feed. prefers-reduced-motion turns all of it off, including smooth scrolling started from script. The contrast rules and how they are tested are in Accessibility.

Imagery

A small set of engraved line drawings (contours, plinths, a stair, a trace), generated once with npm run imagine and committed under web/img/. They are masks: white lines on transparency, tinted by the theme with CSS mask-image, so one file works in both themes. They appear only on the founding welcome and in empty states, at low contrast, and never behind figures. Where a page asks for an image that does not exist, a drawn SVG contour pattern takes its place. Prompts and credits are in web/img/CREDITS.md.

Small screens and the home-screen app

At 900px and below the sidebar gives way to a bottom tab bar and the tape keeps only NAV and today's move. At 560px figure strips go to two columns and tables scroll inside their panel, never the page. Safe-area insets are respected on every edge, and the status bar takes the ground colour of the active theme.