--- layout: layouts/base.njk title: Type permalink: /type/ ---
A living typography page for quick visual checks. Tweak sizes in tailwind.config.cjs or override via utilities.
This template uses the system UI font stack by default for speed and readability, and a system monospace stack for code.
monospace stack via Tailwind's font-mono utilityDefined in src/assets/css/tailwind.css:
/* src/assets/css/tailwind.css */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.system-fonts {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
To change fonts, you can:
body { font-family: ... } in src/assets/css/tailwind.css.fontFamily under theme.extend in tailwind.config.cjs and use Tailwind utilities (e.g., font-sans, font-mono).Body copy with bold and emphasis. Links look like this inline link. Small text appears as supporting detail.
Ship small improvements often. The garden grows one commit at a time.
// Syntax highlighting is provided client-side via Highlight.js
function greet(name) {
return `Hello, ${name}!`;
}
console.log(greet('world'));