---
version: alpha
name: System Design
description: "Light monochrome interface measured from designed-to-scale.vercel.app: system-ui type, tonal surfaces and pill-shaped controls."
colors:
  background: "#FAF3E9"
  surface: "#FAF3E9"
  on-surface: "#1D1B18"
  on-background: "#1D1B18"
  on-surface-variant: "#34302B"
  on-surface-muted: "#6F6961"
  on-surface-subtle: "#8B847A"
  surface-container-low: "#F8F0E6"
  surface-container: "#FBF7F1"
  surface-container-high: "#F4EBE0"
  surface-container-highest: "#DFF0DE"
  overlay: "#FAF5EEB3"
  outline: "#DDD3C5"
  outline-variant: "#B6AC9F"
  primary: "#1D1B18"
  on-primary: "#FFFFFF"
  secondary: "#7D241D"
typography:
  headline-display:
    fontFamily: JetBrains Mono
    fontSize: 30px
    fontWeight: 800
    lineHeight: 1.12
    letterSpacing: -0.015em
  code:
    fontFamily: JetBrains Mono
    fontSize: 13px
    fontWeight: 500
    lineHeight: 1.4
  headline-display-mobile:
    fontFamily: JetBrains Mono
    fontSize: 25px
    fontWeight: 800
    lineHeight: 1.12
    letterSpacing: -0.015em
rounded:
  sm: 3px
  md: 8px
  lg: 12px
  xl: 13px
  full: 9999px
spacing:
  xs: 2px
  sm: 5px
  md: 10px
  lg: 18px
  xl: 45.39px
  gutter: 10px
  margin: 25px
components:
  button-outline:
    backgroundColor: "#CFE3B2"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.md}"
    padding: 0px 24px
    height: 29px
  button-ghost:
    backgroundColor: "{colors.overlay}"
    textColor: "#8F887E"
    typography: "{typography.code}"
    rounded: 9px
    padding: 0px 7px 0px 12px
    height: 29px
  button-ghost-hover:
    backgroundColor: "#FFFCF7F2"
  card:
    backgroundColor: "#F7EFE4"
    textColor: "{colors.on-surface}"
    typography: "{typography.code}"
    rounded: "{rounded.lg}"
    padding: 0px 16px
  link:
    textColor: "{colors.primary}"
---

# System Design Design System

## Overview

