瀏覽代碼

add font display to font definitions (#5785)

Maggie 3 年之前
父節點
當前提交
e07864e7b7
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      pendant/theme.json

+ 6 - 0
pendant/theme.json

@@ -93,6 +93,7 @@
 					"name": "Body (System Font)",
 					"fontFace": [
 						{
+                            "fontDisplay": "block",
 							"fontFamily": "Jost",
 							"fontWeight": "300 400",
 							"fontStyle": "normal",
@@ -102,6 +103,7 @@
 							]
 						},
 						{
+                            "fontDisplay": "block",
 							"fontFamily": "Jost",
 							"fontWeight": "500 600",
 							"fontStyle": "normal",
@@ -118,6 +120,7 @@
 					"name": "Headings (System Font)",
 					"fontFace": [
 						{
+                            "fontDisplay": "block",
 							"fontFamily": "Literata",
 							"fontWeight": "400",
 							"fontStyle": "normal",
@@ -127,6 +130,7 @@
 							]
 						},
 						{
+                            "fontDisplay": "block",
 							"fontFamily": "Literata",
 							"fontWeight": "400",
 							"fontStyle": "italic",
@@ -136,6 +140,7 @@
 							]
 						},
 						{
+                            "fontDisplay": "block",
 							"fontFamily": "Literata",
 							"fontWeight": "800 900",
 							"fontStyle": "normal",
@@ -145,6 +150,7 @@
 							]
 						},
 						{
+                            "fontDisplay": "block",
 							"fontFamily": "Literata",
 							"fontWeight": "800 900",
 							"fontStyle": "italic",