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).
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.
Spacing
Eight steps, from 0.25rem to 4rem.
-
--f-space-1 · 0.25rem -
--f-space-2 · 0.5rem -
--f-space-3 · 0.75rem -
--f-space-4 · 1rem -
--f-space-5 · 1.5rem -
--f-space-6 · 2rem -
--f-space-7 · 3rem -
--f-space-8 · 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.
Shadows
Two levels: a surface at rest and a surface that floats.
Motion
Three durations and two easing curves. With reduced motion on, the durations become 0 and the dot jumps straight to the end.
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.
-
--f-syn-keywordkeyword -
--f-syn-stringstring -
--f-syn-numbernumber -
--f-syn-constantconstant -
--f-syn-typetype -
--f-syn-functionfunction -
--f-syn-propertyproperty -
--f-syn-tagtag -
--f-syn-commentcomment -
--f-syn-punctuationpunctuation