# egghead.io design system

> egghead.io design system measured from egghead.io: 11 color hex codes, type scale, spacing and a free DESIGN.md. Light theme with 2px corners.

Canonical page: https://sitepeel.dev/design-md/egghead.io/

egghead.io’s website (egghead.io) uses the visitor’s system fonts on a #F9FAFB background. Measured by Sitepeel on November 29, 2026.

## What font does egghead.io use?

egghead.io uses the visitor’s system fonts on egghead.io: no web font was measured. Measured on November 29, 2026.

- system-ui (weights 400, 600, 700)

## egghead.io colors: palette and hex codes

egghead.io’s main colors are #F9FAFB (snow) for the background and #000000 (near black) for text, with #2563EB (vivid blue) as another accent. Measured on November 29, 2026.

- #F9FAFB: snow (rgb(249, 250, 251), hsl(210, 20%, 98%))
- #000000: near black (rgb(0, 0, 0), hsl(0, 0%, 0%))
- #111827: deep blue (rgb(17, 24, 39), hsl(221, 39%, 11%))
- #4B5563: dark blue (rgb(75, 85, 99), hsl(215, 14%, 34%))
- #6B7280: cool slate (rgb(107, 114, 128), hsl(220, 9%, 46%))
- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #F3F4F6: snow (rgb(243, 244, 246), hsl(220, 14%, 96%))
- #E5E7EB: cool mist (rgb(229, 231, 235), hsl(220, 13%, 91%))

## What is egghead.io built with?

egghead.io’s website (egghead.io) is built with Next.js, React, Headless UI, Tailwind CSS and Vercel. Measured on November 29, 2026.

- JavaScript framework: Next.js 15.5.28, React 19.2.0-canary-0bdb9206-2
- Analytics: PostHog
- Hosting & CDN: Vercel
- UI & CSS: Headless UI, Tailwind CSS 3.x

## Questions and answers

### What font does egghead.io use?

No web font was measured on egghead.io: it uses the visitor’s system fonts.

### What are the egghead.io colors and hex codes?

On egghead.io: #F9FAFB (snow) for the background and #000000 (near black) for text, with #2563EB (vivid blue) as another accent. The color palette above lists all 11 colors with their hex codes and where each one is used.

### What is the egghead.io design system?

The design system on this page is egghead.io’s, as measured on November 29, 2026: 2px corners, written down as a DESIGN.md. It is not egghead.io’s own documentation.

### What is egghead.io built with?

egghead.io’s website (egghead.io) is built with Next.js, React, Headless UI, Tailwind CSS and Vercel. The full tech stack Sitepeel found: Next.js, React, PostHog, Vercel, Headless UI and Tailwind CSS. Measured on November 29, 2026.

### What is the egghead.io DESIGN.md?

A plain-text file with egghead.io’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

### How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

### Is this egghead.io’s official design system?

No. Sitepeel measured it from egghead.io’s public page on November 29, 2026. It is an independent analysis, not made or approved by egghead.io.

### Can I use egghead.io’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy egghead.io’s logo, name, pictures or text.

### How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.

## Files

