Writing

Design as data

Colour and type work better as records with sources than as taste.


Design advice is easy to give and hard to check. “Use a softer neutral.” “That type pairing feels wrong.” Both sentences can be true, and neither can be verified by anyone who was not in the room when they were said.

I work on two projects that take the opposite approach. Chromary treats colour as something with numbers attached: OKLCH values, WCAG contrast ratios, APCA scores, palettes and gradients that can be computed rather than eyeballed. Fontlore treats type as records: 165 font records, 66 curated pairings, 71 tools, each with a source URL, and a command-line engine that turns a project brief into a ranked shortlist.

The argument in both is the same. Taste is real, but it is not a substitute for a verifiable value, and the two are often confused.

Colour already has a spec

Colour is the easiest place to see the problem, because colour is measurable and people still describe it in feelings.

Chromary covers the part of colour work that has a right answer. Contrast is not a matter of preference: WCAG sets minimum ratios, APCA proposes a perceptual model, and both can be calculated from the two colours in front of you. Palette generation can be done in a perceptual space such as OKLCH, where equal numeric steps look like equal visual steps, instead of in RGB, where they do not. Gradients can be checked for banding and for the intermediate colours the eye will actually see.

The project ships sixteen deep-dive guides, six agent skills, an MCP server, and a playground with no dependencies. The skills matter to me because they give an AI agent the same numbers a designer would use. An agent that has a contrast function does not have to guess whether a label is legible. It can call the function and read the result.

That is the shift I care about. The design decision is still a judgement, but the inputs to it are checked. You can disagree with my palette and still agree that every pair in it passes the contrast requirement, because the pass is a measurement, not an opinion.

Type is mostly licensing and coverage

Fontlore started from a narrower frustration. Font choices fail for boring reasons: the licence does not allow the use, the font has no glyphs for the language on the page, or the catalogue data is years out of date and quietly wrong.

So the data layer is built around verification. Every font record carries a source URL. Values that could not be verified at the foundry are stored as null rather than filled with a best guess. The accepted licences form a fixed set, and a font that is not under one of them does not enter the accepted data. There is a validator that gates every commit.

The command-line engine is a rubric, not a vibe. It takes a brief, applies constraints, scores candidates on category fit, tone, coverage and licence, and returns a ranked shortlist with the evidence for each ranking. A human can read the shortlist and disagree with it line by line, because each line says why it scored the way it did.

Six hundred and thirty-two guides are generated from the data at release time: one per font, one per pairing, one per tool. They are mechanical because they are derived, and being derived is the point. If the underlying record changes, the guide changes.

Unverified values are worse than missing ones

This is the rule I keep coming back to, and it is the reason both projects store absence explicitly.

A missing value is a known gap. It tells the reader to go and check. An unverified value looks like a fact. It gets copied into a design system, a stylesheet, or another record, and by the time anyone notices it was wrong, it has children.

The same is true of a colour. A palette that has not been checked for contrast is not neutral; it is a claim that the palette is legible, made without evidence. Most of the time it will be fine. The times it is not are the times it matters, on the low-vision reader who cannot separate the text from the background.

Storing null is uncomfortable. It makes the data look incomplete. I have come to prefer incomplete and true to complete and unverified, because the second kind of data is the kind that spreads.

What this does not solve

Numbers do not make a design good. A palette can pass every contrast check and still be a bad palette: wrong for the brand, wrong for the product, wrong for the mood. A font can meet every technical requirement and still be the wrong voice. Chromary and Fontlore make the checkable parts checkable. They leave the uncheckable parts where they belong, with a person.

There is also a maintenance cost that is easy to underestimate. Verified data has to be re-verified. A licence can change, a foundry can disappear, a font can gain a new version with different coverage. A static dataset that was correct at release is a claim that ages. The validator helps, but it only checks what it was told to check.

And the deterministic engine can be confidently wrong. It ranks against a rubric, and a rubric is a simplification. When a brief does not fit the rubric, the shortlist will be plausible and wrong, which is the most dangerous kind of wrong. The engine states its evidence partly so that a person can catch this, not because the evidence makes it correct.

The design sense is still yours

The headline on Ochrelle, a related project, is “give AI a design sense”. I mean it literally and narrowly. What these projects give an agent is a set of checked inputs and a method for using them. The sense, the judgement about what a product should feel like, is still the part that comes from a person.

What changes is that the person no longer has to defend the measurable parts from memory. The contrast ratio is in the record. The licence is in the record. The coverage is in the record. The argument can move to the question that actually needs a human, which is whether this is the right choice, not whether it is a true one.