Type scale
Fluid type steps from Utopia. Each clamp() interpolates across the viewport range recorded in primitives.css. Never hand-edit a clamp: change the calculator config and paste the output (ADR 0002).
The sample is rendered at the live value of its step, so resizing this window is the demonstration. Which step each element uses is settled in the base layer, not per component.
- --step--2The quick brown fox jumps over the lazy dog
clamp(0.6944rem, 0.6926rem + 0.009vw, 0.7035rem) - --step--1The quick brown fox jumps over the lazy dog
clamp(0.8333rem, 0.8125rem + 0.1044vw, 0.9377rem) - --step-0The quick brown fox jumps over the lazy dog
clamp(1rem, 0.95rem + 0.25vw, 1.25rem) - --step-1The quick brown fox jumps over the lazy dog
clamp(1.2rem, 1.1068rem + 0.4663vw, 1.6663rem) - --step-2The quick brown fox jumps over the lazy dog
clamp(1.44rem, 1.2838rem + 0.7811vw, 2.2211rem) - --step-3The quick brown fox jumps over the lazy dog
clamp(1.728rem, 1.4815rem + 1.2327vw, 2.9607rem) - --step-4The quick brown fox jumps over the lazy dog
clamp(2.0736rem, 1.699rem + 1.8731vw, 3.9467rem) - --step-5The quick brown fox jumps over the lazy dog
clamp(2.4883rem, 1.9338rem + 2.7726vw, 5.2609rem)