System Design describes itself as: “An interactive system design course: each idea is an animated diagram you step through — load balancing, caching, sharding, consensus, queues and whole-system designs, from one server to millions of users.” The interface is light, built on **Warm Mist (#FAF3E9)** with **Charcoal (#1D1B18)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **system-ui**, with **JetBrains Mono** for code. Headlines run large with tight negative tracking; body text is compact. Depth comes from soft drop shadows. Controls are pill-shaped.

Measured from [designed-to-scale.vercel.app](https://designed-to-scale.vercel.app/) on November 21, 2026 at 1440×900 and 390×844 from 269 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 15 roles, plus gradient stops #B2D491CC.

- **Warm Mist (#FAF3E9):** Page background, seen 2 times. Token `background`.
- **Charcoal (#1D1B18):** Primary text and headings, seen 46 times. Token `on-surface`, CSS `--ink`.
- **Warm Graphite (#34302B):** Secondary text, seen 7 times. Token `on-surface-variant`, CSS `--ink-2`.
- **Warm Slate (#6F6961):** Muted text and metadata, seen 25 times. Token `on-surface-muted`, CSS `--muted`.
- **Warm Gray (#8B847A):** Subtle text and placeholders, seen 10 times. Token `on-surface-subtle`.
- **Pale Orange (#F8F0E6):** Raised areas one step from the page, seen 13 times. Token `surface-container-low`, CSS `--card`.
- **Warm Snow (#FBF7F1):** Cards and panels, seen 8 times. Token `surface-container`, CSS `--c-fbf7f1`.
- **Pale Orange (#F4EBE0):** Hover and pressed fills, seen 1 time. Token `surface-container-high`.
- **Pale Green (#DFF0DE):** Highest raised elements, seen 1 time. Token `surface-container-highest`.
- **Warm Snow 70% (#FAF5EEB3):** Translucent fill for cards and controls, seen 3 times. Token `overlay`, CSS `--a-9`.
- **Light Orange (#DDD3C5):** Borders and dividers, seen 6 times. Token `outline`.
- **Orange (#B6AC9F):** Secondary dividers, seen 3 times. Token `outline-variant`, CSS `--c-b6ac9f`.
- **Charcoal (#1D1B18):** Primary actions (the main text color; the palette is monochrome), seen 72 times. Token `primary`, CSS `--ink`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Dark Red (#7D241D):** Accent, seen 1 time. Token `secondary`, CSS `--c-7d241d`.

## Typography

**JetBrains Mono** (monospace) carries the whole interface. Fallback stack: `JetBrains Mono, ui-monospace, SFMono-Regular, Menlo`.

- **headline-display:** JetBrains Mono 30px at weight 800, line height 1.12, tracking -0.015em (25px on mobile). Page title (h1).
- **code:** JetBrains Mono 13px at weight 500, line height 1.4. Code and technical values.

## Layout

Spacing does not follow a strict grid: 22% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** xs 2px, sm 5px, md 10px, lg 18px, xl 45.39px.
- **Gaps:** 10px is the most common gap in flex and grid layouts.
- **Page margin:** 25px on each side of full-width sections.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(255, 255, 255, 0.65) 0px 1px 0px 0px inset, rgba(80, 60, 35, 0.06) 0px 1px 0px 0px, rgba(80, 60, 35, 0.35) 0px 10px 22px -16px`
- `rgb(52, 48, 43) 0px 1.5px 0px 0px`
- `rgba(255, 255, 255, 0.6) 0px 1px 0px 0px inset, rgb(52, 48, 43) 0px 1.5px 0px 0px`

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **md (8px):** 64 elements.
- **full (9999px):** 40 elements.
- **lg (12px):** 24 elements.
- **sm (3px):** 20 elements.
- **xl (13px):** 12 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-outline (“Learn”):** #CFE3B2 fill, #1D1B18 text, 14px/600, 8px radius, padding 0px 24px, shadow `rgba(255, 255, 255, 0.55) 0px 1px 0px 0px inset, rgb(29, 27, 24) 1.5px 2.5px 0px 0px`.
- **button-ghost (“Search lessons & concepts…”):** #FAF5EEB3 fill, #8F887E text, 13px/400, 9px radius, padding 0px 7px 0px 12px, border 1.16px solid #B6AC9F, shadow `rgba(255, 255, 255, 0.7) 0px 1px 0px 0px inset, rgba(80, 60, 35, 0.08) 0px 1px 0px 0px`.
- **button-ghost-hover:** background #FFFCF7F2, text #8F887E on hover.
- **card:** #F7EFE4 fill, #1D1B18 text, 13px/400, 12px radius, padding 0px 16px, border 1.16px solid #DDD3C5, shadow `rgba(255, 255, 255, 0.65) 0px 1px 0px 0px inset, rgba(80, 60, 35, 0.06) 0px 1px 0px 0px, rgba(80, 60, 35, 0.35) 0px 10px 22px -16px`.
- **link:** transparent fill, #1D1B18 text, padding 0px.

## Do's and Don'ts

- Do use #FAF3E9 for the page and lift surfaces in small steps: #F8F0E6, #FBF7F1, #F4EBE0, #DFF0DE.
- Do keep text in 4 levels: #1D1B18, #34302B, #6F6961, #8B847A.
- Do let contrast carry emphasis; primary actions use #1D1B18 on #FAF3E9.
- Do set headlines in system-ui with tight tracking (-0.015em).
- Do reuse the measured spacing steps (5px, 10px, 18px).
- Do make buttons and chips fully rounded (9999px); most other elements use 8px corners.
- Don't use #8B847A for body text; it reaches 3.36:1 on #FAF3E9. Keep it for large text or metadata.
- Don't introduce new font families beyond JetBrains Mono.
- Don't add saturated accent colors; the measured palette is almost entirely neutral.
- Don't make interface transitions slower than 0.45s.

## Motion

Interface transitions are quick: 0.3s, 0.15s, 0.4s, 0.45s.

- **Easing:** `ease`, `cubic-bezier(0.2, 0.7, 0.2, 1)`, `cubic-bezier(0.34, 1.56, 0.64, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/designed-to-scale.vercel.app/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