- [DESIGN.md](https://sitepeel.dev/design-md/egghead.io/DESIGN.md): the plain file to put in your project.
- [All brand DESIGN.md files](https://sitepeel.dev/design-md/examples/index.md)

Independent analysis by Sitepeel (sitepeel.dev), not affiliated with egghead.io.

## The DESIGN.md file

```markdown
---
version: alpha
name: egghead.io
description: "Light monochrome interface measured from egghead.io: system-ui type, tonal surfaces and 2px corners."
colors:
  background: "#F9FAFB"
  surface: "#F9FAFB"
  on-surface: "#000000"
  on-background: "#000000"
  on-surface-variant: "#111827"
  on-surface-muted: "#4B5563"
  on-surface-subtle: "#6B7280"
  surface-container-low: "#FFFFFF"
  outline: "#F3F4F6"
  outline-variant: "#E5E7EB"
  primary: "#000000"
  on-primary: "#FFFFFF"
  secondary: "#2563EB"
typography:
  headline-display:
    fontFamily: system-ui
    fontSize: 39px
    fontWeight: 700
    lineHeight: 1.1
  headline-lg:
    fontFamily: system-ui
    fontSize: 20px
    fontWeight: 600
    lineHeight: 1.5
  body-md:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-sm:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  label-md:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.25
  label-sm:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  headline-display-mobile:
    fontFamily: system-ui
    fontSize: 31px
    fontWeight: 700
    lineHeight: 1.1
rounded:
  sm: 2px
  md: 6px
  lg: 8px
spacing:
  xs: 4px
  sm: 8px
  md: 12px
  lg: 20px
  xl: 40px
  gutter: 8px
components:
  button-primary:
    textColor: "{colors.on-primary}"
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 0px 20px
    height: 58px
  button-outline:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "#374151"
    typography: "{typography.label-sm}"
    rounded: "{rounded.md}"
    padding: 8px 16px
    height: 38px
  button-outline-hover:
    backgroundColor: "{colors.background}"
  button-ghost:
    textColor: "#0A0F19"
    typography: "{typography.label-sm}"
    rounded: 0px
    padding: 0px 12px
  input-field:
    textColor: "#0A0F19"
    typography: "{typography.label-sm}"
    rounded: 0px
    padding: 0px
  card:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.lg}"
    padding: 24px 0px
  link:
    textColor: "{colors.primary}"
---

# egghead.io Design System

## Overview

egghead.io describes itself as: “Learn modern web development with expert-led courses, tutorials, and workshops. Master React, TypeScript, Next.js, AI tools like Claude Code and Cursor, and more with hands-on video lessons.” The interface is light, built on **Snow (#F9FAFB)** with **Near Black (#000000)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **system-ui**. Headlines run large; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 2px.

Measured from [egghead.io](https://egghead.io/) on November 29, 2026 at 1440×900 and 390×844 from 285 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 11 roles, plus gradient stops #2563EB, #3B82F6.

- **Snow (#F9FAFB):** Page background, seen 2 times. Token `background`.
- **Near Black (#000000):** Primary text and headings, seen 16 times. Token `on-surface`.
- **Deep Blue (#111827):** Secondary text, seen 30 times. Token `on-surface-variant`.
- **Dark Blue (#4B5563):** Muted text and metadata, seen 50 times. Token `on-surface-muted`.
- **Cool Slate (#6B7280):** Subtle text and placeholders, seen 19 times. Token `on-surface-subtle`.
- **White (#FFFFFF):** Raised areas one step from the page, seen 17 times. Token `surface-container-low`, CSS `--tw-ring-offset-color`.
- **Snow (#F3F4F6):** Borders and dividers, seen 7 times. Token `outline`.
- **Cool Mist (#E5E7EB):** Secondary dividers, seen 2 times. Token `outline-variant`.
- **Near Black (#000000):** Primary actions (the main text color; the palette is monochrome), seen 16 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Vivid Blue (#2563EB):** Accent, seen 1 time. Token `secondary`.

## Typography

**system-ui** carries the whole interface. Fallback stack: `ui-sans-serif, system-ui, sans-serif, Apple Color Emoji`.

- **headline-display:** system-ui 39px at weight 700, line height 1.1 (31px on mobile). Page title (h1).
- **headline-lg:** system-ui 20px at weight 600, line height 1.5. Section headings (h2).
- **body-md:** system-ui 16px at weight 400, line height 1.5. Body text.
- **body-sm:** system-ui 12px at weight 400, line height 1.33. Secondary and small text.
- **label-md:** system-ui 16px at weight 600, line height 1.25. Buttons, navigation and labels.
- **label-sm:** system-ui 14px at weight 400, line height 1.43. Small labels and badges.

## Layout

Spacing is mostly on a 4px grid (76% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 4px, sm 8px, md 12px, lg 20px, xl 40px.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Breakpoints:** 375px, 640px, 680px, 768px, 999px, 1024px, 1280px, 1440px, 1920px.

## Elevation & Depth

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

- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`

## Shapes

Most elements use 2px corners. Measured radii, most used first:

- **sm (2px):** 44 elements.
- **lg (8px):** 30 elements.
- **md (6px):** 4 elements.

## Components

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

- **button-primary (“Search egghead”):** transparent fill, #FFFFFF text, 16px/500, 0px 8px 8px 0px radius, padding 0px 20px.
- **button-outline (“Browse all courses”):** #FFFFFF fill, #374151 text, 14px/500, 6px radius, padding 8px 16px, border 1px solid #D1D5DB.
- **button-outline-hover:** background #F9FAFB, text #374151 on hover.
- **button-ghost (“Topics”):** transparent fill, #0A0F19 text, 14px/400, padding 0px 12px.
- **input-field (“Search”):** transparent fill, #0A0F19 text, 14px/400, padding 0px.
- **card:** #FFFFFF fill, #000000 text, 16px/400, 8px radius, padding 24px 0px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`.
- **link:** transparent fill, #000000 text, padding 0px.

## Do's and Don'ts

- Do use #F9FAFB for the page and lift surfaces in small steps: #FFFFFF.
- Do keep text in 4 levels: #000000, #111827, #4B5563, #6B7280.
- Do let contrast carry emphasis; primary actions use #000000 on #F9FAFB.
- Do reuse the measured spacing steps (8px, 12px, 20px).
- Do use 2px corners on most elements; larger surfaces also use 8px and 6px.
- Don't introduce new font families beyond system-ui.
- Don't add saturated accent colors; the measured palette is almost entirely neutral.
- Don't make interface transitions slower than 0.2s.

## Motion

Interface transitions are quick: 0.15s, 0.2s.

- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`, `cubic-bezier(0, 0, 0.2, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/egghead.io/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).

```
