Design system

The tokens, type, motion and components this site is built from. Every value below is read from the site's own stylesheets when the page is built, and every colour pair is measured, so the page cannot describe a system other than the one in use.

Source
src/styles/tokens/
Theme
Light only
Standard
WCAG 2.2 AA

Principles

01

The sheet is the layout

White cells bounded by hairlines on a gray ground. Structure is drawn by the content's own edges, never by a decorative grid.

The frame is quiet, the works are loud

Type, colour and space stay sober. Colour comes from the shader, the project visuals and the posters.

Engineering first

Data is set as data, in mono with tabular figures. Facts come before adjectives, and nothing is claimed that is not shown.

One continuous motion

The hero shader moves. Everything else answers the visitor briefly and stops.

Accessible by construction

Every colour pair is measured against WCAG 2.2 AA on this page, motion stops under reduced motion, and every image has its alt text.

Colour

02

Two levels. Radix scales are read by a single file, color.css, and everything else asks for a role. Each swatch below is painted with its token, and the hex is what the stylesheet resolves it to.

--color-ground

#f9f9f9 · gray-2

Page background, between sheets.

--color-surface

#ffffff

Cells.

--color-text

#202020 · gray-12

Text, titles and the wordmark.

--color-text-muted

#646464 · gray-11

Labels, captions and dates.

--color-line

#cecece · gray-7

Hairlines. Decorative, so below text contrast on purpose.

--color-accent

#12a594 · teal-9

Underlines, award frames and hovered image frames.

--color-accent-text

#0d3d38 · teal-12

Teal text at body size.

--color-link

#008573 · teal-11

Links, on white cells only.

--color-focus

#008573 · teal-11

The focus ring, 2px with a 2px offset.

--color-selection

#ccf3ea · teal-4

The background of selected text.

--color-shader-ground

#091213

The shader's darkest ink, and the background of its still frame.

The shader's own colours

The hero shader is a work, so it carries its own palette, outside the tokens. Its ink is the one token that reaches into it: --color-shader-ground.

  • #091213

    ink: the darkest ink

  • #0d3d38

    deep: teal-12

  • #12a594

    teal: teal-9

  • #f2785c

    coral: what acts on the others

  • #f5ede0

    ivory: the one in focus

Contrast

Measured at build time against WCAG 2.2 AA: 4.5 for text at body size, 3 for lines and frames. The last two pairs fail and are never used. A test keeps both lists honest: it fails when a used pair stops meeting the standard, and when a refused pair starts to.

Aa

16.29 : 1

Meets AA, text needs 4.5

Body text in cells

--color-text on --color-surface

Aa

15.47 : 1

Meets AA, text needs 4.5

Text on the page ground

--color-text on --color-ground

Aa

5.91 : 1

Meets AA, text needs 4.5

Labels and captions in cells

--color-text-muted on --color-surface

Aa

5.62 : 1

Meets AA, text needs 4.5

Labels on the ground

--color-text-muted on --color-ground

Aa

4.56 : 1

Meets AA, text needs 4.5

Links, in white cells

--color-link on --color-surface

Aa

12.05 : 1

Meets AA, text needs 4.5

Teal text at body size

--color-accent-text on --color-surface

Aa

13.63 : 1

Meets AA, text needs 4.5

Selected text

--color-text on --color-selection

3.07 : 1

Meets AA, non-text needs 3

Underlines and frames

--color-accent on --color-surface

4.33 : 1

Meets AA, non-text needs 3

The focus ring

--color-focus on --color-ground

Aa

4.33 : 1

Refused: text needs 4.5

Links on the gray ground

--color-link on --color-ground

Aa

3.07 : 1

Refused: text needs 4.5

White text on teal

--color-surface on --color-accent

Type

03

Five faces with one job each, and the system monospace for code. A role names the job, not the face, so a face can change without touching a component.

--font-wordmark · Archivo, 800, width 125%

Thibaut Lefrançois

The name, and only the name.

--font-title · Stack Sans Headline, 700

Selected work, built to last

Titles, project names and the footer email on inner pages.

--font-text · Stack Sans Text, 300 to 600

I build web platforms that run in production, and I sweat the parts people see. Java/Kotlin on the server, TypeScript, Vue and React in the browser.

Everything else. Long reads are set at 300, so their bold carries.

--font-email · Stack Sans Notch, 700

The email address, at display size.

--font-data · Fragment Mono, 400

46.16° N, 1.15° W

Coordinates, dates, handles and figures.

--font-code · The system monospace, SF Mono, Menlo, Consolas

pnpm verify runs before every commit

Code blocks and inline code, in the face developers already read code in.

