---
version: alpha
name: Context.dev
description: "Light interface measured from context.dev: rethinkSans type, vivid blue accents, tonal surfaces and 7.2px corners."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#000000"
  on-background: "#000000"
  on-surface-variant: "#4D4D4D"
  on-surface-muted: "#595959"
  on-surface-subtle: "#666666"
  surface-container-low: "#F7F8FA"
  surface-container: "#D1D5DC"
  overlay: "#2563EB1A"
  overlay-strong: "#FFFFFF1A"
  outline: "#00000026"
  outline-variant: "#E5E7EB"
  primary: "#2563EB"
  on-primary: "#FFFFFF"
  secondary: "#5182EF"
  tertiary: "#60A5FA"
  error: "#D97757"
  warning: "#FFBD2E"
  success: "#27C93F"
typography:
  headline-display:
    fontFamily: rethinkSans
    fontSize: 56px
    fontWeight: 400
    lineHeight: 1.08
    letterSpacing: -0.035em
  headline-lg:
    fontFamily: rethinkSans
    fontSize: 43px
    fontWeight: 400
    lineHeight: 1.25
  headline-md:
    fontFamily: rethinkSans
    fontSize: 39.5px
    fontWeight: 400
    lineHeight: 1.12
    letterSpacing: -0.035em
  headline-sm:
    fontFamily: rethinkSans
    fontSize: 29px
    fontWeight: 400
    lineHeight: 1.2
  title-lg:
    fontFamily: rethinkSans
    fontSize: 21.5px
    fontWeight: 400
    lineHeight: 1.3
  body-md:
    fontFamily: rethinkSans
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.3
  body-lg:
    fontFamily: rethinkSans
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.38
    letterSpacing: -0.02em
  body-sm:
    fontFamily: rethinkSans
    fontSize: 12.5px
    fontWeight: 400
    lineHeight: 1.3
  caption:
    fontFamily: rethinkSans
    fontSize: 11px
    fontWeight: 400
    lineHeight: 1.5
  label-md:
    fontFamily: rethinkSans
    fontSize: 14.5px
    fontWeight: 400
    lineHeight: 1.5
  headline-display-mobile:
    fontFamily: rethinkSans
    fontSize: 40px
    fontWeight: 400
    lineHeight: 1.1
    letterSpacing: -0.035em
  headline-md-mobile:
    fontFamily: rethinkSans
    fontSize: 32px
    fontWeight: 400
    lineHeight: 1.12
    letterSpacing: -0.035em
  title-lg-mobile:
    fontFamily: rethinkSans
    fontSize: 24px
    fontWeight: 400
    lineHeight: 1.3
rounded:
  md: 7.2px
  full: 9999px
spacing:
  xs: 3.6px
  sm: 7.2px
  md: 10.8px
  lg: 18px
  xl: 43.2px
  gutter: 10.8px
  section: 72px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: 10.8px
    padding: 0px
    height: 46px
  button-secondary:
    backgroundColor: "{colors.on-surface}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    padding: 10.8px 18px
    height: 42px
  button-tertiary:
    backgroundColor: "#222222"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.full}"
    padding: 0px 18px
    height: 38px
  button-ghost:
    textColor: "{colors.on-surface-variant}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.full}"
    padding: 7.2px 12.6px
  input-field:
    textColor: "{colors.on-surface}"
    rounded: 0px
    padding: 0px
  card:
    backgroundColor: "{colors.background}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: 0px
  link:
    textColor: "{colors.on-primary}"
---

# Context.dev Design System

## Overview

