Fern

Fern DESIGN.md 設計系統與風格指南

Developer ToolsProv1.0.0 (最新)
buildwithfern.com•關聯於 2026年11月25日 下午12:00

Generate API documentation, SDKs, and an agent-first CLI from a single OpenAPI source.

Pro 網站

你可以免費閱讀 Fern 的完整設計敘述與最多 8 色主色票。升級 Pro 即可取得全部 51 個設計 Token、完整 DESIGN.md 原始檔下載與 1 個歷史版本。

顯示 8 / 11 個色彩
深色 (11%)
Aa 測試範例#B91C1C
error
rgb(185, 28, 28)
淺色 (70%)
Aa 測試範例#D9D9E0
outline
rgb(217, 217, 224)
深色 (1%)
Aa 測試範例#171717
primary
rgb(23, 23, 23)
淺色 (100%)
Aa 測試範例#FFFFFF
surface
rgb(255, 255, 255)
深色 (17%)
Aa 測試範例#0D74CE
tertiary
rgb(13, 116, 206)
深色 (17%)
Aa 測試範例#008700
secondary
rgb(0, 135, 0)
淺色 (96%)
Aa 測試範例#FAFAFA
on-primary
rgb(250, 250, 250)
深色 (1%)
Aa 測試範例#202020
on-surface
rgb(32, 32, 32)
取得完整色票、CSS variables 與 DESIGN.md 原始碼

升級 DesignMD Pro,將所有色彩複製為 :root CSS variables、檢視元件 Token 引用關係,並下載完整原始檔。

設計指南

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.

如何在 AI Agent 中使用 Fern 的 DESIGN.md

  1. 取得 Fern 的 DESIGN.md

    存取 https://www.designmdpro.app/websites/fern.md 或透過 DesignMD Pro MCP 伺服器以 slug "fern" 呼叫 get_design_md 工具以取得公開版本。完整 token 集合需訂閱 Pro。

  2. 將其儲存為專案根目錄中的 DESIGN.md

    將檔案放在 AGENTS.md 或 CLAUDE.md 旁,讓 Claude Code、Cursor、Codex 與其他程式開發 Agent 能夠讀取。

  3. 請你的 Agent 遵循該規範

    例如:「請依照 DESIGN.md 中的 Fern 設計系統建構設定頁面,使用其中的色彩、字型與間距 tokens。」

Fern 風格 AI 提示詞

請依照 Fern(buildwithfern.com) 的 DESIGN.md 設計系統,以相同的視覺風格建構一個響應式到達頁。

## 色彩
- error: #B91C1C
- outline: #D9D9E0
- primary: #171717
- surface: #FFFFFF
- tertiary: #0D74CE
- secondary: #008700
- on-primary: #FAFAFA
- on-surface: #202020

## 字型
- body-lg: "gtPlanar", 20px, weight 300, line-height 1.5
- code-md: "berkeleyMono", 13px, weight 400, line-height 1.5

## 圓角
- lg: 8px
- md: 6px
- sm: 4px

## 規則
- 背景、文字、邊框與強調色僅使用上述色彩,請勿自行發明新顏色。
- 所有文字皆套用上述字型樣式,並維持其字級與字重層級。
- 圓角與間距請取自上述比例尺,確保各元件外觀一致。

完整 DESIGN.md:https://www.designmdpro.app/websites/fern.md
在 v0 提示詞產生器中自訂 →

常見問題

Fern 的主色是什麼?

Fern 的品牌主色為 黑色(#171717),其 DESIGN.md 共定義了 11 個色彩 tokens。

Fern 使用什麼字型?

Fern 的主要字型為 gtPlanar 與 berkeleyMono。

如何在 Tailwind CSS 或 shadcn/ui 中使用 Fern 的 design tokens?

本頁已公開 Fern 的主色(#171717)。產生完整的 Tailwind 或 shadcn 主題需要完整的 DESIGN.md,可透過 DesignMD Pro 取得。

這份 Fern DESIGN.md 是官方發布的嗎?

不是。此檔案由 DesignMD Pro 擷取自公開的 buildwithfern.com 網站,與 Fern 無任何關聯亦未獲其背書。

Fern 的 DESIGN.md 最後一次更新是什麼時候?

版本 1.0.0 擷取於 2026年11月25日。

Fern 及其商標均歸各自所有者所有。DesignMD Pro 為獨立專案,與 Fern 無任何關聯亦未獲其背書;此 DESIGN.md 擷取自公開網站,僅供參考。