Message Résumé (PDF, opens in a new tab) LinkedIn (opens in a new tab)

Design system · stefanadams.com

The system

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.

Tokens
37
Type styles
13
Components
23
Themes
Light, dark
Standard
WCAG 2.2 AA

01

Colour

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.

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

02

Type

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);

  • Display XL--type-display-xl
  • Display L--type-display-l
  • Display M--type-display-m
  • Display S--type-display-s
  • Display menu--type-display-menu
  • Heading stat 650+--type-heading-stat
  • “Heading pull, for quotes.”--type-heading-pull
  • Body M. Most of the reading on the site: intros, quotes and buttons.--type-body-m
  • Body S. Captions, pills and the footer.--type-body-s
  • Link nav--type-link-nav
  • Link company--type-link-company
  • Label--type-label
  • Label meta · Jan 2022 → Present--type-label-meta

03

Layout

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);

  • --gutterThe page edge, clear of a phone's notch
  • --contentWhere content stops growing
  • --edgeA section's side padding: the gutter, or more once the window is wider than the content
  • BreakpointsPhones under 768px, tablets to 1023px, laptops to 1279px, then desktop768 · 1024 · 1280

04

Spacing

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);

  • --space-1Hairline gaps, the smallest nudges
  • --space-2Between an icon and its words, between buttons
  • --space-3Small groups
  • --space-4The page gutter, label to title
  • --space-5Between nav links
  • --space-6Cards and rows
  • --space-8Space above a block
  • --space-10Inside panels
  • --space-12Between groups
  • --space-14Between quote columns
  • --space-16Between a heading and its content
  • --space-20Large gaps on phones
  • --space-24Between big blocks
  • --space-30Sections on phones
  • --space-35Homepage sections
  • --space-44Project and System sections

05

Shape

Five 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
  • --radius-mPictures and work art on phones
  • --radius-lPictures, panels and the video
  • --radius-fullButtons, pills and the “$ copied” note

06

Motion

Five curves, each with a job, and five speeds. Each dot runs on its own curve, side by side, so you can see the difference. Motion is never needed to use the site, and it all stops with Pause animations or your device's Reduce motion setting.

transition: translate .4s var(--ease);

  • --easeMost movement: hovers, swaps, the career rows
  • --reveal-easeThings fading up as you scroll: softer at the start
  • --ease-foldThe + turning, rows sliding, the description unfolding
  • --ease-fadeLines fading up one after another
  • --ease-popA small overshoot: the speech bubble, a jump

Durations

Five speeds for the interface. The drawings and the dot pictures keep their own timing.

  • --duration-xsPress-in, quick colour changes
  • --duration-sHover colours
  • --duration-mThe link fill, the + turning, fades
  • --duration-lSwaps
  • --duration-xlThings fading up as you scroll

07

Icons

Fine 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>

  • Arrow ↗Company links: opens their site
  • Plus and ×The Menu button: + while shut, turned to × while open
  • Fold + and −Video description: the upright turns flat to make −
  • Refresh ↻More receipts
  • PlayWatch my video
  • CloseWatch my video, once it’s open
  • Theme, light and darkThe half turns over with the theme
  • Pause and playPause animations; a play arrow while paused
  • Chevrons ‹ ›The sections strip: step back or on

Skill icons

The four in the “What I do” pills. On the homepage each moves while its pill is selected; here they all move. They stop with Pause animations or Reduce motion.

  • TileDesign Systems: the diamond splits into four, then clicks back into one
  • ShuffleUX Design: the circle, triangle and square swap places round the corner
  • WaveAccessibility: the figure waves as the ring turns
  • TwinkleEmerging Tech: the big sparkle flares as the small ones blink

08

Components

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. The top bar, phone menu and footer are around this page already.

<button class="secondary-btn" type="button">See more work</button>

Actions

Primary button

One per screen, for the main thing to do. 48px tall. Darkens a step on hover and presses in a little when clicked.

Secondary button

Outlined, for the next most likely thing. Same size and spacing as the primary, so the two sit together.

Video button

A secondary button with a fine icon and the length, dimmed. Its name reads the length in full ("1 minute 52 seconds"). Press it: while the video is open, the play icon turns into a cross and the words say “Close video”.

Text button

A quiet action, like a nav link with a fine icon in front that turns once on each click. The icon is hidden from screen readers; the words do the work.

Icon buttons

Theme and Pause animations, as in the footer; the chevrons that step along the sections strip are the same button. Press them to see their states; these samples don’t change the page. Each has a spoken name, and Pause says whether it’s on.

Menu button

Phones only on the pages. The + turns to × and the label to “Close”; it tells screen readers whether the menu is open.

Selection and disclosure

Pills

Showing: Design Systems

A tab list: one tab stop, then the arrow keys move between pills. 38px tall whether selected or not, so choosing one never moves anything.

