JetBrains Mono + Work Sans

Grumpy wizards make toxic brew

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.

JetBrains Mono 700 / Work Sans 400 — click the text to edit

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