1. Create typeset.css
Copy the stylesheet into a typeset.css file next to your main CSS file, then import it:
@import "tailwindcss"; @import "./typeset.css";
2. Add the fonts
Load the fonts from Fontsource's CDN by importing them in your CSS file:
/* globals.css */
@import "https://cdn.jsdelivr.net/fontsource/css/geist:vf@latest/wght.css";
@import "https://cdn.jsdelivr.net/fontsource/css/geist-mono:vf@latest/wght.css";
:root {
--font-geist: 'Geist Variable', sans-serif;
--font-geist-mono: 'Geist Mono Variable', monospace;
}3. Create your custom typeset
/* globals.css */
@import "tailwindcss";
@import "./typeset.css";
.typeset-docs {
--typeset-font-body: var(--font-geist);
--typeset-font-heading: var(--font-geist);
--typeset-font-mono: var(--font-geist-mono);
--typeset-size: 15px;
--typeset-leading: 1.75;
--typeset-flow: 1.25em;
}4. Wrap your content
<div class="typeset typeset-docs max-w-[37em]"> @templ.Raw(content) </div>
One prompt with your picks baked in. Copy it and paste it into your coding agent.
Docs
Chat
Article
Changelog
Notes
ShuffleR
Light/DarkD
Undo⌘Z
Redo⇧⌘Z
Reset⇧R
60ch
70ch
80ch
90ch
Geist
Sans
Geist
Inter
Noto Sans
Nunito Sans
Figtree
Roboto
Raleway
DM Sans
Public Sans
Outfit
Oxanium
Manrope
Space Grotesk
Montserrat
IBM Plex Sans
Source Sans 3
Instrument Sans
Serif
Noto Serif
Roboto Slab
Merriweather
Lora
Mono
Geist Mono
JetBrains Mono
Sans
Geist
Inter
Noto Sans
Nunito Sans
Figtree
Roboto
Raleway
DM Sans
Public Sans
Outfit
Oxanium
Manrope
Space Grotesk
Montserrat
IBM Plex Sans
Source Sans 3
Instrument Sans
Serif
Noto Serif
Roboto Slab
Merriweather
Lora
Mono
Geist Mono
JetBrains Mono
Sans
Geist
Inter
Noto Sans
Nunito Sans
Figtree
Roboto
Raleway
DM Sans
Public Sans
Outfit
Oxanium
Manrope
Space Grotesk
Montserrat
IBM Plex Sans
Source Sans 3
Instrument Sans
Serif
Noto Serif
Roboto Slab
Merriweather
Lora
Mono
Geist Mono
JetBrains Mono
14px
15px
16px
18px
Tight (1.6)
Regular (1.75)
Loose (1.9)
Compact (1em)
Regular (1.25em)
Airy (2em)