json 将Google自定义字体添加到settings_schema.json文件 - https://www.shopify.com/partners/blog/web-fonts-to-enh
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json 将Google自定义字体添加到settings_schema.json文件 - https://www.shopify.com/partners/blog/web-fonts-to-enh相关的知识,希望对你有一定的参考价值。
{
"name": "Typography",
"settings": [
{
"type": "header",
"content": "Headings and buttons"
},
{
"type": "select",
"id": "type_header_family",
"label": "Font",
"default": "Fira Sans",
"options": [
{
"value": "'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",
"label": "Helvetica Neue",
"group": "Sans-serif"
},
{
"value": "Arial, 'Helvetica Neue', Helvetica, sans-serif",
"label": "Arial",
"group": "Sans-serif"
},
{
"value": "'Fira Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",
"label": "Fira Sans",
"group": "Sans-serif | Google Web Fonts"
},
{
"value": "'Playfair Display', serif",
"label": "Playfair Display",
"group": "Serif | Google Web Fonts"
},
{
"value": "Google_Alice_serif",
"label": "Alice",
"group": "Sans-serif | Google Web Fonts"
}
]
},
以上是关于json 将Google自定义字体添加到settings_schema.json文件 - https://www.shopify.com/partners/blog/web-fonts-to-enh的主要内容,如果未能解决你的问题,请参考以下文章
将字体添加到自定义 Android TextView
将 Google Web 字体用于自定义 WordPress 主题
Flutter Widget - Font自定义字体(google_fonts)
php 将字体添加到GP自定义程序
如何将自定义字体添加到我的应用程序? [复制]
如何将自定义字体系列添加到 react-reader npm