JetBrains Mono + Work Sans

Grumpy wizards make toxic brew

A standfirst set in Work Sans, one size up — where a pairing starts earning trust.

The five boxing wizards jump quickly over the lazy dog, mixing jugs of quiet vodka while the jury watches. Click anywhere in this preview and type your own text to try the pairing.

“Type is a beautiful group of letters, not a group of beautiful letters.”

— Matthew Carter

Fig. 1 — JetBrains Mono over Work Sans, in the wild.

JetBrains Mono 700 / Work Sans 400 — click any section and type your own copy.

Why it works

A monospaced heading is a strong signal — JetBrains Mono's fixed pitch, tall x-height and squared rhythm say developer tool before a word is read. Work Sans releases the tension in the body: proportional, low-contrast and optimized for text sizes, so paragraphs flow naturally after the deliberately mechanical headline. The pairing works for dev-tool marketing, changelogs and engineering blogs; set the mono heading a size or two smaller than you would a sans, since fixed-width capitals run wide.

More about each face: JetBrains Mono · Work Sans

Use this pairing

HTML — Google Fonts embed
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@700&family=Work+Sans:wght@400;600&display=swap" rel="stylesheet">
CSS
h1, h2, h3 {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, 'Courier New', monospace;
  font-weight: 700;
}

body {
  font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
}
Next.js — next/font
import { JetBrains_Mono, Work_Sans } from "next/font/google";

const heading = JetBrains_Mono({
  subsets: ["latin"],
  weight: "700",
  variable: "--font-heading",
});

const body = Work_Sans({
  subsets: ["latin"],
  weight: "400",
  variable: "--font-body",
});

Related pairings