My portfolio had grown the way most do: one stylesheet, values typed wherever they were needed, a page per project. I rebuilt it as a small product, the kind of system I'd ask a team to build, and used it to work out how I want to design with an AI pair.
It's also the piece you're looking at: everything below is running on this page.
Category
Design systems, Front-end, AI
Platforms
Web
Time
2026
The home page, before and after.
One system
One source for every value
Every colour, text style, space, radius, shadow and duration lives in one folder of tokens. Outside it, styles may only refer to them: a check runs on every build and fails it if a value is typed anywhere else.
From a value to a link, in named steps.
The markup says what things are
Classes only name what something is, like a work tile or a list of facts, never how it looks. A paragraph stays a paragraph; a lead paragraph looks different because of where it sits, not because of a class.
Colour
Three choices, one shown
The system has three independent choices: scheme (light or dark), temperature (cold, neutral or warm greys) and accent (eight hues). Temperature owns the surfaces; the accent owns everything you read and every mark. Visitors choose only light or dark: the site is cold and blue. The rest stays in the system, ready, and is checked like everything else.
Text that follows the accent
Text uses an ink: the accent's hue at a reading depth. With blue it's the same navy as the previous version of this site. The accent itself stays at the hue's most vivid step, so it stands apart from the text as underlines, dividers and focus rings.
Checked by a browser, not by eye
A second check renders every combination in a real browser and measures every text colour against every surface (at least 4.5:1) and every accent mark (at least 3:1): 4,848 pairs across 48 appearances, on every build.
Every appearance, checked on every build.
Depth
Four levels, back to front: the canvas behind the panels, the panels, cards inside them, and what floats above. In light mode depth reads from the shadows. In dark mode each level also steps lighter, because shadows barely show on dark.
The agent
Quiet until asked
The panel beside the page is an agent, not a chatbot. It stays quiet until it's asked. It knows which page and section you're reading: the site builds an index of its own text with every deploy, and the agent answers only from it.
Free, by design
It runs on Cloudflare Workers AI's free plan. I compared four models on the same questions, including attempts to make them go off-topic, and chose the one that stayed accurate and on topic: Llama 3.3 70B. When the day's free allowance runs out, the agent says so and falls back to written answers. It never bills.
How a question becomes an answer.
Designing with an AI pair
The handover
I directed the design and made the calls; Claude Code was my pair for the code, the checks and the tests. How I work lives in one file it reads at the start of every session, the brief I'd give a new teammate: push back like a senior, give an opinion first, report measurements and leave the feel to me, and check in a browser before saying something works. Every claim on this page was measured on the running site.
Checks
When Claude can't confirm a fact, it doesn't guess or leave a note in the text. It puts a question in the page, right where the fact is, and I answer it there: Yes, No or a comment. A listener hands my answer back to Claude, which acts on it and removes the question. Everything still waiting on me, on any page, is in one Checks menu.
A question, where the fact is.From a question to a fix, without leaving the page.
Experiments
When the question is how something feels, a description doesn't settle it; trying it does. The options go into an Experiments menu and switch across the whole site, the first one always being the site as it is. When I pick, the winner becomes the rule and the rest is deleted.
Two trials, switched across the whole site.
One stage at a time
Nothing goes live in one step. “Ship” moves the work one stage: to a preview, to a second preview, and only then, once I confirm, to the live site. Smaller issues go through Linear: assigned to Claude, they're picked up by a job on my Mac, worked on their own branch and handed back to me for review.
Shipping, one stage at a time.
What's next
Chat history for the agent.
Keeping the agent's 👍 / 👎 feedback, so I can read it.