Primary and secondary buttons
The primary is for the main thing to do, one per screen; the secondary, the next most likely. Both 48px tall, so they pair.
Design system · stefanadams.com
The tokens, type and parts this site is built from, drawn by the site itself. Change a value in the CSS and this page changes with it.
01
The values everything else is built from: colour, type, layout, spacing, shape, motion, icons and dots. No one-off colours or text styles: anything new becomes a token first.
Six tokens, named by what they do rather than what they look like, so a theme can change the value without changing the meaning. Each pair is the light theme, then the dark. Dark mode follows your device or your choice.
color: var(--color-text-muted);
--color-bgThe page
--color-bg-subtleBehind pictures and tinted panels
--color-textText, icons, strong lines and filled buttons
--color-text-mutedSecondary text, labels and captions
--color-borderHairlines and dividers
--color-illustration-shadeThe soft grey inside the drawings
Instrument Serif for display, IBM Plex Sans for reading, IBM Plex Mono for labels. Thirteen styles, each one token. Make the window narrower and the display sizes shrink with it.
font: var(--type-label-meta); letter-spacing: var(--type-label-meta-tracking);
One gutter on every screen, and content that stops growing at a set width. On wider windows the edge grows instead, so the page stays centred.
padding-inline: var(--edge); max-width: var(--content);
One scale on a 4px grid; the number says how many 4s, so --space-4 is 16px. One-pixel nudges and a few measured offsets stay as they are.
gap: var(--space-6); padding: var(--space-10);
1–3Nudges: an icon and its words, small groups
--space-1--space-2--space-34–8Inside parts: the gutter, nav links, cards and rows
--space-4--space-5--space-6--space-810–16Inside panels, between groups, under a heading
--space-10--space-12--space-14--space-1620–44Between blocks and sections
--space-20--space-24--space-30--space-35--space-44Five corner sizes, from the focus ring to fully round. Circles (dots, the logo, round icons) and square corners are shapes rather than sizes, so they stay as they are.
border-radius: var(--radius-l);
--radius-xsThe focus ring--radius-sSmall tiles, like the colour swatches, the code lines and the parts in Patterns--radius-mPictures and work art on phones--radius-lPictures, panels and the video--radius-fullButtons, pills and the “$ copied” noteFive curves, each with a job, and five speeds. Pick a curve to run the dot on it; the others stay faint behind it, so you can see the difference.
transition: translate .4s var(--ease);
Five speeds for the interface; the drawings and dot pictures keep their own.
--duration-xsPress-in, quick colour changes--duration-sHover colours--duration-mThe link fill, the + turning, fades--duration-lSwaps--duration-xlFading up as you scrollFine lines in the text colour: a 1.25 stroke with round ends, drawn at 13 to 14px (shown bigger here). An icon always sits next to words, takes their colour and is hidden from screen readers, so the words do the work.
<svg class="line-icon" viewBox="0 0 16 16" aria-hidden="true" focusable="false">…</svg>
The “What I do” pills. Each moves while its pill is picked (here, all of them).
The site’s pictures, drawn in round dots on a faint dotted ground: the career portrait, the work tiles, the video’s thumbnail and the heroes here. One script draws them all, so they share one size and one way of moving. Only for pictures that stand for something (me, a project, a page); never for screenshots of real work, illustrations, or anything you read or use. Rare keeps it ours.
dotKit.dotTile(art, scene)
My logo, hand-drawn. Hover and STEFAN travels into ADAMS, its second line; move the mouse over the dots to stir them. Touch screens play it on their own.
02
The parts the pages are made of, drawn with the same classes as the pages. These are working samples: hover, press or tab to them. They just don’t go anywhere.
<button class="secondary-btn" type="button">See more work</button>
The primary is for the main thing to do, one per screen; the secondary, the next most likely. Both 48px tall, so they pair.
A secondary button with the video’s length, read out in full. While open, it says “Close video”.
A quiet action. The icon turns on each click and is hidden from screen readers.
Theme and Pause sit in the footer, chevrons on the strip; each has a spoken name, and Pause says whether it’s on. Menu is phones only: it turns to “Close” and says whether the menu is open.
A long page’s sections, pinned under the top bar. The one you’re reading slides to the middle; chevrons step it along where it doesn’t fit, for anyone who can’t swipe.
Showing: Design Systems
A tab list: one tab stop, then the arrow keys. Picking one never moves anything.
A real details element under the video, so it works without script. Here only the + turns.
Rebuilt with the order tracker team over six weeks.
Nav, company and inline links. All fill with the text colour on hover or focus.
Selected work
Design SystemsA label sits over a title; a tag names a kind of work.
$ copied
The site’s dry aside, on the 404 page, the footer’s date and “copied”. Screen readers skip it.
8%
Of customers calling during setup, down from 18%
A project’s results. They count up once, as they come into view.
A project’s quick facts, as a description list so each label pairs with its value.
Above each homepage project. One link, with the result written out for screen readers.
The whole row opens the company’s site, and says it opens a new tab.
Stef’s design skills are consistently strong, but it’s his leadership and ownership that really stand out. He led Loop’s most ambitious project to date (multi-brand) while onboarding three new designers, bringing energy and a solutions-focused mindset that moves the team forward.
A pull line, then the full quote. The pull line is hidden from screen readers, so nothing is read twice.
Second opinion
“Stefan was always open to new ideas, but challenged them pragmatically.”
One per project, large on the tinted surface.
Short results or rules. The → isn’t read out.
For steps in a process. Decoration: the heading beside it carries the meaning.
Thorough, but the one update that matters gets lost in a long list of system jargon.
Completion date and latest update at the top, with the full history one tap away. Clear at a glance, detailed when needed.
The option not taken, then the one chosen, like a diff. Screen readers hear “not chosen” and “chosen”.
On the grey surface, in light and dark, with a caption and a written description. A screenshot of a different shape sits whole in the middle, with room around it.
A real slider (arrow keys work), Play, Mute, Audio description and Full screen. Here on a pretend clock.
03
The ways the components come together, the same on every page. Each is shown as an outline, with its parts named in the order you meet them.
The top bar, the page, then the footer. Skip to content and Pause animations come first for the keyboard.
How a project page, and this one, opens.
Each step of a project’s story. A tinted one sits on the grey surface to stand apart.
The close of every page but the homepage. The email button copies the address.
04
The site is built to WCAG 2.2 AA. These are the habits behind that, with the success criteria they answer.
:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }
Say hi
Or we can talk video games, golf or skateboarding :)