Scale

Fluid between 320 and 1440 px. Each sample is set with the token it names.

--font-size-step-minus-1 · 13 to 14 px

Selected work, built to last

Labels, captions and metadata.

--font-size-step-0 · 16 to 17 px

Selected work, built to last

Running text.

--font-size-step-1 · 18 to 21 px

Selected work, built to last

Section titles inside a long read.

--font-size-step-2 · 22 to 28 px

Selected work, built to last

Small headings and the hero's email.

--font-size-step-3 · 28 to 44 px

Selected work, built to last

The titles of the home page's sections.

--font-size-step-4 · 32 to 56 px

Selected work, built to last

A note's title.

--font-size-step-5 · 40 to 96 px

Selected work, built to last

The wordmark and the contact email.

Weights

--font-weight-light
300
Running text in case studies and notes.
--font-weight-text
400
Body text elsewhere.
--font-weight-strong
500
Tags and emphasised links.
--font-weight-bold
600
Bold inside running text.
--font-weight-title
700
Titles.
--font-weight-wordmark
800
The wordmark.
--font-stretch-wordmark
125%
The wordmark's width.

Other sizes

--font-size-media-name
calc(var(--font-size-step-5) * 1.6)
The name on a project's title card, drawn in the media kit.
--font-size-email
min(var(--font-size-step-2), 7cqi)
The email, fitted to its own cell on one line.
--font-size-email-large
min(var(--font-size-step-5), 7cqi)
The same in the contact section, where it is the display line.
--font-size-data
0.9em
Mono, set a little under the text beside it.

Line heights

--line-height-tight
0.9
The wordmark and the page's h1.
--line-height-title
1.05
Titles.
--line-height-text
1.5
Running text.
--line-height-lede
1.45
Lead paragraphs and tags.

Letter spacing

--letter-spacing-wordmark
-0.03em
Tightened, as the wordmark grows.
--letter-spacing-title
-0.015em
Titles.

Space and layout

04

A strict 4px-based scale: the number in a token's name is its multiple of 0.25rem. Each bar is as wide as the token it names.

--space-1 · 4 px

--space-2 · 8 px

--space-3 · 12 px

--space-4 · 16 px

--space-6 · 24 px

--space-8 · 32 px

--space-12 · 48 px

--space-16 · 64 px

--space-24 · 96 px

The sheet

Twelve columns from 60rem, one below. The sheet draws its top and left hairlines and each cell its right and bottom ones, so lines never double. Cells carry the white surface, so an unfinished row shows the ground.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12

--layout-measure

The longest line of running text.

--layout-measure-wide

Case study bodies, beside their section titles.

--border-hairline

The line on every cell edge.

--focus-ring

The focus ring: teal, 2px, with a 2px offset.

--tap-size

The touch target of a small link or button.

Every layout token
--layout-columns
12
Columns of the sheet from 60rem. Below, one column.
--layout-gutter
clamp(0.75rem, 0.4rem + 1.8vw, 2rem)
The page's side margin, and the gap above the pinned breadcrumb.
--layout-measure
36rem
The longest line of running text.
--layout-measure-wide
44rem
Case study bodies beside their section titles, about 75 characters.
--hero-shader-height
clamp(15rem, 34vh, 22rem)
The shader cell's height.
--artwork-height
clamp(18rem, 90vw, 28rem)
Artworks hang at one height, each at its own ratio.
--border-width-hairline
1px
The hairline's width.
--border-hairline
var(--border-width-hairline) solid var(--color-line)
The line on every cell edge.
--border-hairline-overlap
calc(-1 * var(--border-width-hairline))
Pulls a cell onto the hairline above it, so its own top line covers that one.
--tap-size
2.75rem
The touch target of a small link or button.
--focus-ring
2px solid var(--color-focus)
The focus outline.
--focus-offset
2px
The space between an element and its focus ring.
--trail-clearance
calc(var(--layout-gutter) + 4rem)
Where anchors land, below the pinned breadcrumb.
--trail-band-bleed
calc(-1 * (var(--layout-gutter) + var(--border-width-hairline)))
How far the band of ground above the breadcrumb reaches past the sheet.
--trail-index-offset
calc(var(--trail-clearance) + var(--space-6))
Where the list of sections sticks beside a long read.
--layer-trail
2
Stacking: the pinned breadcrumb covers the page scrolling under it.
--layer-hint
3
Stacking: the one-time language hint covers the pinned breadcrumb.
--layer-skip-link
10
Stacking: the skip link covers everything.
--layer-card-link
1
Stacking: a card's link, spread over its media.
--layer-transition-top
1
Stacking: the page snapshot that covers the other during a transition.

