TFMKIT Logo
Foundations

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.

font-display Cal Sans — Display — hero headlines and brand moments

Tools that feel instant

font-sans Inter + Outfit — Sans — body copy, UI text, everything default

The quick brown fox jumps over the lazy dog

font-jakarta Plus Jakarta Sans — Sans variant — available project-wide for contrast accents

The quick brown fox jumps over the lazy dog

font-mono JetBrains Mono — Mono — code, token names, numeric data

const token = colors.brand.primary

Heading shortcuts

Responsive by default — each shortcut scales across breakpoints without extra classes.

heading-hero 5xl→8xl · black · tight

Hero

heading-display 4xl→7xl · black · tight

Display

heading-section 3xl→5xl · bold · tight

Section

heading-subsection 2xl→3xl · semibold · tight

Subsection

heading-card xl→2xl · semibold

Card title

text-body base→lg · zinc-600/400

Good tools disappear. TFMKIT keeps every conversion, generation and edit in the browser — fast, private, and free.

text-body-sm sm→base · zinc-600/400

Good tools disappear. TFMKIT keeps every conversion, generation and edit in the browser — fast, private, and free.

text-muted zinc-500/400

Good tools disappear. TFMKIT keeps every conversion, generation and edit in the browser — fast, private, and free.

text-subtle zinc-400/500

Good tools disappear. TFMKIT keeps every conversion, generation and edit in the browser — fast, private, and free.

text-caption xs→sm · uppercase · tracking-wider

Good tools disappear. TFMKIT keeps every conversion, generation and edit in the browser — fast, private, and free.

Type scale

token → utility → rem value

SizeValue
text-xs0.75rem
text-sm0.875rem
text-base1rem
text-lg1.125rem
text-xl1.25rem
text-2xl1.5rem
text-3xl1.875rem
text-4xl2.25rem
text-5xl3rem
text-6xl3.75rem
text-7xl4.5rem
WeightValue
font-normal400
font-medium500
font-semibold600
font-bold700
font-black900
Line heightValue
leading-none1
leading-tight1.25
leading-snug1.375
leading-normal1.5
leading-relaxed1.625
leading-loose2
TrackingValue
tracking-tighter-0.05em
tracking-tight-0.025em
tracking-normal0em
tracking-wide0.025em
tracking-wider0.05em
tracking-widest0.1em

Prose

Long-form markdown content (docs, blog) uses presetTypography — the `prose` class with dark:prose-invert.

Usage