---
title: "A design system in code, in three weeks"
author: "Mykyta Syvash"
date: "2026-11-13"
lang: "en"
url: "https://mykytasyvash.art/writing/design-system-in-code-in-three-weeks"
tags:
  - "design systems"
  - "design engineering"
  - "Astro"
  - "Balt"
---

# A design system in code, in three weeks

> Tokens and 30+ components in Astro and Tailwind v4, shared by Balt’s app and its bilingual site. What I built first, what I skipped, and how the system survived the relaunch two months later.

## In short

- Three weeks, one designer who also writes the front-end, a founder and an engineer. The go-to-market site had to ship for the September 2026 launch.
- The system was built in code first: design tokens, then 30+ components, shared by the app and the EN/FR site. The Figma file came after, as documentation.
- Week one was tokens and type. Week two was components. Week three was pages and the bilingual content model.
- What I skipped: a component library UI, visual regression tests, dark mode. What it cost: two refactors once the app outgrew the site’s components. When Balt relaunched in November 2026 for eight industries, the system carried over as code; only the art direction moved.

Balt had a launch date, a product that works mostly in the background, and no visual identity. The founder and the engineer were building the agent. I had three weeks to make the thing visible: a brand, a system, and the production go-to-market site, bilingual, for a September 2026 launch out of Station F. There was no time for a Figma library that would then be translated into code by someone else, and there was no someone else.

So the design system was code from day one. Here is how the three weeks went, and what I would repeat.

## Why code first and not a Figma library?

Because with one person doing both, a Figma library is a drawing of the system, and the system is the thing that runs. Every hour spent keeping the drawing in sync with the build is an hour not spent on the build. I designed in Figma, fast and loose, to make decisions. The decisions landed in code as tokens and components. The Figma file was tidied afterwards, as documentation for the founder and for whoever comes next, not as a source of truth.

The other reason is drift. A library maintained next to a codebase drifts from it within a month. A system that is the codebase cannot.

## Week one: tokens, type, and the one chroma

The first week produced almost nothing a visitor would see. Colour tokens: a paper and ink scale, a single blue, two greys for text, hairlines. Type: one sans with four sizes and a tight tracking scale, one mono for the agent's own output. Spacing on an eight-point rhythm. Radii, shadows, motion durations. All of it as Tailwind v4 theme variables, which means CSS custom properties with Tailwind utilities generated on top, usable in Astro components and in the app alike.

The one chroma rule came out of this week. An AI product's interface is mostly text the agent produced, and the brand colour needed to mean "Balt did this" and nothing else. So blue appears where the agent acts and nowhere decorative.

## Week two: thirty components

Buttons, inputs, the chat bubble and its variants, the draft card with approve and edit, the integration tile, the routine switch, the pricing table, nav, footer, a section wrapper, and the handful of marketing primitives: hero, feature row, logo wall, testimonial. Thirty-two by the end of the week. Each one in Astro, props typed, with the tokens from week one and no hard-coded values.

The discipline that paid off most: every component took a locale, from the first one. English and French were not a late translation; the content model had both languages from the start, and components rendered whichever they were given. Bilingual from day one is a structural choice and it is nearly free in week two. It is expensive in month three.

The product-led UI came out of this week too. Balt is invisible by nature, so the site shows the agent working: a live chat, a ranked shortlist, the pipeline across the integrations. Those were components as well, built from the same tokens as the app's real screens, so the site and the product look like the same thing because they are.

## Week three: pages, content, launch

Pages assembled out of the components, in both languages. The content model made that mostly a matter of writing. The last few days were the usual: performance, the metadata, the forms, the things that only break on a real device.

The site shipped for the launch. The product was already in use at ten-plus French staffing and engineering firms, so the site had something true to show on day one.

## What I skipped, on purpose

A component library UI, the Storybook-style catalogue. Nobody but me was consuming the components that month. Visual regression testing: same reason. Dark mode: the agent's interface is paper, and there was no second theme to be consistent with yet. Accessibility was not skipped, that is the one thing I refuse to leave for later, but the audit was done by hand rather than in CI.

## What the shortcut cost

Two refactors. The components were built for a marketing site that happened to share an app's tokens; when the app's screens grew past what the site needed, a few components had to be split into a primitive and a marketing variant. And a Figma file written after the fact is honest documentation, but it is not a place to explore, so the next round of design work started by copying from code rather than from the file.

## The relaunch test

Two months after launch Balt widened from staffing agencies to any small business, and the site was rebuilt around it: a new information architecture, eight industry pages, self-serve pricing, French as a full mirror, six hundred and twenty-seven pages in two languages. The question for the system was whether it would carry.

It did, as code. The tokens, the components and the bilingual content model moved into the V2 site without a rewrite. What changed was the art direction: a company selling to every trade has to look like a company, so the sky imagery gave way to photography of the trades, and the type scale grew up with it. That is the split I would want from any system: the mechanics are stable, the voice is free to move.

I would still do it the same way. Three weeks is enough to build a system in code when one person holds both ends, and the system you get is the one that is actually running in production, which is the only kind worth keeping.

## Related

- [Balt case study](https://mykytasyvash.art/balt)
- [Being the only designer](https://mykytasyvash.art/writing/being-the-only-designer)
- [Why I ship my own code](https://mykytasyvash.art/writing/why-i-ship-my-own-code)

---

By [Mykyta Syvash](https://mykytasyvash.art), November 2026. More essays: [https://mykytasyvash.art/writing](https://mykytasyvash.art/writing).
