Zed

Zed, code-editor, clean

Preview image. Unlock full-res

precision-engineered dark mode text editor

Palette
#1348dc
#2b7fff
#464b57
#8ec5ff
#bedbff
#74ade8
#5d636f
#a1c181
#d07277
#dec184
#e5e7eb
#3a3d43

Color palette

brand
Midnight Blue
#1348dc

Primary brand color for prominent headings, active links, and key interactive elements. Conveys a sense of depth and authority.

Sky Blue
#2b7fff

Illustrative fill and stroke color, often seen in abstract graphics or larger UI elements. Provides a brighter contrast to Midnight Blue.

Iceberg Blue
#8ec5ff

Button states, secondary accents, and illustrative fills. Provides a lighter, more interactive shade of blue.

Pale Arctic
#bedbff

Subtle borders and background tints for UI elements, offering a very light blue accent.

Cerulean Haze
#74ade8

Secondary text in body, icons, and less prominent interactive states. A mid-tone blue that supports the primary brand colors.

accent
Accent Blue Shadow
#053794

Shadow color for subtle elevation, indicating interactive elements like navigation items. A darker, desaturated blue.

neutral
Deep Harbor
#464b57

Dark primary text, button text on lighter backgrounds, and subtle borders. Forms the backbone of the typographic hierarchy.

Carbon Gray
#5d636f

Subtle text, navigation items, and icon strokes. A darker gray for less prominent semantic information.

Page Background
#e5e7eb

Default page background. A very light, almost achromatic off-white providing a clean canvas.

Off-Black Text
#3a3d43

Primary body text color throughout the site. Provides clear contrast against lighter backgrounds.

Medium Gray
#b2b5bb

Secondary text, subtle borders, and less prominent buttons. A mid-tone gray for supporting information.

Light Gray Border
#cccfd3

Subtle borders, dividers, and background tints for UI elements. Creates clear separation without harsh lines.

White Surface
#ffffff

Card backgrounds, elevated UI surfaces, and some button fills. Provides maximum contrast and a clean modern feel.

Dark Editor Surface
#282c33

Dark mode background for the embedded code editor. A very dark, almost black surface.

Input Background
#f4f4f2

Subtle background for input fields, providing slight differentiation from the page background.

semantic
Pine Green
#a1c181

Semantic positive indicators and specific body text highlights. Infrequent use provides impact.

Rosewood Red
#d07277

Semantic warning or error indicators, and selected body text elements. Offers a warm contrast.

Golden Ochre
#dec184

Amber accents for specific body text, icons, warning states, and occasional backgrounds. Reserved for highlights.

Typography

Type scale
display48px · 1.1 · -0.96px
The quick brown fox jumps over the lazy dog
heading26px · 1.25 · -0.52px
The quick brown fox jumps over the lazy dog
caption10px · 1.1 · -0.25px
The quick brown fox jumps over the lazy dog
Writer
Weights
400
Sizes
10px, 11px, 12px, 13px, 14px, 16px
Line height
1.1, 1.33, 1.43, 1.5, 1.71
Letter spacing
-0.0250em
Fallback
Inter

The primary font for body text, button labels, and general UI elements. Its relatively tight letter-spacing at all sizes enhances readability for dense code-editor-like content.

Zed Mono
Weights
400
Sizes
10px, 11px, 12px, 24px
Line height
1.33, 1.5, 1.67, 2
Letter spacing
0.0500em
Fallback
IBM Plex Mono

A monospaced font used for code blocks, input fields, and specific technical UI elements. Its wider letter-spacing provides clear distinction from the main body text, mimicking a terminal or editor environment.

Plex Serif
Weights
340, 400
Sizes
13px, 14px, 15px, 17px, 26px, 48px
Line height
1.1, 1.2, 1.25, 1.43, 1.5
Letter spacing
-0.0200em
Fallback
IBM Plex Serif

