font
A font from a setting.
You can use the font object in Liquid assets or inside a style tag
to apply font setting values to theme CSS.
Use font filters to modify properties of the font object, load the font,
or obtain font variants.
Use font filters to modify properties of the font object, load the font,
or obtain font variants.
Tip: Use <a href="/docs/api/liquid/filters/font-filters">font filters</a> to modify properties of the <code>font</code> object, load the font, or obtain font variants.
Properties
The family name of the font.
TipIf the family name contains non-alphanumeric characters (A-Z, a-z, 0-9, or '-'), then it will be wrapped in double quotes.
Tip:If the family name contains non-alphanumeric characters (A-Z, a-z, 0-9, or '-'), then it will be wrapped in double quotes.
Tip: If the family name contains non-alphanumeric characters (A-Z, a-z, 0-9, or '-'), then it will be wrapped in double quotes.
Returns
trueif the font is a system font. Returnsfalseif not.TipYou can use this property to determine whether you need to include a corresponding font-face declaration for the font.
Tip:You can use this property to determine whether you need to include a corresponding font-face declaration for the font.
Tip: You can use this property to determine whether you need to include a corresponding <a href="/docs/api/liquid/filters/font_face">font-face</a> declaration for the font.
Example
{
"baseline_ratio": 0.133,
"fallback_families": "sans-serif",
"family": "Assistant",
"style": "normal",
"system?": false,
"variants": {},
"weight": "400"
}