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

Foundations

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.

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

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

  • XL--type-display-xl
  • L--type-display-l
  • M--type-display-m
  • 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

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

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

  • 1–3Nudges: an icon and its words, small groups

    • --space-1
    • --space-2
    • --space-3
  • 4–8Inside parts: the gutter, nav links, cards and rows

    • --space-4
    • --space-5
    • --space-6
    • --space-8
  • 10–16Inside panels, between groups, under a heading

    • --space-10
    • --space-12
    • --space-14
    • --space-16
  • 20–44Between blocks and sections

    • --space-20
    • --space-24
    • --space-30
    • --space-35
    • --space-44

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, 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” note

Motion

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

--easeMost movement: hovers, swaps, the career rows

Durations

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 scroll

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
  • Dot, off and onAudio description in the video controls: hollow while off, filled while on
  • Arrow →Tick lists on project pages: leads each line, in muted grey there

Skill icons

The “What I do” pills. Each moves while its pill is picked (here, all of them).

  • 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

Dots

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.

  • One sizeEvery picture uses the same spacing: whatever puts 213 dots across a work tile, so 6px apart at its widest. Phones (under 768px) use 2.3px.
  • The dotRound with a soft one-pixel edge, 0.8 of a space across, on a ground of small dots in the border colour. Every other ground dot on phones, so they don’t blur grey.
  • StirA moving mouse sweeps the dots near it along and out a little; they spring back with a small wobble. A still mouse leaves them be, and touch never stirs.
  • TravelOn hover or focus, the dots travel left to right into a second picture and take its colours; leaving sends them home. Out in 1.1s, home in 0.9s.
  • Still when askedWith Reduce motion or Pause animations, nothing stirs or travels: the two pictures just swap.
  • FallbackWithout WebGL or JavaScript, a screenshot of the dots at rest stands in. Retake it whenever the dot art changes.

02

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.

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

Actions

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.

Video button

A secondary button with the video’s length, read out in full. While open, it says “Close video”.

Text button

A quiet action. The icon turns on each click and is hidden from screen readers.

Icon and menu buttons

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.

Navigation and selection

Section strip

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.

Pills

Showing: Design Systems

A tab list: one tab stop, then the arrow keys. Picking one never moves anything.

Video description

Video description

A real details element under the video, so it works without script. Here only the + turns.

Text and data

Label and tag

Selected work

Design Systems

A label sits over a title; a tag names a kind of work.

Terminal lines

$ copied

The site’s dry aside, on the 404 page, the footer’s date and “copied”. Screen readers skip it.

Stats

  • 8%

    Of customers calling during setup, down from 18%

A project’s results. They count up once, as they come into view.

Facts row

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

A project’s quick facts, as a description list so each label pairs with its value.

Career row

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

The whole row opens the company’s site, and says it opens a new tab.

Content and media

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 pull line, then the full quote. 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 per project, 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 → isn’t read out.

Step number

For steps in a process. Decoration: the heading beside 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, then the one chosen, like a diff. Screen readers hear “not chosen” and “chosen”.

Figure

A short caption says what the picture shows.

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.

Video controls

A real slider (arrow keys work), Play, Mute, Audio description and Full screen. Here on a pretend clock.

03

Patterns

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.

Page shell

The top bar, the page, then the footer. Skip to content and Pause animations come first for the keyboard.

Page hero

How a project page, and this one, opens.

Chapter

Each step of a project’s story. A tinted one sits on the grey surface to stand apart.

Let’s talk

The close of every page but the homepage. The email button copies the address.

04

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. Printing, and the résumé’s PDF, are always on white paper.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. Everything still works, and still makes sense, with every animation off.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 bonusA mouse gets hover at any window size; touch never does, however big the screen. 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

Say hi

Let’s talk about what’s next…

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