text-1…text-5 sizes built on clamp() for viewport-fluid headlines.
The original implementation#
v1's typography used clamp() directly in the frozen CSS — headlines scaled between phones and 4K with no breakpoints.
Sample#
<h1 class="text-5 font-black">Fluid headline</h1>
<p class="text-2">Comfortable body.</p>Legacy & migration#
The v1 file is frozen forever. To keep this exact look on the modern engine, follow the migration guide — the whole design system is re-expressed as a Nakshora config.