Video description

Video description

On the homepage it’s a real details element under the video: it opens with Enter or Space, works without script, and the fine + turns into a − as it opens. Here only the + turns.

Text and links

Label and tag

Selected work

Design Systems

Mono, muted and quiet. A label sits over a title; a tag says what kind of work something is.

Terminal lines

$ copied

The site’s dry aside: a muted $, the command in the text colour, the reply muted. Used on the 404 page, the footer’s date and the “copied” note. Decoration only, so screen readers skip it.

BT Group

Rebuilt with the order tracker team over six weeks.

Nav links, a company link with a fine ↗, and a link inside a paragraph. All fill with the text colour on hover or focus, the way selecting text does. These samples stay on this page.

Data

Stats

  • 8%

    Of customers calling during setup, down from 18%

A project’s results, first thing. The numbers count up once, as they come into view; with Reduce motion or Pause they’re simply there.

Facts row

Role
Product Designer
Timeline
2022–2023
Platforms
Mobile web, React

The quick facts at the top of a project. A real description list, so screen readers pair each label with its value.

Career row

  1. Lounge UI/UX Designer · Lounge.com Jul 2020 → Jan 2022

Company, role, dates and mark. On the homepage, clicking anywhere on the row opens the company’s site, and the link says it opens in a new tab.

Content

Chapter

Context

Customers were left guessing

New customers waited in a ‘Get’ state until their broadband went live, so they picked up the phone.

How a project page tells its story: a label, a serif title, then a short muted paragraph.

Quote

  • 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.

    Linda Design Lead @ BT Group

A serif pull line from the quote, then the full quote and who said it. The pull line is hidden from screen readers, so nothing is read twice.

Big quote

Second opinion

“Stefan was always open to new ideas, but challenged them pragmatically.”

Paul Product Manager @ Plusnet

One quote per project, set large on the tinted surface.

Tick list

  • Calls during setup down from 18% to 8%
  • Satisfaction up from 3.49 to 4.7

Short results or rules. The → is drawn by CSS, so it isn’t read out.

Step number

A serif number in an outlined oval, for steps in a process. Decoration: the heading next to it carries the meaning.

Decision

Option A, not chosen: Show every step

Thorough, but the one update that matters gets lost in a long list of system jargon.

Option B, chosen: Latest update first

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, struck through, then the one chosen, like a code diff. It types in as you scroll. Screen readers hear “not chosen” and “chosen” in words.

Figure

A short caption says what the picture shows.

Pictures sit on the grey surface, in light and dark versions, with a short caption. Every one has a written description. This one’s a placeholder, drawn in the site’s tokens.

Media

Video controls

The video’s own controls: a real slider you can drag or move with the arrow keys, Play, Mute, Audio description (a toggle that reads each scene aloud) and Full screen. Here they run a pretend clock, with no video loaded.

09

Accessibility

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; }

  • ContrastEvery text colour passes in both themes: body text 21:1, muted text 5.6:1 light and 8.3:1 dark. Hairlines are decoration, never the only sign of anything.1.4.3 · 1.4.11
  • Focus you can seeA 2px ring in the text colour, 3px out, on everything you can tab to. The top bar is solid and the page scrolls with room under it, so focus is never hidden behind it.2.4.7 · 2.4.11
  • Keyboard firstSkip to content and Pause animations are the first two tab stops. Focus order follows what you see, and the pills use the arrow keys like any tab list.2.1.1 · 2.4.1 · 2.4.3
  • Motion you controlPause animations stops everything that moves and is remembered on every page. Reduce motion on your device does the same.2.2.2 · 2.3.3
  • Room to tapEvery target is at least 24 by 24px: buttons are 48px tall, pills 38px and the nav links 24px.2.5.8
  • Hover is a bonusThe dots react to a mouse, never to touch, and nothing needs hover to work: every hover effect is extra.1.4.13
  • Pictures and mediaEvery picture of work has a written description. The drawings are decoration and stay quiet. The video has a written version and an audio description.1.1.1 · 1.2.3 · 1.2.5
  • Told, not shownChanges like a new set of quotes are announced politely. Links that open a new tab say so, and the résumé link says it's a PDF.4.1.3 · 2.4.4
  • Fits any screenPages reflow down to 320px wide with no sideways scrolling, and text can be zoomed to 200%.1.4.4 · 1.4.10

10

Principles

  1. Tokens or nothing

    No one-off colours or text styles. If something needs a new value, it becomes a token first.

  2. Dark is for screens

    Dark mode follows your device or your choice. Printing, and the resume's PDF, are always on white paper.

  3. Hover follows the device

    A mouse gets hover at any window size. Touch never does, however big the screen.

  4. Motion is optional

    Everything still works, and still makes sense, with every animation turned off.

Say hi

Let’s talk about what’s next…

Or we can talk video games, golf or skateboarding :)