Design, before Any SoftwareLesson 71 of 74

Module 7 · Making the decision once

The afternoon version

In this lesson

  • 8 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 6 of 9 in this chapter

This chapter’s goalConvert a set of one-off screens into named tokens and a small component set, decide for any new element whether it is a variant of something existing or a new thing, specify every state a component can be in, and say at what point a project is large enough for the system to be worth its maintenance cost.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmWatch1:50Not available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 9Free · no account needed
Lesson steps

Most of the value, very little of the work

Published design systems are enormous because they come from companies with dedicated teams and thousands of screens. The version that helps a solo designer or a three-person team is about one per cent of that, and it takes an afternoon.

Here is the whole thing.

Step 1: the token file

One CSS file. No build step, no tooling, works everywhere.

CSS
:root {
  /* neutrals */
  --grey-50:  oklch(0.98 0.004 255);
  --grey-100: oklch(0.95 0.006 255);
  --grey-200: oklch(0.90 0.008 255);
  --grey-400: oklch(0.72 0.010 255);
  --grey-600: oklch(0.54 0.012 255);
  --grey-800: oklch(0.32 0.010 255);
  --grey-900: oklch(0.20 0.008 255);

  /* brand */
  --brand-300: oklch(0.75 0.12 255);
  --brand-500: oklch(0.55 0.18 255);
  --brand-700: oklch(0.42 0.16 255);

  /* semantic */
  --colour-text:       var(--grey-900);
  --colour-text-muted: var(--grey-600);
  --colour-surface:    white;
  --colour-raised:     var(--grey-50);
  --colour-border:     var(--grey-200);
  --colour-action:     var(--brand-500);
  --colour-danger:     oklch(0.52 0.19 28);

  /* space */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 1rem;
  --space-4: 1.5rem;  --space-5: 2rem;    --space-6: 3rem;

  /* type */
  --text-sm: 0.8125rem; --text-md: 1rem;
  --text-lg: 1.25rem;   --text-xl: 1.75rem; --text-2xl: 2.5rem;
  --leading-tight: 1.2; --leading-normal: 1.55;

  /* form */
  --radius-sm: 4px; --radius-md: 8px; --radius-full: 999px;
  --shadow-md: 0 4px 12px rgb(0 0 0 / 0.08);
  --dur-fast: 150ms; --ease-out: cubic-bezier(0.2, 0, 0, 1);
}

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Stuck on something?Ask Meher, your AI tutor

How to cite: Addaly (2026) ‘The afternoon version’, in Design, before Any Software. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/design-foundations/a-system-you-can-build-in-a-day (Accessed: 21 November 2026).