Typography
One sans for everything, a display face for hero moments, mono for code and tokens. Sizes and weights come from shortcut classes — never raw pixel values.
Font families
Self-hosted via @unocss/preset-web-fonts — files land in static/assets/fonts and are immutable-cached.
Tools that feel instant
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
const token = colors.brand.primary
Heading shortcuts
Responsive by default — each shortcut scales across breakpoints without extra classes.
heading-hero 5xl→8xl · black · tightHero
heading-display 4xl→7xl · black · tightDisplay
heading-section 3xl→5xl · bold · tightSection
heading-subsection 2xl→3xl · semibold · tightSubsection
heading-card xl→2xl · semiboldCard title
text-body base→lg · zinc-600/400Good tools disappear. TFMKIT keeps every conversion, generation and edit in the browser — fast, private, and free.
text-body-sm sm→base · zinc-600/400Good tools disappear. TFMKIT keeps every conversion, generation and edit in the browser — fast, private, and free.
text-muted zinc-500/400Good tools disappear. TFMKIT keeps every conversion, generation and edit in the browser — fast, private, and free.
text-subtle zinc-400/500Good tools disappear. TFMKIT keeps every conversion, generation and edit in the browser — fast, private, and free.
text-caption xs→sm · uppercase · tracking-widerGood tools disappear. TFMKIT keeps every conversion, generation and edit in the browser — fast, private, and free.
Type scale
token → utility → rem value
| Size | Value |
|---|---|
| text-xs | 0.75rem |
| text-sm | 0.875rem |
| text-base | 1rem |
| text-lg | 1.125rem |
| text-xl | 1.25rem |
| text-2xl | 1.5rem |
| text-3xl | 1.875rem |
| text-4xl | 2.25rem |
| text-5xl | 3rem |
| text-6xl | 3.75rem |
| text-7xl | 4.5rem |
| Weight | Value |
|---|---|
| font-normal | 400 |
| font-medium | 500 |
| font-semibold | 600 |
| font-bold | 700 |
| font-black | 900 |
| Line height | Value |
|---|---|
| leading-none | 1 |
| leading-tight | 1.25 |
| leading-snug | 1.375 |
| leading-normal | 1.5 |
| leading-relaxed | 1.625 |
| leading-loose | 2 |
| Tracking | Value |
|---|---|
| tracking-tighter | -0.05em |
| tracking-tight | -0.025em |
| tracking-normal | 0em |
| tracking-wide | 0.025em |
| tracking-wider | 0.05em |
| tracking-widest | 0.1em |
Prose
Long-form markdown content (docs, blog) uses presetTypography — the `prose` class with dark:prose-invert.