Briefatto LabBriefatto Lab

DESIGN.md style file

Zed DESIGN.md for your coding agent

This is a free DESIGN.md for the Zed style: its colours, type, corner radii and spacing, extracted from the public site https://zed.dev in the format coding agents read before visual work. Put it at your project root and run npx briefatto-board install, and Claude Code, Codex, Cursor, Copilot, Gemini CLI or any coding agent follow it when they build UI.

Paste this into Claude Code, Codex, Cursor, Copilot, Gemini CLI or any coding agent. Your agent fetches the file and sets itself up.

prompt
Download https://briefatto.com/guides/zed-design-md/DESIGN.md and save it as DESIGN.md in the project root. Then run `npx briefatto-board install` and follow the Briefatto Board skill for all visual work in this project.

Download DESIGN.mdMarkdown version

Updated zed.dev4 pages captured

Specimen · tokens.jsonzed.dev

display · plexSerif · 26px / 400

Your product, in this style

body · writer · 14px / 400

A clear place for your next idea. Explore a thoughtful interface with familiar details.

Get startedLearn more

surface · card 0px · control 4px

Aa Bb Cc 0123

The quick brown fox jumps over the lazy dog

  • primary
  • background
  • surface
  • foreground
  • muted
  • border
  • on-primary

7 colours5 type roles2 radii6 spacing steps

Briefatto BoardFree and open source, Apache-2.0

Blind-tested against Impeccable, Taste Skill and Hallmark

Automated tests, green CI

Claude Code, Codex, Cursor, Copilot, Gemini CLI, Windsurf and any agent that reads AGENTS.md

Use it in 30 seconds

Or by hand:

  1. Save the file below as DESIGN.md in your project root. Download DESIGN.md
  2. Run npx briefatto-board install. It adds the skill and a block to AGENTS.md and CLAUDE.md.
  3. Ask your agent for UI. It reads DESIGN.md before visual work, and board check tests what it renders.
shell
npx briefatto-board install
npx briefatto-board check

Colours (7)

Every colour below was read from the rendered pages of https://zed.dev, 4 pages captured. The line under each shows where it was found.

  • primarylab(36.3314 31.1715 -81.0014)zed.dev/pricing at 1440×900
  • backgroundrgb(238, 231, 231)zed.dev/ at 1440×900
  • surfacergb(250, 250, 250)zed.dev/ at 1440×900
  • foregroundlab(2.75381 0 0)zed.dev/ at 1440×900
  • mutedrgb(88, 88, 90)zed.dev/ at 1440×900
  • borderrgb(223, 223, 224)zed.dev/ at 1440×900
  • on-primaryrgb(255, 255, 255)zed.dev/ at 1440×900

Contrast

  • muted on background5.82:1AA

Type, radii and spacing

Type

  • displayThe quick brown fox jumps over the lazy dogplexSerif · 26px / 1.25 · 400 · fallback shown
  • headingThe quick brown fox jumps over the lazy dogplexSerif · 26px / 1.25 · 400 · fallback shown
  • bodyThe quick brown fox jumps over the lazy dogwriter · 14px / 1.43 · 400 · fallback shown
  • actionThe quick brown fox jumps over the lazy dogwriter · 12px / 1.33 · 400 · fallback shown

Corner radii

  • 4pxcontrolzed.dev/ at 1440×900
  • 0pxcard

Spacing

  • 4pxxs
  • 8pxsm
  • 16pxmd
  • 24pxlg
  • 32pxxl
  • 48pxsection

A card made from this file

Sample card rendered from the Zed DESIGN.md: its background and text colours, font pairing and corner radius applied to a heading, a paragraph and a button.
A sample card rendered from the tokens in this file.

The full DESIGN.md

Download DESIGN.md170 lines of Markdown

DESIGN.md
---
version: alpha
name: "Zed"
description: "Zed's colours, type, radii, spacing and components as DESIGN.md tokens. Not affiliated with Zed."
colors:
  primary: "lab(36.3314 31.1715 -81.0014)"
  background: "rgb(238, 231, 231)"
  surface: "rgb(250, 250, 250)"
  foreground: "lab(2.75381 0 0)"
  muted: "rgb(88, 88, 90)"
  border: "rgb(223, 223, 224)"
  on-primary: "rgb(255, 255, 255)"
typography:
  display:
    fontFamily: 'plexSerif, "plexSerif Fallback"'
    fontSize: 25.6px
    fontWeight: 390
    lineHeight: 1.25
    letterSpacing: 0em
  display-mobile:
    fontFamily: 'plexSerif, "plexSerif Fallback"'
    fontSize: 25.6px
    fontWeight: 390
    lineHeight: 1.25
    letterSpacing: 0em
  heading:
    fontFamily: 'plexSerif, "plexSerif Fallback"'
    fontSize: 25.6px
    fontWeight: 390
    lineHeight: 1.25
    letterSpacing: 0em
  body:
    fontFamily: 'writer, "writer Fallback"'
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
    letterSpacing: 0em
  action:
    fontFamily: 'writer, "writer Fallback"'
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
    letterSpacing: 0em
