Source Code Pro
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader not…
Source Code Pro and Lora font pairing (suggested) · Source Code Pro for headings, Lora for body text
Category · 5 min read
Sphinx of black quartz, judge my vow
A short standfirst sits under the headline, set in the body font at a slightly larger size.
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader notices the words, not the letters. A heading font may shout; the text font must be comfortable for a thousand words at a time.
Every line is editable: paste your real headline and copy. How to use this page
| Source Code Pro | Lora | |
|---|---|---|
| Category | Monospace | Serif |
| Designer | Paul D. Hunt | Cyreal |
| Styles | 16 (variable) | 8 (variable) |
| Weights | 200, 300, 400, 500, 600, 700, 800, 900 | 400, 500, 600, 700 |
| Italics | Yes | Yes |
| Width (1–10) | 8 | 7 |
| Stroke (1–10) | 5 | 4 |
| Licence | OFL | OFL |
| Popularity | #58 | #41 |
<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=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap" rel="stylesheet">One request loads both families.
body {
font-family: "Lora", Georgia, 'Times New Roman', serif;
font-size: 1.0625rem; /* 17px */
line-height: 1.6;
}
h1, h2, h3 {
font-family: "Source Code Pro", ui-monospace, Menlo, Consolas, monospace;
font-weight: 700;
line-height: 1.1;
letter-spacing: -0.02em;
}
h1 { font-size: 2.66rem; }
h2 { font-size: 2.13rem; }Source Code Pro on headings, Lora everywhere else. Sizes and spacing are tuned to these two fonts' proportions.
@import "tailwindcss";
@theme {
--font-sans: "Lora", Georgia, 'Times New Roman', serif;
--font-display: "Source Code Pro", ui-monospace, Menlo, Consolas, monospace;
}
/* <h1 class="font-display"> … <p class="font-sans"> */Add the <link> from the HTML tab to load the fonts.
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');Put it at the very top of your stylesheet.
Source Code Pro
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader not…
Source Code Pro
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader not…
Source Code Pro
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader not…
Nunito
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader not…
Ubuntu
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader not…
Manrope
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader not…