Font
font = [family] size ["/" line] [word ...]
family = every word before the first number or keyword ("Instrument Sans")
size = number, in pixels
line = number of pixels | number "%" | multiple of the size, up to 4 ("1.4")
word = weight | "italic" | spacing | case
weight = 100 … 900 in hundreds | thin | extralight | light | regular | medium | semibold | bold | extrabold | black
spacing= "+" or "-" then pixels ("+0.4") or a percentage ("-2%")
case = caps | upper | lower | title
| Font | fontFamily | fontSize | lineHeight | fontWeight | other |
|---|---|---|---|---|---|
Inter 15/22 | Inter | 15 | 22 | ||
Fraunces 44/1.1 600 -1 | Fraunces | 44 | 110% | 600 | letterSpacing −1 |
12/16 700 +1.6 caps | inherited | 12 | 16 | 700 | letterSpacing 1.6, upper case |
Tiro Devanagari Hindi 20/28 | Tiro Devanagari Hindi | 20 | 28 |
The first number is always the size, so write a weight after it. A family from Google Fonts is downloaded the first time a build names it.