rounded:
  control: 4px
  card: 0px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 32px
  section: 48px
components:
  primary-button:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    rounded: "{rounded.control}"
  card:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.foreground}"
    rounded: "{rounded.card}"
    padding: "{spacing.lg}"
    typography: "{typography.body}"
  caption:
    textColor: "{colors.muted}"
  separator:
    backgroundColor: "{colors.border}"
---

# Zed DESIGN.md

## Overview

An editorial developer-tool site combines warm paper-like surfaces, small serif headings, monospaced supporting text, fine technical grids, and sharply framed product actions. Its current company homepage presents multiple products rather than a single oversized editor pitch.

Built from [/](https://zed.dev/) and [/pricing](https://zed.dev/pricing), captured on 2026-11-21 UTC at 1440×900 and 390×844. The front matter holds the computed values as portable tokens.

## Colors

| Token | Computed value | Role |
| --- | --- | --- |
| primary | `lab(36.3314 31.1715 -81.0014)` | Priority actions and selected emphasis |
| background | `rgb(238, 231, 231)` | Page canvas |
| surface | `rgb(250, 250, 250)` | Panels and cards |
| foreground | `lab(2.75381 0 0)` | Primary text |
| muted | `rgb(88, 88, 90)` | Supporting text |
| border | `rgb(223, 223, 224)` | Quiet separators and outlines |
| on-primary | `rgb(255, 255, 255)` | Text on the primary action |

Use paper tones, near-black text, and the Zed blue action signal for the editor context. The homepage also presents Delta with a separate red identity; keep that product accent distinct rather than blending red and blue indiscriminately. Alpha colors retain the captured opacity and must be composited over the intended background.

## Typography

| Role | First family | Size | Weight | Leading | Tracking |
| --- | --- | --- | --- | --- | --- |
| display | plexSerif | 25.6px | 390 | 1.25 | 0em |
| display-mobile | plexSerif | 25.6px | 390 | 1.25 | 0em |
| heading | plexSerif | 25.6px | 390 | 1.25 | 0em |
| body | writer | 14px | 400 | 1.43 | 0em |
| action | writer | 12px | 400 | 1.33 | 0em |

Keep display, reading, and action roles distinct. The heading sample is the recurring section role, while display records the first prominent headline. Use the mobile display value at narrow widths; allow natural line wrapping and preserve the reading measure. The display transformation is `none` and its font style is `normal`; preserve these in CSS.

Font loading:

```css
@font-face { font-family: writer; src: url("https://zed.dev/_next/static/media/iAWriterQuattroS_Regular-s.p.3c4k0xaq54g87.woff2") format("woff2"); font-display: swap; font-weight: 400; font-style: normal; }
@font-face { font-family: writer; src: url("https://zed.dev/_next/static/media/iAWriterQuattroS_Italic-s.p.1u_8o2prgvf9l.woff2") format("woff2"); font-display: swap; font-weight: 400; font-style: italic; }
@font-face { font-family: writer; src: url("https://zed.dev/_next/static/media/iAWriterQuattroS_Bold-s.p.3--jbvwxe31d9.woff2") format("woff2"); font-display: swap; font-weight: 700; font-style: normal; }
@font-face { font-family: writer; src: url("https://zed.dev/_next/static/media/iAWriterQuattroS_BoldItalic-s.p.0d61w09qncs_3.woff2") format("woff2"); font-display: swap; font-weight: 700; font-style: italic; }
@font-face { font-family: plexSerif; src: url("https://zed.dev/_next/static/media/IBMPlexSerif_Var-s.p.0gdo7oqri9smw.woff2") format("woff2"); font-display: swap; font-weight: 300 700; font-style: normal; }
@font-face { font-family: plexSerif; src: url("https://zed.dev/_next/static/media/IBMPlexSerif_Var_Italic-s.p.03ivqla8dchl7.woff2") format("woff2"); font-display: swap; font-weight: 300 700; font-style: italic; }
@font-face{font-family:writer;src:url("https://zed.dev/_next/static/media/iAWriterQuattroS_Regular-s.p.3c4k0xaq54g87.woff2")format("woff2");font-display:swap;font-weight:400;font-style:normal}
@font-face{font-family:writer;src:url("https://zed.dev/_next/static/media/iAWriterQuattroS_Italic-s.p.1u_8o2prgvf9l.woff2")format("woff2");font-display:swap;font-weight:400;font-style:italic}
@font-face{font-family:writer;src:url("https://zed.dev/_next/static/media/iAWriterQuattroS_Bold-s.p.3--jbvwxe31d9.woff2")format("woff2");font-display:swap;font-weight:700;font-style:normal}
@font-face{font-family:writer;src:url("https://zed.dev/_next/static/media/iAWriterQuattroS_BoldItalic-s.p.0d61w09qncs_3.woff2")format("woff2");font-display:swap;font-weight:700;font-style:italic}
@font-face{font-family:plexSerif;src:url("https://zed.dev/_next/static/media/IBMPlexSerif_Var-s.p.0gdo7oqri9smw.woff2")format("woff2");font-display:swap;font-weight:300 700;font-style:normal}
@font-face{font-family:plexSerif;src:url("https://zed.dev/_next/static/media/IBMPlexSerif_Var_Italic-s.p.03ivqla8dchl7.woff2")format("woff2");font-display:swap;font-weight:300 700;font-style:italic}
```

The full fallback stacks are in the front matter.

## Layout

Use a restrained company masthead and aligned product introductions with serif titles and compact technical descriptions. The pricing route adds a consistent navigation scaffold, centered introduction, comparable plan columns, and fine grid framing; mobile stacks the product and plan sections.

Spacing scale: xs 4px, sm 8px, md 16px, lg 24px, xl 32px, section 48px. Use smaller steps within a control and larger steps between content groups.

The sampled header is sticky, 57px high, with 0px left and 0px right padding. The sampled nav is relative, 56px high, with 14px left and 12px right padding.

Measured desktop grid tracks: `373.328px 373.328px 373.344px` with gap `normal`; `157.328px 157.328px 157.328px 157.344px 157.328px 157.328px` with gap `16px`; `504px 504px` with gap `16px`. Build them as a fluid grid. Sampled container maximum widths: `1080px`, `512px`.

At narrow widths, keep the content order, let columns stack, wrap action groups, and give navigation a compact treatment. Recreate the observed desktop and mobile differences, with breakpoints chosen for your layout.

## Elevation & Depth

The sampled surface shadow is `rgb(5, 55, 148) 0px -2px 0px 0px inset, rgb(230, 239, 254) 0px 1px 3px 0px`. Keep most reading surfaces quiet. Use borders and surface contrast for grouping; reserve stronger depth for floating controls or intentional feature panels.

## Shapes

Controls use `4px`; the reusable card treatment uses `0px`. Keep corner geometry consistent within each component family. Do not automatically apply the card radius to every image, badge, or full-width section.

## Components

Use compact rectangular actions, thin outlined companions, small technical labels, quiet plan boundaries, and a deliberate serif/monospace contrast. Avoid inflated pill geometry or heavy floating-card shadows.

- **Primary and secondary actions:** use primary/on-primary for the priority action and a surface/foreground or outlined treatment for the supporting action. The sampled action has height 36px, horizontal padding 10px / 6px, and gap 6px. Keep labels short and allow enough hit area for touch.
- **Cards:** group one heading, supporting text, and a clear next step. Preserve the hierarchy and spacing; avoid making every element a nested card.
- **Navigation:** retain the captured information hierarchy and distinguish navigation links from the main call to action. Provide a visible keyboard focus treatment.
- **Forms:** the sampled field uses height 1px, radius 0px, background rgb(255, 255, 255), and border 0px lab(44.0605 29.0279 -86.0352). Add persistent labels, useful errors, and clear disabled/focus states.

**Imagery and iconography.** Use original editor-like diagrams, restrained grids, and neutral code specimens. The subtle paper/technical atmosphere can be suggested with original CSS geometry; do not copy product screenshots or marks.

**Motion.** No non-zero transition was exposed in the sampled component styles. Static screenshots do not establish entrance choreography, hover behavior, or video timing. Use restrained feedback and respect reduced-motion preferences.

**Voice.** Direct, specific, and comfortable with developer terminology.

## Do's and Don'ts

- Do preserve the palette roles, type hierarchy, and relationship between dense controls and larger section spacing.
- Do keep content readable at both captured widths and provide focus, error, loading, and reduced-motion behavior for any new interface.
- Do use simple geometric placeholders for imagery.
- Don't reproduce the logo, brand illustrations, product screenshots, or marketing text.
- Don't let added decoration compete with the site's defining typography, content rhythm, and action hierarchy.

---

Made with [Briefatto Board](https://github.com/Briefatto/briefatto-board). Run `npx briefatto-board install` and your coding agent reads this file before visual work and checks every piece it renders.

Questions and answers

What is the Zed DESIGN.md?

A style file extracted from the public website of Zed (https://zed.dev), free to use for your own product.

How do I use it with Claude Code / Cursor?

Save the file as DESIGN.md in your project root and run npx briefatto-board install. That adds a block to AGENTS.md and CLAUDE.md, which Claude Code, Codex, Cursor, Copilot, Gemini CLI and other agents read, telling the agent to read DESIGN.md before any visual work. Run board check on what it renders.

Can I change it to my own brand?

Yes. It is a plain Markdown file: replace the colours, fonts, radii and spacing with your own, or run npx briefatto-board adopt . on your own site and let the agent write yours. Then freeze it with npx briefatto-board freeze . so every session uses the same version.

Where do the values in the Zed file come from?

Each colour, font, radius and spacing value was read from the rendered pages of https://zed.dev (4 pages captured) on 2026-11-21, and the evidence for each is listed on this page.

One guide. Every agent.

Briefatto Board is free and open source under Apache-2.0. One command adds the skill and the pointer your agent reads.

npx briefatto-board install