Context.dev describes itself as: “Context.dev is the web data API for AI agents: scrape any URL into LLM-ready Markdown, search the live web, crawl entire sites, and extract structured data with one REST API.” The interface is light, built on **White (#FFFFFF)** with **Near Black (#000000)** text, and **Vivid Blue (#2563EB)** as the main accent.

Type is set in **rethinkSans**. Headlines run large with tight negative tracking; body text is 16px. Depth comes from hairline borders and inset highlights rather than drop shadows. Corners are mostly 7.2px.

Measured from [context.dev](https://www.context.dev/) on October 24, 2026 at 1440×900 and 390×844 from 466 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 18 roles.

- **White (#FFFFFF):** Page background, seen 59 times. Token `background`.
- **Near Black (#000000):** Primary text and headings, seen 37 times. Token `on-surface`.
- **Slate (#4D4D4D):** Secondary text, seen 28 times. Token `on-surface-variant`, CSS `--color-fg-muted`.
- **Slate (#595959):** Muted text and metadata, seen 5 times. Token `on-surface-muted`.
- **Slate (#666666):** Subtle text and placeholders, seen 11 times. Token `on-surface-subtle`.
- **Snow (#F7F8FA):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Cool Silver (#D1D5DC):** Cards and panels, seen 8 times. Token `surface-container`.
- **Vivid Blue 10% (#2563EB1A):** Translucent fill for cards and controls, seen 17 times. Token `overlay`, CSS `--header-card-ring-color`.
- **White 10% (#FFFFFF1A):** Stronger translucent fill, seen 2 times. Token `overlay-strong`.
- **Near Black 15% (#00000026):** Borders and dividers, seen 11 times. Token `outline`.
- **Cool Mist (#E5E7EB):** Secondary dividers, seen 2 times. Token `outline-variant`.
- **Vivid Blue (#2563EB):** Brand color on large areas, seen 54 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Blue (#5182EF):** Brand color on large areas, seen 24 times. Token `secondary`.
- **Blue (#60A5FA):** Brand accent (CSS variable), seen 12 times. Token `tertiary`.
- **Red (#D97757):** Errors and destructive states, seen 1 time. Token `error`.
- **Vivid Amber (#FFBD2E):** Warnings and highlights, seen 1 time. Token `warning`.
- **Green (#27C93F):** Success and positive states, seen 1 time. Token `success`.

## Typography

**rethinkSans** carries the whole interface. Fallback stack: `rethinkSans, rethinkSans Fallback, system-ui, sans-serif`. Other loaded fonts: doto.

- **headline-display:** rethinkSans 56px at weight 400, line height 1.08, tracking -0.035em (40px on mobile). Page title (h1).
- **headline-lg:** rethinkSans 43px at weight 400, line height 1.25. Section headings (h2).
- **headline-md:** rethinkSans 39.5px at weight 400, line height 1.12, tracking -0.035em (32px on mobile). Sub-section headings.
- **headline-sm:** rethinkSans 29px at weight 400, line height 1.2. Card and feature titles.
- **title-lg:** rethinkSans 21.5px at weight 400, line height 1.3 (24px on mobile). Small titles.
- **body-md:** rethinkSans 16px at weight 400, line height 1.3. Body text.
- **body-lg:** rethinkSans 18px at weight 400, line height 1.38, tracking -0.02em. Lead paragraphs.
- **body-sm:** rethinkSans 12.5px at weight 400, line height 1.3. Secondary and small text.
- **caption:** rethinkSans 11px at weight 400, line height 1.5. Captions and fine print.
- **label-md:** rethinkSans 14.5px at weight 400, line height 1.5. Buttons, navigation and labels.

## Layout

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

- **Scale:** xs 3.6px, sm 7.2px, md 10.8px, lg 18px, xl 43.2px.
- **Sections:** 72px vertical padding between major sections.
- **Gaps:** 10.8px is the most common gap in flex and grid layouts.
- **Breakpoints:** 375px, 700px, 768px.

## Elevation & Depth

Depth comes mostly from hairline rings and inset highlights on tonal surfaces (#F7F8FA → #D1D5DC):

- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, oklab(0 0 0 / 0.1) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0) 0px 0px 0px 0px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, oklab(0 0 0 / 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0) 0px 0px 0px 0px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgb(255, 255, 255) 0px 0px 0px 2px, rgba(0, 0, 0, 0) 0px 0px 0px 0px`

A few raised panels add a soft drop shadow: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.08) 0px 1px 2px 0px, rgba(0, 0, 0, 0.04) 0px 1px 6px 0px`.

## Shapes

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

- **md (7.2px):** 412 elements.
- **full (9999px):** 32 elements.

## Components

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

- **button-primary (“Search”):** #2563EB fill, #FFFFFF text, 14.4px/400, 10.8px radius, padding 0px.
- **button-secondary (“Start for free”):** #000000 fill, #FFFFFF text, 14.4px/400, 3.35544e+07px radius, padding 10.8px 18px, border 1px solid #000000.
- **button-tertiary (“Start for free”):** #222222 fill, #FFFFFF text, 12.6px/400, 9999px radius, padding 0px 18px, border 1px solid #000000, shadow `rgba(0, 0, 0, 0.16) 0px 1px 2px 0px`.
- **button-ghost (“Products”):** transparent fill, #4D4D4D text, 12.6px/450, 9999px radius, padding 7.2px 12.6px.
- **input-field (“best headless browsers for scrap”):** transparent fill, #000000 text, 19px/700, padding 0px.
- **card:** #FFFFFF fill, #000000 text, 14.4px/400, 7.2px radius, padding 0px.
- **link:** transparent fill, #FFFFFF99 text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #F7F8FA, #D1D5DC.
- Do keep text in 4 levels: #000000, #4D4D4D, #595959, #666666.
- Do use #2563EB as the brand accent: header, logo and key highlights.
- Do set headlines in rethinkSans with tight tracking (-0.035em).
- Do reuse the measured spacing steps (7.2px, 10.8px, 18px).
- Do use 7.2px corners on most elements.
- Don't use heavy drop shadows; keep depth to hairline rings and tonal surfaces.
- Don't introduce new font families beyond rethinkSans.
- Don't use #2563EB for large backgrounds or body text.
- Don't make interface transitions slower than 0.45s.

## Motion

Interface transitions are quick: 0.2s, 0.15s, 0.4s, 0.16s. Longer ambient animations run 0.7s.

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

Generated by [Sitepeel](https://sitepeel.dev/design-md/context.dev/), the free DESIGN.md generator.
