Repository navigation
v1.0.0 — fourteen panels
The first cut, lifted out of a working GitHub profile.
Fourteen components. hero, about, sections, work, rhythm, languages, stars,
activity, contributions, fortune, contact, display, tiles, quote — every one a
function that returns an SVG string.
One file per layout, not per theme. Both palettes ship inside every SVG as
custom properties behind a prefers-color-scheme block, so <picture> needs a
single-condition width query and switching theme repaints instead of
re-downloading.
The typeface travels with it. Departure Mono (SIL OFL), subset to ~2 KB and
embedded as a data URI, because an SVG shown through <img> cannot fetch a font.
No build step, no package manager, no runtime. node scripts/build-preview.mjs
renders the whole gallery from invented demo data.
Read README.md for the gallery and DESIGN.md for the measured values behind
the four rules.