ソースを参照

Migrate antonia fonts to new Blockbase format (#6268)

Jason Crist 3 年 前
コミット
5be32efd76
1 ファイル変更3 行追加18 行削除
  1. 3 18
      antonia/theme.json

+ 3 - 18
antonia/theme.json

@@ -11,6 +11,7 @@
 		"blocks": {
 			"core/heading": {
 				"typography": {
+                    			"fontFamily": "var:preset|font-family|dm-sans",
 					"fontStyle": "normal",
 					"lineHeight": "1.4",
 					"fontWeight": "300"
@@ -18,6 +19,7 @@
 			},
 			"core/post-title": {
 				"typography": {
+                    			"fontFamily": "var:preset|font-family|dm-sans",
 					"lineHeight": "1.4"
 				}
 			},
@@ -28,6 +30,7 @@
 			}
 		},
 		"typography": {
+            		"fontFamily": "var:preset|font-family|inter",
 			"fontStyle": "normal",
 			"fontWeight": "400",
 			"fontSize": "var:preset|font-size|small"
@@ -69,24 +72,6 @@
 					"name": "Tertiary"
 				}
 			]
-		},
-		"typography": {
-			"fontFamilies": [
-				{
-					"fontFamily": "\"Inter\", sans-serif",
-					"slug": "body-font",
-					"name": "Body (Inter)",
-					"google": "family=Inter:wght@100..900",
-					"fontSlug": "inter"
-				},
-				{
-					"fontFamily": "\"DM Sans\", sans-serif",
-					"slug": "heading-font",
-					"name": "Heading (DM Sans)",
-					"google": "family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700",
-					"fontSlug": "dm-sans"
-				}
-			]
 		}
 	}
 }