font
来自 font_picker setting 的字体。
📘 提示
使用 font filters 修改 font object 的属性或加载字体。
| Properties | Type | Description |
|---|---|---|
fallback_families | string | 字体的后备字体系列。 |
family | string | 字体的字体系列名称。 |
font_face | string | 该字体可以在 style 中使用 font_face 加载。 |
handle | string | 字体的 handle。 |
style | string | 字体的样式。 |
weight | number | 字体的粗细。 |
{
"fallback_families": "sans-serif",
"family": "Jost",
"font_face": "@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/jost/v13/92zPtBhPNqw79Ij1E865zBUv7myjJTVBNIg.woff2) format('woff2');}",
"handle": "jost_n4",
"style": "normal",
"weight": 400
}