# Fern DESIGN.md

> Public preview. The complete DESIGN.md source (all 51 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

A precise API developer-platform identity combining a restrained monochrome canvas, custom rounded sans-serif type, and green and blue technical accents.

- Website: https://buildwithfern.com
- Primary color: Black `#171717`
- Fonts: gtPlanar, berkeleyMono
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/fern

## Palette preview

- `error`: `#b91c1c`
- `outline`: `#d9d9e0`
- `primary`: `#171717`
- `surface`: `#ffffff`
- `tertiary`: `#0d74ce`
- `secondary`: `#008700`
- `on-primary`: `#fafafa`
- `on-surface`: `#202020`

## Typography preview

- `body-lg`: gtPlanar
- `code-md`: berkeleyMono

---

## Overview

Fern’s marketing site is a calm, technical identity for teams building API documentation and SDKs. The page balances an editorial white hero with a large dark-blue product demonstration, then returns to clean, light sections built from product screenshots, code examples, customer proof, and restrained partner accents. The overall tone is precise and capable without feeling like a dense developer dashboard.

## Colors

- **Ink (`#171717`)** is reserved for the strongest action surfaces and anchors the otherwise neutral presentation.
- **Fern green (`#008700`)** appears in the botanical wordmark, status accents, and API or code examples.
- **Link blue (`#0d74ce`)** highlights interactive and technical details, including link-like UI elements in product demos.
- **Charcoal (`#202020`)** is the main heading and interface text color; medium gray (`#737373`) supports explanatory copy.
- White and very light gray (`#f7f7f7`) form the dominant background planes. Fine gray outlines separate controls and screenshots without making the layout feel boxed in.
- Red is used sparingly for error or destructive API examples rather than as a broad brand surface.

## Typography

The site uses the custom **gtPlanar** sans family for the brand and interface. Its light, rounded forms create a relaxed editorial feel even in large headlines; body copy typically uses 16px or 20px sizing with generous line height. **berkeleyMono** and JetBrains Mono appear in developer-focused code and endpoint examples, while Inter is present in some product-preview content.

## Layout

At desktop size, the page uses a wide content frame measured near 1376px, with generous horizontal and vertical separation. The hero aligns a large left headline with a compact agent setup control on the right; subsequent sections alternate between full-width dark or tinted product demonstrations and quiet, multi-column information layouts. Use a 4px base scale with frequent 8px, 16px, 32px, and 64px intervals.

## Elevation & Depth

Large product previews and code workspaces are grouped with fine outlines, shallow shadows, and background contrast. The dark navy demonstration region is the strongest depth and color break on the homepage; most other cards remain bright, with only subtle shadowing.

## Shapes

Controls and panels favor soft, compact rounding: approximately 6–10px for buttons, inputs, and preview frames. Small tags and selected states may use pill shapes, while code blocks and page sections keep clearly defined rectangular geometry.

## Motion & Micro-interaction

Captured styles show frequent 150ms transitions using a restrained ease curve for color, borders, transforms, and control states. Some product previews use slower opacity reveals around 500–700ms. Keep ordinary controls quick and understated; reserve longer transitions for staged visual content.

## Voice & Content Strategy

Fern uses concise, technical, outcome-oriented copy and speaks directly to API teams. Headings emphasize developer and agent experience, while navigation and actions remain short and literal. Examples include “Upgrade your developer and agent experience,” “Set up Fern with your agent,” and “Try Fern Docs and SDKs before you sign up.”

## Components

### Navigation and Actions

The compact top navigation uses muted text links, followed by a light outlined “Start for free” control and a dark filled “Book a demo” action. Buttons are short, roughly 32px high, and use medium-weight gtPlanar text with 10px corner radii.

### Product Demonstrations

The API documentation preview combines a light framed browser-like shell, compact horizontal navigation, a left endpoint rail, API request/response content, and syntax-colored code. Use restrained borders and shadows to separate nested panels; maintain clear hierarchy between endpoint labels, operation chips, and code.

### Cards and Feature Sections

Feature content is organized into open columns and screenshot-led panels rather than heavy boxed cards. Use pale neutral backgrounds to group adjacent content, and reserve the dark navy band for a prominent, immersive demo.

## Do's and Don'ts

- Do keep the surrounding canvas nearly monochrome and spacious.
- Do use gtPlanar for brand and interface text, with a legible monospace face for code.
- Do use green and blue as technical accents rather than broad decorative fills.
- Do make developer examples readable and structurally clear, with distinct endpoint, method, and code roles.
- Do use compact 6–10px rounding for controls and preview frames.
- Do use thin outlines and shallow shadows to define nested documentation surfaces.
- Don't compete with the product demo by adding multiple saturated backgrounds.
- Don't apply the mono typeface to general prose or oversized marketing headlines.
- Don't turn every content section into a bordered card.
