Marketing

How Fern makes its marketing art: Midjourney backgrounds, diagrams in posts and figures for the blog.

Reach for it when
  • Making a blog hero, a launch hero, an OG image or an ad background: start from the house prompt.
  • Explaining a mechanism in a post: draw a diagram in HTML, in grays, with green only on what it argues for.

The short version

If you read nothing else on this page, read these.

The SDK generator background, a river through hills
LaunchSDKs in every language, from one API definition
Do. Pick a background that recedes: muted, weathered, nothing looking back at the reader.
A surreal scene with figures and a floating monolith
LaunchSDKs in every language, from one API definition
Don't. Generate a subject. A figure staring out of the background fights the headline for the eye.
Before
Next.js
S3monolithic blob, 10–50 MB+
Postgres
After
Next.js
S3version blob, ~5 KB
S3route and sidebar blob
S3content and API definition blob
Do. Keep a diagram gray and turn only what it argues for green: here, the new read path.
Before
Next.js
S3monolithic blob, 10–50 MB+
Postgres
After
Next.js
S3version blob, ~5 KB
S3route and sidebar blob
S3content and API definition blob
Don't. Color every node. When everything is green, nothing is the point.

Three kinds of art

Marketing draws pictures three ways. Each has its own job, and they don't stand in for each other.

Blog heroes, OG images, launch heroes and adsBackgrounds
Generated in Midjourney from one house prompt. A background holds a mood, then disappears behind the content composited on top of it.
Inside a post, beside the paragraph they explainDiagrams
Drawn as HTML in grays, never exported from Mermaid or screenshotted. Green marks only what the diagram argues for.
Blog posts and this site, not shipped yetFigures
Hairline line drawings that answer the pointer. Still in progress: see Figures for the rules they're drawn to.

The house prompt

Every background starts here. Fill in the scene and the weather, set the ratio, and leave the rest exactly as written.

house-prompt.txt
[scene description in Hiroshi Yoshida landscape style], atmospheric [weather],long-exposure smoothing motion, muted earthy colors, tactile analog grain--v 7.0 --p xbmuohp --raw --exp 100 --ar 16:9
  • [scene] in Hiroshi Yoshida landscape styleChangesThe only real choice. Pick a scene that says the launch: crabs for Rust, swifts for Swift.
  • atmospheric [weather]ChangesHaze, mist, dusk or first light. The weather carries the mood so the scene can stay quiet.
  • long-exposure smoothing motionFixedBlurs the detail so the eye glides past it to the headline.
  • muted earthy colors, tactile analog grainFixedYoshida's palette and the print's texture, found by running his prints through /describe.
  • --v 7.0 --raw --exp 100FixedMidjourney 7 in raw mode, with experimental aesthetics at 100.
  • --p xbmuohpFixedFern's personalization profile, built by ranking image pairs. Every generation inherits the same look.
  • --ar 16:9ChangesSet by where the asset goes. See Sizes below.
Rust SDK
A low tide beach crawling with tiny orange crabs, Hiroshi Yoshida landscape style, atmospheric coastal haze at dusk, long-exposure smoothing motion, muted earthy colors, tactile analog grain --v 7.0 --p xbmuohp --raw --exp 100 --ar 16:9
SDK generator ad
A calm delta where one wide river splits into nine still channels reaching toward the horizon at first light, faint mist over the water, Hiroshi Yoshida landscape style, atmospheric dawn, long-exposure smoothing motion, muted earthy colors, tactile analog grain --v 7.0 --p xbmuohp --raw --exp 100 --ar 9:16

What it makes

Launch heroes from the same prompt and profile. Only the scene and the weather changed between them.

  • The Rust SDK hero, a Midjourney landscapeRust SDK
  • The Swift SDK hero, a Midjourney landscapeSwift SDK
  • The Autorelease hero, a Midjourney landscapeAutorelease
  • The RBAC hero, a Midjourney landscapeRBAC
  • The SDK generator hero, a Midjourney landscapeSDK generator
  • The Writing with AI hero, a Midjourney landscapeWriting with AI
  • The Making Fern faster hero, a Midjourney landscapeMaking Fern faster
  • The Fern Replay hero, a Midjourney landscapeFern Replay
  • The MCP hero, a Midjourney landscapeMCP

