Fern

Fern design system DESIGN.md et guide de style

Developer ToolsProv1.0.0 (Dernière)
buildwithfern.com•Associé le 25 nov. 2026, 12:00

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

Site Pro

Vous pouvez lire gratuitement le récit de design complet et jusqu'à 8 couleurs principales de Fern. Passez à Pro pour accéder aux 51 design tokens, aux téléchargements complets de DESIGN.md et à 1 révisions.

Affichage de 8 sur 11 couleurs
Sombre (11%)
Aa Exemple#B91C1C
error
rgb(185, 28, 28)
Clair (70%)
Aa Exemple#D9D9E0
outline
rgb(217, 217, 224)
Sombre (1%)
Aa Exemple#171717
primary
rgb(23, 23, 23)
Clair (100%)
Aa Exemple#FFFFFF
surface
rgb(255, 255, 255)
Sombre (17%)
Aa Exemple#0D74CE
tertiary
rgb(13, 116, 206)
Sombre (17%)
Aa Exemple#008700
secondary
rgb(0, 135, 0)
Clair (96%)
Aa Exemple#FAFAFA
on-primary
rgb(250, 250, 250)
Sombre (1%)
Aa Exemple#202020
on-surface
rgb(32, 32, 32)
Obtenez la palette complète, les variables CSS et la source DESIGN.md

Passez à DesignMD Pro pour copier toutes les couleurs en :root variables CSS, inspecter les références de tokens de composants et télécharger le fichier source complet.

Règles de design

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.

Comment utiliser le DESIGN.md de Fern avec un agent IA

  1. Récupérer le DESIGN.md de Fern

    Récupérez https://www.designmdpro.app/websites/fern.md ou appelez l'outil get_design_md avec le slug "fern" depuis le serveur MCP DesignMD Pro pour obtenir la version publique. Le jeu complet de tokens nécessite Pro.

  2. Enregistrez-le en tant que DESIGN.md à la racine de votre projet

    Placez le fichier à côté d'AGENTS.md ou CLAUDE.md afin que Claude Code, Cursor, Codex et les autres agents de code puissent le trouver.

  3. Demandez à votre agent de le suivre

    Par exemple : « Construis la page de paramètres en suivant le design system de Fern dans DESIGN.md — utilise ses tokens de couleurs, de typographie et d'espacement. »

Prompt IA style Fern

Construis une landing page responsive dans le style visuel de Fern (buildwithfern.com), en suivant son design system DESIGN.md.

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

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

## Rayons de bordure
- lg: 8px
- md: 6px
- sm: 4px

## Règles
- Utilise uniquement les couleurs ci-dessus pour les arrière-plans, textes, bordures et accents ; n'invente pas de nouvelles couleurs.
- Applique les styles typographiques ci-dessus à tout le texte en respectant leur hiérarchie de tailles et de graisses.
- Reprends les rayons de bordure et les espacements des échelles ci-dessus afin que les composants restent cohérents.

DESIGN.md complet : https://www.designmdpro.app/websites/fern.md
Personnaliser dans le générateur de prompt v0 →

Questions fréquentes

Quelle est la couleur principale de Fern ?

La couleur principale de la marque Fern est Noir (#171717). Son DESIGN.md définit 11 color tokens au total.

Quelle police utilise Fern ?

Les polices principales de Fern sont gtPlanar et berkeleyMono.

Comment utiliser les design tokens de Fern dans Tailwind CSS ou shadcn/ui ?

La couleur principale de Fern (#171717) est publique sur cette page. Générer un thème Tailwind ou shadcn complet nécessite le DESIGN.md intégral, disponible avec DesignMD Pro.

Ce DESIGN.md de Fern est-il officiel ?

Non. DesignMD Pro l'a extrait du site public buildwithfern.com. Il n'a aucune affiliation avec Fern et n'est pas approuvé par cette marque.

Quand le DESIGN.md de Fern a-t-il été mis à jour pour la dernière fois ?

La version 1.0.0 a été capturée le 25 novembre 2026.

Fern et ses marques appartiennent à leurs propriétaires respectifs. DesignMD Pro est un projet indépendant, sans affiliation ni approbation de Fern ; ce DESIGN.md est extrait du site public à titre de référence uniquement.