Field journal
Notes from the coast
An entry from the spring collection.
Reference / Typography
Set a typeface for a whole block or switch families for a single line of metadata.
Field journal
An entry from the spring collection.
The default stacks use locally available fonts. Add a named family to theme.extend.fontFamily to reuse your own font stack.
<article>
<p class="font-mono text-xs uppercase">Field journal</p>
<h3 class="font-serif text-3xl">Notes from the coast</h3>
<p class="font-sans text-sm">An entry from the spring collection.</p>
</article>| Class | CSS declarations |
|---|---|
font-sans | font-family: ui-sans-serif, system-ui, sans-serif; |
font-serif | font-family: ui-serif, Georgia, serif; |
font-mono | font-family: ui-monospace, SFMono-Regular, Consolas, monospace; |
font-[family-name:Georgia,serif] | font-family: Georgia,serif; |
.font-\[family-name\:Georgia\,serif\] {
font-family: Georgia,serif;
}
.font-mono {
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.font-sans {
font-family: ui-sans-serif, system-ui, sans-serif;
}
.font-serif {
font-family: ui-serif, Georgia, serif;
}