Sizes

Generate at the ratio of the slot the asset is going to. Briefs from the launch-campaign skill carry the prompt and the ratio together.

  • Blog hero16:9AVIF in public/post/<slug>/. A 1200 × 630 OG image is generated beside it.
  • LinkedIn 1:1 and 4:59:16The ad engine crops the tall source to the slot.
  • LinkedIn 9:169:16Used whole.
  • Conversation banner6:5Used whole.
  • Google Display2:1 · 1:1 · 4:1One generation per slot.

Composite, then export

Lay the product UI, logo, headline and badge over the background, with the background at 40 to 60% opacity under a green or near-black overlay. Blog heroes ship as AVIF; npm run images:og writes the OG image.

Diagrams in posts

When a post explains a mechanism, it draws a diagram in HTML: gray panels, outlined nodes, hairline connectors, and green only on what the post argues for. This one is the faster-docs post's read path.

Before
Next.js
S3monolithic blob, 10–50 MB+
Postgres
After
Next.js
S3version blob, ~5 KB
S3route and sidebar blob
S3content and API definition blob
  • PanelA stage or group: a rounded muted fill with a 12px semibold label above it.
  • NodeAn outlined card on background: a medium title and an optional muted line under it. No fill color, no icon.
  • ConnectorA 1px line with a small CSS-triangle head. Labels ride above the line in 10px semibold.
  • AccentWhat the diagram argues for, a node or a path: green border, green tint, green title. Everything else is gray.
  • FrameInline it scales down to the prose column; clicking opens it at its natural size.
faster-docsRead path
The old read path against the new one, the new path in green.
building-fern-agentFern Agent
The dashboard, Slack and MCP reaching one agent through one shared toolset, the toolset in green.
paid-ads-agentAd engine
Six steps from planning a campaign to reviewing its results, which feed the next plan.

Each diagram is a component in the marketing site's src/components, registered for MDX in src/lib/mdx.tsx.

Figures for posts

A post can also get a Hairline figure: one object, drawn in hairline strokes, that answers the pointer. Run /create-blog-figure in the marketing site.

Work in progress

Blog figures aren't embedded in any post yet. The first one, a request backing off after each 429, lives on a branch.

  1. 01Read the post and name its one mechanism and its payoff.
  2. 02Offer two or three concepts: the object, what the pointer does, and what turns green.
  3. 03Write the figure in figures/<slug>/<name>.js on the Hairline engine.
  4. 04Build it with node scripts/build-figure.mjs <slug>/<name>.
  5. 05Shoot it in both themes and at 240px wide with scripts/shoot-figure.mjs.
  6. 06Check it against the ten rules on Figures, then hand it over uncommitted.

The stroke, the green and the ground follow the same rules as this site's figures: Figures.

Rules

Every rule on one list. Open one for the reasoning behind it.

7 rules
  1. 01One prompt, one lookEvery background starts from the house prompt with --p xbmuohp. Change the scene and the weather; leave the rest alone.
  2. 02A background recedesNo faces, hands or text, and nothing staring back. Muted color and motion blur keep the eye moving toward the headline.
  3. 03The weather does the workSet the mood with haze, mist, dusk or dawn, not with saturated color or a busy subject.
  4. 04Generate at the slot's ratioPick --ar from the size table. Ads generate tall at 9:16 and crop; never spec the retired 1200 × 627 landscape slot.
  5. 05Composite on top, not in the promptProduct UI, the language logo, the headline and the badge are laid over the generated background. Under copy, the background sits at 40 to 60% opacity with a green or near-black overlay.
  6. 06Diagrams are HTML in graysDraw a post's diagram as markup, so it follows the theme and the site's font. Never ship a Mermaid export or a screenshot.
  7. 07Green is the argumentIn a diagram, only what the post argues for is green: one node, or the one new path. If everything is green, nothing is.

Keep going

Figures
Beautifully generated line drawings that include interactivity, motion, and colors.
Color
Semantically named colors and a set of ramps for the full palette. Optimized for light and dark.
Content
Write plainly with sentence case. Follow these guidelines to ensure you do so.