Red Dot Tracker

Tokens

Tokens are CSS custom properties that start with --f-. Every color has a dark and a light value; switch the theme in the toolbar and every swatch below follows.

Neutral ramp

A cool gray (C 0.012, hue 260) in 12 steps. Dark pages start from step 1 (darkest) as the background; light pages from step 1 (lightest).

--f-bg
--f-bg-2
--f-surface
--f-fg
--f-fg-2
--f-fg-3
--f-line
--f-line-2

Chart

--f-chart-1 to --f-chart-5 are the series colors, used in a fixed order on data marks only; --f-seq-1 to --f-seq-5 are a magnitude ramp in the accent's hue, faint to strong. See the Color page.

--f-chart-1
--f-chart-2
--f-chart-3
--f-chart-4
--f-chart-5
--f-seq-1
--f-seq-2
--f-seq-3
--f-seq-4
--f-seq-5

Spacing

Eight steps, from 0.25rem to 4rem.

Radii

Containers and tiles use continuous-curvature (squircle) corners; pills and circles keep a plain round corner. Safari and Firefox fall back to a plain arc.

--f-r-xs · 6px
--f-r-sm · 10px
--f-r-md · 14px
--f-r-lg · 22px
--f-r-xl · 30px
--f-r-pill

Shadows

Two levels: a surface at rest and a surface that floats.

--f-shadow
--f-shadow-hi

Motion

Three durations and two easing curves. With reduced motion on, the durations become 0 and the dot jumps straight to the end.

--f-dur-1 · 150ms
--f-dur-2 · 250ms
--f-dur-3 · 600ms · --f-ease
--f-dur-3 · 600ms · --f-ease-spring

Syntax

Code highlighting colors, used through the .f-syn-* classes: the accent chroma, a step darker on light, at 4.5:1 on code and diff backgrounds.