Tokens

Defined once in TypeScript. The JSON and the CSS custom properties are generated.

Ink to paper. There is no accent.

StyleSizeWeightTracking
displayXl52px600-0.035em
display38px600-0.03em
title22px600-0.02em
subhead17px500-0.01em
body15px500-0.01em
label13px600-0.01em

204px modules: a 184px column and a 20px gutter, drawn faintly across every page. Content boxes span whole modules; edges step from grid line to grid line on resize.

import { rasterTokens } from "@raster/core";

rasterTokens.color.light.paper; // "#FAF8F2"
rasterTokens.grid.module;       // 204

// or over the wire
// GET /r/index.json     (the component registry)
// npx raster tokens     (the token set as JSON)