Skip to content

v1.0.0 — fourteen panels

Choose a tag to compare

@yunmin311 yunmin311 released this 21 Aug 03:43
· 3 commits to main since this release

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.