Primarily used for page headings and subheadings. The delicate weight 340 for larger sizes provides an elegant, approachable feel contrasting with the functional monospaced and sans-serif fonts, softening the overall technical aesthetic.

ui-monospace
Weights
400, 700
Sizes
11px, 12px
Line height
1, 1.33, 1.43
Letter spacing
-0.0320em
Fallback
Menlo

System monospaced font used for specific navigation or technical context where compact, crisp text is required. Its very tight letter-spacing prioritizes information density.

Spacing & shape

Spacing
Section gap64px
Radius
Default2px
Buttons2px
Cards2px

Components

CTA Button Group
Feature Cards
Stat Block — Open Source Metrics
Primary Navigation LinkInteractive element in the main header.

Text in Writer font, weight 400, color Off-Black Text (#3a3d43). On hover, it shows a subtle bottom border or background change, occasionally with a box-shadow of rgb(5, 55, 148) 0px -2px 0px 0px inset, rgb(230, 239, 254) 0px 1px 3px 0px for active states.

Secondary Ghost ButtonSubtle call to action or supplementary action.

Text color rgb(0, 0, 0), no background, no border, with 4px border-radius. Padding of 0px top/bottom, 8px right, 10px left. Very subtle, almost link-like.

Brand Secondary Button (Light)Prominent but not primary action.

Background color oklab(0.999994 0.0000455677 0.0000200868 / 0.6) (essentially a very light, desaturated blue), text color oklch(0.359228 0.010478 262.86) (a deep indigo-gray). 4px border-radius, 10px padding all around. Has a subtle oklch(0.852786 0.00594737 262.86) (light indigo-gray) top border.

Dark Code Block ButtonInteractive elements within the dark-themed code editor preview.

Background color rgb(46, 52, 62) (a dark slate), text color rgb(220, 224, 229) (a light gray). 2px border-radius, no padding defined, indicating tight internal spacing or inherited context. Has a rgb(70, 75, 87) border.

Navigation Context Button (Dark Text)Navigation or contextual actions within a darker UI section.

No background, text color rgb(220, 224, 229) (light gray). No border or padding, often takes on the appearance of a focused textual element within an interactive zone with a oklch(0.928 0.006 264.531) (pale indigo-gray) border.

Code Input FieldUsed for user input in code-related contexts.

Transparent background, text color rgb(220, 224, 229) (light gray), no border. 0px border-radius, and 4px padding on all sides. Uses Zed Mono font for input.

Feature CardShowcasing individual product features.

Card background is White Surface (#ffffff), with text in Off-Black Text (#3a3d43). Padding of 16px to 24px and a 2px border-radius. Features a subtle inset shadow rgba(111, 123, 144, 0.05) 0px -2px 0px 0px for visual depth. The content within has tight spacing, typically 6px row gap.

Code Editor FrameVisual container for the embedded code editor preview.

Background color Dark Editor Surface (#282c33). Features box-shadow rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px for a distinct elevated appearance. Interior content uses Zed Mono typography.

Guidelines

Do
  • Use Midnight Blue (#1348dc) for all primary calls to action, prominent links, and main interactive button states.
  • Employ the 2px border-radius consistently across all interactive elements, cards, and image containers, giving a subtle but unified crispness.
  • Maintain a clear visual hierarchy by utilizing Plex Serif weight 340 for major headings and Writer weight 400 for all body text.
  • Apply specific letter-spacing: -0.0250em for Writer font to optimize readability for dense UI, and 0.0500em for Zed Mono to distinguish code/technical text.
  • Use Page Background (#e5e7eb) as the canvas for most content sections, ensuring a clean and bright base.
  • Incorporate subtle inset box-shadows (e.g., rgba(111, 123, 144, 0.1) 0px -2px 0px 0px inset) on interactive elements or cards to create depth without heavy drop shadows.
  • Limit the use of saturated colors like Pine Green (#a1c181), Rosewood Red (#d07277), and Golden Ochre (#dec184) to semantic indicators or specific highlights to maximize their impact.
Don’t
  • Do not introduce strong drop shadows; rely on the subtle inset shadows or lighter elevated box-shadows.
  • Avoid large, ornate typography. The design prioritizes small, precise text with generous line heights over oversized headlines.
  • Do not use generic system fonts where custom fonts Writer, Zed Mono, or Plex Serif are specified, as their unique letter-spacing and weights are crucial to the brand identity.
  • Refrain from using heavily saturated background colors for content sections; stick to the neutral scale and slight blue tints.
  • Do not apply rounded corners greater than 2px to general UI elements, as this contradicts the overall crisp, engineered aesthetic.
  • Avoid cluttering layouts with excessive elements; maintain generous elementGap (6px, 10px, 12px) and sectionGap (64px) for clear information separation.
  • Do not use more than two saturated brand colors prominently in any single view, to keep the focus on clarity and code editor aesthetic.

About this system

Show

Zed's visual design evokes the quiet confidence of precision engineering, much like a well-crafted mechanical keyboard. A primary palette of cool blues and grays, accented by vibrant UI indicators, creates a focused, high-performance atmosphere. The interplay of crisp, small typography and generous negative space ensures clarity, allowing the powerful functionality of the editor to take center stage.

Layout

The page primarily uses a max-width contained layout, approximately 1200px, centered on a light Page Background (#e5e7eb). The hero section is centered with a prominent headline and call-to-action buttons. Content sections often alternate between wide, full-width blocks and narrower, centered content divisions. There's a consistent vertical rhythm, with sections separated by significant sectionGap (64px). Text-heavy sections frequently use a 2-column layout or a single centered column. Feature descriptions often employ a 3-column grid for overview. Embedded code editor previews are typically wide, visually striking blocks. The navigation is a sticky top bar with clearly defined interactive elements.

Imagery

The site's visual language is a blend of product screenshots, user avatars, and abstract, geometric line-art illustrations. Product screenshots are typically high-fidelity captures of the Zed editor in a dark mode theme, shown in context or isolated as compelling visuals. They are often full-bleed or centrally placed, occupying significant visual real estate to showcase the UI. User avatars are small, circular, and appear in grids to convey community and social proof. Abstract illustrations are sparse, utilize thin linework, and soft blue fills (e.g., Sky Blue #2b7fff), serving a decorative atmospheric role without distracting from the UI. There's a notable absence of lifestyle photography. The overall density is balanced, with imagery serving as key focal points amidst text-heavy sections, acting as explanatory content and product showcase.

Reminiscent of VS Code, Linear, Superhuman, Vercel, Raycast.

# Zed — Style Reference
> precision-engineered dark mode text editor

**Theme:** light

**Site:** https://zed.dev

Zed's visual design evokes the quiet confidence of precision engineering, much like a well-crafted mechanical keyboard. A primary palette of cool blues and grays, accented by vibrant UI indicators, creates a focused, high-performance atmosphere. The interplay of crisp, small typography and generous negative space ensures clarity, allowing the powerful functionality of the editor to take center stage.

## Tokens — Colors

| Name | Value | Token | Role |
|------|------|------|------|
| Midnight Blue | `#1348dc` | `--color-midnight-blue` | Primary brand color for prominent headings, active links, and key interactive elements. Conveys a sense of depth and authority. |
| Sky Blue | `#2b7fff` | `--color-sky-blue` | Illustrative fill and stroke color, often seen in abstract graphics or larger UI elements. Provides a brighter contrast to Midnight Blue. |
| Iceberg Blue | `#8ec5ff` | `--color-iceberg-blue` | Button states, secondary accents, and illustrative fills. Provides a lighter, more interactive shade of blue. |
| Pale Arctic | `#bedbff` | `--color-pale-arctic` | Subtle borders and background tints for UI elements, offering a very light blue accent. |
| Cerulean Haze | `#74ade8` | `--color-cerulean-haze` | Secondary text in body, icons, and less prominent interactive states. A mid-tone blue that supports the primary brand colors. |
| Accent Blue Shadow | `#053794` | `--color-accent-blue-shadow` | Shadow color for subtle elevation, indicating interactive elements like navigation items. A darker, desaturated blue. |
| Deep Harbor | `#464b57` | `--color-deep-harbor` | Dark primary text, button text on lighter backgrounds, and subtle borders. Forms the backbone of the typographic hierarchy. |
| Carbon Gray | `#5d636f` | `--color-carbon-gray` | Subtle text, navigation items, and icon strokes. A darker gray for less prominent semantic information. |
| Page Background | `#e5e7eb` | `--color-page-background` | Default page background. A very light, almost achromatic off-white providing a clean canvas. |
| Off-Black Text | `#3a3d43` | `--color-off-black-text` | Primary body text color throughout the site. Provides clear contrast against lighter backgrounds. |
| Medium Gray | `#b2b5bb` | `--color-medium-gray` | Secondary text, subtle borders, and less prominent buttons. A mid-tone gray for supporting information. |
| Light Gray Border | `#cccfd3` | `--color-light-gray-border` | Subtle borders, dividers, and background tints for UI elements. Creates clear separation without harsh lines. |
| White Surface | `#ffffff` | `--color-white-surface` | Card backgrounds, elevated UI surfaces, and some button fills. Provides maximum contrast and a clean modern feel. |
| Dark Editor Surface | `#282c33` | `--color-dark-editor-surface` | Dark mode background for the embedded code editor. A very dark, almost black surface. |
| Input Background | `#f4f4f2` | `--color-input-background` | Subtle background for input fields, providing slight differentiation from the page background. |
| Pine Green | `#a1c181` | `--color-pine-green` | Semantic positive indicators and specific body text highlights. Infrequent use provides impact. |
| Rosewood Red | `#d07277` | `--color-rosewood-red` | Semantic warning or error indicators, and selected body text elements. Offers a warm contrast. |
| Golden Ochre | `#dec184` | `--color-golden-ochre` | Amber accents for specific body text, icons, warning states, and occasional backgrounds. Reserved for highlights. |

## Tokens — Typography

### Writer
- **Substitute:** Inter
- **Weights:** 400
- **Sizes:** 10px, 11px, 12px, 13px, 14px, 16px
- **Line height:** 1.1, 1.33, 1.43, 1.5, 1.71
- **Letter spacing:** -0.0250em
- **Role:** The primary font for body text, button labels, and general UI elements. Its relatively tight letter-spacing at all sizes enhances readability for dense code-editor-like content.

### Zed Mono
- **Substitute:** IBM Plex Mono
- **Weights:** 400
- **Sizes:** 10px, 11px, 12px, 24px
- **Line height:** 1.33, 1.5, 1.67, 2
- **Letter spacing:** 0.0500em
- **Role:** A monospaced font used for code blocks, input fields, and specific technical UI elements. Its wider letter-spacing provides clear distinction from the main body text, mimicking a terminal or editor environment.

### Plex Serif
- **Substitute:** IBM Plex Serif
- **Weights:** 340, 400
- **Sizes:** 13px, 14px, 15px, 17px, 26px, 48px
- **Line height:** 1.1, 1.2, 1.25, 1.43, 1.5
- **Letter spacing:** -0.0200em
- **Role:** Primarily used for page headings and subheadings. The delicate weight 340 for larger sizes provides an elegant, approachable feel contrasting with the functional monospaced and sans-serif fonts, softening the overall technical aesthetic.

### ui-monospace
- **Substitute:** Menlo
- **Weights:** 400, 700
- **Sizes:** 11px, 12px
- **Line height:** 1, 1.33, 1.43
- **Letter spacing:** -0.0320em
- **Role:** System monospaced font used for specific navigation or technical context where compact, crisp text is required. Its very tight letter-spacing prioritizes information density.

## Tokens — Type Scale

| Role | Size | Line height | Letter spacing |
|------|------|------|------|
| caption | 10px | 1.1 | -0.25px |
| heading | 26px | 1.25 | -0.52px |
| display | 48px | 1.1 | -0.96px |

## Tokens — Spacing

- **Section gap:** 64px

## Tokens — Radius

- **Default:** 2px
- **Buttons:** 2px
- **Cards:** 2px

## Layout

The page primarily uses a max-width contained layout, approximately 1200px, centered on a light Page Background (#e5e7eb). The hero section is centered with a prominent headline and call-to-action buttons. Content sections often alternate between wide, full-width blocks and narrower, centered content divisions. There's a consistent vertical rhythm, with sections separated by significant sectionGap (64px). Text-heavy sections frequently use a 2-column layout or a single centered column. Feature descriptions often employ a 3-column grid for overview. Embedded code editor previews are typically wide, visually striking blocks. The navigation is a sticky top bar with clearly defined interactive elements.

## Imagery

The site's visual language is a blend of product screenshots, user avatars, and abstract, geometric line-art illustrations. Product screenshots are typically high-fidelity captures of the Zed editor in a dark mode theme, shown in context or isolated as compelling visuals. They are often full-bleed or centrally placed, occupying significant visual real estate to showcase the UI. User avatars are small, circular, and appear in grids to convey community and social proof. Abstract illustrations are sparse, utilize thin linework, and soft blue fills (e.g., Sky Blue #2b7fff), serving a decorative atmospheric role without distracting from the UI. There's a notable absence of lifestyle photography. The overall density is balanced, with imagery serving as key focal points amidst text-heavy sections, acting as explanatory content and product showcase.

## Components

### CTA Button Group

### Feature Cards

### Stat Block — Open Source Metrics

### Primary Navigation Link
*Interactive element in the main header.*

Text in Writer font, weight 400, color Off-Black Text (#3a3d43). On hover, it shows a subtle bottom border or background change, occasionally with a box-shadow of rgb(5, 55, 148) 0px -2px 0px 0px inset, rgb(230, 239, 254) 0px 1px 3px 0px for active states.

### Secondary Ghost Button
*Subtle call to action or supplementary action.*

Text color rgb(0, 0, 0), no background, no border, with 4px border-radius. Padding of 0px top/bottom, 8px right, 10px left. Very subtle, almost link-like.

### Brand Secondary Button (Light)
*Prominent but not primary action.*

Background color oklab(0.999994 0.0000455677 0.0000200868 / 0.6) (essentially a very light, desaturated blue), text color oklch(0.359228 0.010478 262.86) (a deep indigo-gray). 4px border-radius, 10px padding all around. Has a subtle oklch(0.852786 0.00594737 262.86) (light indigo-gray) top border.

### Dark Code Block Button
*Interactive elements within the dark-themed code editor preview.*

Background color rgb(46, 52, 62) (a dark slate), text color rgb(220, 224, 229) (a light gray). 2px border-radius, no padding defined, indicating tight internal spacing or inherited context. Has a rgb(70, 75, 87) border.

### Navigation Context Button (Dark Text)
*Navigation or contextual actions within a darker UI section.*

No background, text color rgb(220, 224, 229) (light gray). No border or padding, often takes on the appearance of a focused textual element within an interactive zone with a oklch(0.928 0.006 264.531) (pale indigo-gray) border.

### Code Input Field
*Used for user input in code-related contexts.*

Transparent background, text color rgb(220, 224, 229) (light gray), no border. 0px border-radius, and 4px padding on all sides. Uses Zed Mono font for input.

### Feature Card
*Showcasing individual product features.*

Card background is White Surface (#ffffff), with text in Off-Black Text (#3a3d43). Padding of 16px to 24px and a 2px border-radius. Features a subtle inset shadow rgba(111, 123, 144, 0.05) 0px -2px 0px 0px for visual depth. The content within has tight spacing, typically 6px row gap.

### Code Editor Frame
*Visual container for the embedded code editor preview.*

Background color Dark Editor Surface (#282c33). Features box-shadow rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px for a distinct elevated appearance. Interior content uses Zed Mono typography.

## Guidelines

### Do

- Use Midnight Blue (#1348dc) for all primary calls to action, prominent links, and main interactive button states.
- Employ the 2px border-radius consistently across all interactive elements, cards, and image containers, giving a subtle but unified crispness.
- Maintain a clear visual hierarchy by utilizing Plex Serif weight 340 for major headings and Writer weight 400 for all body text.
- Apply specific letter-spacing: -0.0250em for Writer font to optimize readability for dense UI, and 0.0500em for Zed Mono to distinguish code/technical text.
- Use Page Background (#e5e7eb) as the canvas for most content sections, ensuring a clean and bright base.
- Incorporate subtle inset box-shadows (e.g., rgba(111, 123, 144, 0.1) 0px -2px 0px 0px inset) on interactive elements or cards to create depth without heavy drop shadows.
- Limit the use of saturated colors like Pine Green (#a1c181), Rosewood Red (#d07277), and Golden Ochre (#dec184) to semantic indicators or specific highlights to maximize their impact.

### Don't

- Do not introduce strong drop shadows; rely on the subtle inset shadows or lighter elevated box-shadows.
- Avoid large, ornate typography. The design prioritizes small, precise text with generous line heights over oversized headlines.
- Do not use generic system fonts where custom fonts Writer, Zed Mono, or Plex Serif are specified, as their unique letter-spacing and weights are crucial to the brand identity.
- Refrain from using heavily saturated background colors for content sections; stick to the neutral scale and slight blue tints.
- Do not apply rounded corners greater than 2px to general UI elements, as this contradicts the overall crisp, engineered aesthetic.
- Avoid cluttering layouts with excessive elements; maintain generous elementGap (6px, 10px, 12px) and sectionGap (64px) for clear information separation.
- Do not use more than two saturated brand colors prominently in any single view, to keep the focus on clarity and code editor aesthetic.

## Agent Prompt Guide

### Quick Color Reference
- **Text (Primary):** #3a3d43
- **Background (Page):** #e5e7eb
- **CTA (Primary):** #1348dc
- **Border (Neutral):** #b2b5bb
- **Accent (Semantic Red):** #d07277

### 3-5 Example Component Prompts
1. **Create a hero section:** Background is Page Background (#e5e7eb). Centered headline 'Love your editor again' in Plex Serif, weight 340, size 48px, color Midnight Blue (#1348dc), letterSpacing -0.96px. Subtext 'Zed is a minimal code editor crafted for speed and collaboration with humans and AI.' in Writer, weight 400, size 16px, color Off-Black Text (#3a3d43), lineHeight 1.5.
2. **Generate a primary button for download:** Background Midnight Blue (#1348dc), text 'Download now D' in Writer, weight 400, size 14px, color White Surface (#ffffff), with 4px border-radius, padding 10px 16px (top/bottom/left/right by inference).
3. **Design a feature card:** Background White Surface (#ffffff), padding 16px all around, 2px border-radius. Apply subtle inset shadow rgba(111, 123, 144, 0.05) 0px -2px 0px 0px. Headline in Plex Serif, weight 400, size 26px, color Off-Black Text (#3a3d43), letterSpacing -0.52px. Body text in Writer, weight 400, size 14px, color Carbon Gray (#5d636f).
4. **Create an embedded code editor preview section:** Background Dark Editor Surface (#282c33), with box-shadow rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px. Content uses Zed Mono, weight 400, size 12px, color rgb(220, 224, 229).
5. **Build a navigation link:** Text 'Product' in Writer, weight 400, size 16px, color Off-Black Text (#3a3d43). On hover, display a subtle bottom border of Midnight Blue (#1348dc) 2px solid.

More like this