Motion

05

Dry and short: the hero shader is the only continuous motion. Durations drop to zero under reduced motion, so nothing below moves for a visitor who asked for that. Where there is a pointer, hover a cell to run it.

--duration-quick · 140ms

Colour feedback.

--duration-draw · 360ms

A link's line being drawn.

--duration-fade · 400ms

The shader fading in over its still frame.

--duration-page · 650ms

Page transitions.

--ease-snap · cubic-bezier(0.2, 0, 0, 1)

Feedback.

--ease-out · cubic-bezier(0.16, 1, 0.3, 1)

Movement: fast start, long settle.

Links

A text link, ruled by a 1px line and drawn over by a 2px one.

Hover or focus it. The line runs out to the right when the pointer leaves.

Data

46.16° N, 1.15° W

Mono data resolves when pointed at, with a mouse only. Used on handles and coordinates, nowhere else.

Components

06

Shared components, each small and single-purpose. This page is made of them: a Sheet holding Cells under a Breadcrumbs trail, which stays pinned as the page scrolls.

FactList

Context
Client SaaS
Role
Full-stack developer
Stack
  • TypeScript
  • Node.js
Year
2026

TagList

  • TypeScript
  • Three.js
  • Vue
  • React

CodeText

Set out last, so nothing is allocated

ExternalMark

Radix Colors (external site)

A link that leaves the site ends with a drawn arrow, and still opens in the same tab.

Every shared component

ArticleBody
The body of a case study or a note, ruled like a specification, with its list of sections beside it.
Breadcrumbs
The way back home from inner pages: the sheet's first cell, pinned one gutter below the top.
Cell
One cell: right and bottom hairlines, white surface, a span out of 12, flush for media.
CodeText
A line of frontmatter where backticks mark identifiers, set as inline code.
EmailLink
The email in Notch, fitted to its cell, on one line at every width.
ExternalMark
Inside a link that leaves the site: a drawn arrow in the link's colour, and the fact for screen readers.
FactList
Term and value pairs. Data values are set in mono, lists are shown as tags.
LoopMedia
A Media with an optional preview loop over it, played by an ancestor's mouse hover or keyboard focus.
Media
Images as AVIF with a hairline frame and an optional ratio.
ScrambleText
Mono data that scrambles when an ancestor is pointed at. The real text stays readable.
SectionIndex
The body's sections, numbered like their titles and kept in view. Marks the one being read.
SectionTitle
The title cell of a section, with an optional aside link.
Sheet
A block of cells: draws the top and left hairlines.
LanguageHint
Once, on an English page, a line in French offering the French page to a browser set to French.
LanguageSwitch
The same page in the other language, never its home: beside the role on the home page and in the footer.
SiteFooter
The year, the legal notice, this page and the language switch.
SkipLink
The first stop of a keyboard: jumps over the page to its main content.
TagList
Technologies as small tags framed by a hairline, in the text face.
ZoomMedia
A Media that opens larger in a viewer: a sheet of ground over the page, closed by Close or Escape.

Images

07

Every image sits in its cell with a hairline frame, which turns teal on hover where the image leads somewhere. Artworks are shown at their own ratio. The cover is the project as it is, captured and set in the sheet; only the loops and figures that explain how something works are drawn in the site's own language. The reason is in a note on why the system leaves some things alone.

The title screen of Ocarina, a game of mine, captured and set in a white frame with its address underneath.

16:10

A project's cover and gallery.

Laylow's Trinity CD case floating in 3D on a dark green ground, the iridescent disc seen through its clear front.

4:3

An experiment's thumbnail.

Black and white portrait of Thibaut Lefrançois.

1:1

The portrait, in black and white.

Beyond the page

08

The system is built to travel: anything made around the site starts from the same tokens. Two of the places it already runs are below.

The monogram: the letters TL in light on a dark square.

Monogram

Avatars and small marks. The square is the text colour.

The Open Graph card of this page: a white cell holding the label Reference and the title Design system, over a foot with the name in the wordmark face and a crop of the hero shader's still frame.

Open Graph card

Drawn at build time, in the same cells, faces and colours.

The site
Reads the tokens as custom properties. Stylelint rejects a raw colour, size or duration anywhere else.
Project media
Covers, loops and figures are drawn on a development page that loads the same tokens, fonts and shader palette.
Open Graph cards
The renderer cannot read custom properties, so seven colours are copied by hand, and a test compares them with the stylesheets.
Documents and slides
White cells, one-pixel hairlines in the line colour, titles in Headline and data in mono. The five faces are open source (SIL Open Font License), so they install anywhere.