mirror of
https://github.com/google/fonts.git
synced 2024-12-18 14:21:47 +03:00
cb13024969
Simplification of language
1.5 KiB
1.5 KiB
“Grade” (GRAD
in CSS) is an axis found in some variable fonts that can be used to alter stroke thicknesses (or other forms) without affecting the type’s overall width, inter-letter spacing, or kerning—unlike altering weight. This means there are no changes to line breaks or page layout.
The Google Fonts CSS v2 API defines the axis as:
Default: | Min: | Max: | Step: |
---|---|---|---|
0 | -1000 | 1000 | 1 |
Negative grade makes the style lighter, while positive grade makes it heavier. The units are the same as in the weight (wght
) axis.
In line with the current CSS spec, all custom axes should be referenced in UPPERCASE (only the officially registered variable axes should appear in lowercase). Also, when using the Google Fonts API, the uppercase axes have to appear first in the URL.