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 "@noordvc/raster";

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

// or over the wire
// GET https://raster.noord.dev/r/index.json
// npx @noordvc/raster-cli tokens