syddev

Chapter 05

Colo­phon

How this is put together, in enough detail to copy it. There is no framework here. The site is a folder of HTML generated by a script, served from the edge.

Pages
61
Framework
None
Third parties
None

01

Three faces

All self-hosted, all subset to latin, all under the SIL Open Font Licence.

Display

Handgloves

Instrument Serif

A high-contrast display serif with an italic that leans hard. Used for every heading on the site, at sizes from 28px to 180px. Regular and italic only, 30kB for both.

Text

Handgloves

Geist Sans

A variable sans, 100 to 900 in one 57kB file. Used for body copy, buttons and anything that has to be read for a while.

Data

Handgloves

Geist Mono

A variable mono, 100 to 900 in one 57kB file. Used for labels, tags, references and anything that ought to line up in a column.

The rule for the whole site: serif says this is a sentence, sans says this is a paragraph, mono says this is a fact. Nothing else gets to be decorative.

02

Two inks and two flames

Warm paper, cold ink, and two accents that never appear together in equal measure.

Paper#EDE7DB
Ink#0B0C10
Ember#FF4A17
Iris#3550FF

Every drawing in the archive is one of six duotone pairs built from these four values. That is why fifty-five unrelated pictures read as one printed object.

03

Motion that waits

Everything moves on the same clock, and none of it moves to startle you.

  • Scroll-drivenSection reveals are native CSS animation-timeline: view(). No scroll listener, no jank.
  • NavigationCross-document View Transitions, so a link to a project morphs rather than blinks.
  • The fieldA WebGL fragment shader, paused when the tab is hidden and whenever the reader asks for less motion.
  • DurationNothing exceeds 320ms. Anything that changes state is eased, never linear.
  • Reduced motionprefers-reduced-motion turns the shader into a still image and every transition into nothing.

04

How the bytes get there

A build script writes HTML. A Worker puts it on the edge. That is the whole pipeline.

  1. 1

    One script, one folder

    node build.mjs reads two data files and writes 60 HTML files plus a manifest, a sitemap, a feed and an llms.txt. No bundler, no plugin, no node_modules in the output.

  2. 2

    One Worker in front

    The Worker exists for three things: the real 404, the content security policy, and the cache headers. It renders nothing.

  3. 3

    Everything at the edge

    Static assets, served from w-luros-demo.minithlabs.com in about 40ms from London. The visitor’s city is reported back by the same Worker, which is the only thing in this site that knows where you are.

The page you are reading ships no framework, no analytics and no cookie. There is no third-party request of any kind after the fonts, and the fonts are ours.

05

Keyboard first

Everything here works without a mouse, because a mouse is a luxury.

/Search the archive
↑↓Move through results
↵Open
&esc;Close
?This list
  • FocusEvery focusable thing has a 2px ember ring with an offset, visible on both paper and ink.
  • LandmarksOne main, one nav per region, and a skip link that is the first thing in the tab order.
  • Live regionsFiltering the archive announces the new count politely rather than silently.
  • ContrastPaper on ink is 16.8:1. Ember on ink is 5.6:1. Iris is used for large text and for shapes only.
Esc
↑↓ to move ↵ to open &esc; to close