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.
Tip
Use font filters to modify properties of the font
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.
Returns
true
if the font is a system font. Returnsfalse
if not.TipYou can use this property to determine whether you need to include a corresponding font-face declaration for the font.
{
"baseline_ratio": 0.133,
"fallback_families": "sans-serif",
"family": "Assistant",
"style": "normal",
"system?": false,
"variants": {},
"weight": "400"
}
{
"baseline_ratio": 0.133,
"fallback_families": "sans-serif",
"family": "Assistant",
"style": "normal",
"system?": false,
"variants": {},
"weight": "400"
}
Was this section helpful?