Skip to main content
typeset

Typeset & Typography

An editorial typographic scale combining a high-contrast display serif, a clean geometric sans, and the system monospace stack for code.

Font Family Pairings

Display Serif

Gambetta

Used for hero titles, quotes, and primary section headers. Designed by Indian Type Foundry (ITF) and distributed through Fontshare. The site self-hosts the Regular, Medium and Semibold weights.

Interface Sans

Poppins

Used for interactive controls, paragraph bodies, and inputs. Clean, geometric, and effortless to scan.

Technical Mono

System Mono

Tailwind's default font-mono stack (ui-monospace, SF Mono, Menlo, Consolas). Used for code blocks, terminal snippets, API payload fields, and technical parameters. No web font is downloaded.

Typographic Hierarchy & Scale

RoleFont FamilySize & WeightSample Preview
Display LargeGambetta Serif24px - 48px (400)DevClub Architecture
Section HeadingPoppins Sans16px - 18px (600)Design Tokens & Physics
Body StandardPoppins Sans12px - 15px (300 / 400)Components engineered for high visual fidelity and frame rate.
Code & MetadataSystem Monospace11px - 14px (400)GET /api/components/[slug]

Font Setup in Next.js

Configure fonts via Next.js Google Fonts and local font loader in src/app/layout.tsx, then apply both variables to the <html> element and map them in @theme inline as --font-sans and --font-serif:

src/app/layout.tsx
1
import { Poppins } from "next/font/google";
2
import localFont from "next/font/local";
3
 
4
const poppins = Poppins({
5
variable: "--font-poppins",
6
subsets: ["latin"],
7
weight: ["300", "400", "500", "600", "700"],
8
display: "swap",
9
});
10
 
11
const gambetta = localFont({
12
src: [
13
{
14
path: "../../public/fonts/Gambetta-Regular.otf",
15
weight: "400",
16
style: "normal",
17
},
18
{
19
path: "../../public/fonts/Gambetta-Medium.otf",
20
weight: "500",
21
style: "normal",
22
},
23
{
24
path: "../../public/fonts/Gambetta-Semibold.otf",
25
weight: "600",
26
style: "normal",
27
},
28
],
29
variable: "--font-gambetta",
30
display: "swap",
31
});

Gambetta is copyright Indian Type Foundry. If you self-host it in your own project, download it from Fontshare and follow the licence that ships with the font files.