Browse Source

Rename to primary and secondary.

Jeff Ong 4 years ago
parent
commit
1e19d63928
1 changed files with 13 additions and 20 deletions
  1. 13 20
      blank-canvas-blocks/experimental-theme.json

+ 13 - 20
blank-canvas-blocks/experimental-theme.json

@@ -108,13 +108,13 @@
 				"fontFamilies": [
 				"fontFamilies": [
 					{
 					{
 						"fontFamily": "Helvetica, Arial, sans-serif",
 						"fontFamily": "Helvetica, Arial, sans-serif",
-						"slug": "headings",
-						"name": "Headings"
+						"slug": "primary",
+						"name": "Primary"
 					},
 					},
 					{
 					{
 						"fontFamily": "Georgia, Times, serif",
 						"fontFamily": "Georgia, Times, serif",
-						"slug": "base",
-						"name": "Base"
+						"slug": "secondary",
+						"name": "Secondary"
 					}
 					}
 				]
 				]
 			},
 			},
@@ -151,7 +151,7 @@
 				},
 				},
 				"button": {
 				"button": {
 					"font-weight": "600",
 					"font-weight": "600",
-					"font-family": "var(--wp--preset--font-family--headings)",
+					"font-family": "var(--wp--preset--font-family--primary)",
 					"font-size": "var(--wp--preset--font-size--small)",
 					"font-size": "var(--wp--preset--font-size--small)",
 					"border-radius": "4px",
 					"border-radius": "4px",
 					"color": {
 					"color": {
@@ -186,7 +186,7 @@
 			"typography": {
 			"typography": {
 				"fontSize": "var(--wp--preset--font-size--normal)",
 				"fontSize": "var(--wp--preset--font-size--normal)",
 				"lineHeight": "var(--wp--custom--line-height--body)",
 				"lineHeight": "var(--wp--custom--line-height--body)",
-				"fontFamily": "var(--wp--preset--font-family--base)"
+				"fontFamily": "var(--wp--preset--font-family--primary)"
 			}
 			}
 		},
 		},
 		"core/button": {
 		"core/button": {
@@ -198,50 +198,43 @@
 		"core/heading/h1": {
 		"core/heading/h1": {
 			"typography": {
 			"typography": {
 				"fontSize": "var(--wp--preset--font-size--huge)",
 				"fontSize": "var(--wp--preset--font-size--huge)",
-				"lineHeight": "var(--wp--custom--line-height--headings)",
-				"fontFamily": "var(--wp--preset--font-family--headings)"
+				"lineHeight": "var(--wp--custom--line-height--headings)"
 			}
 			}
 		},
 		},
 		"core/heading/h2": {
 		"core/heading/h2": {
 			"typography": {
 			"typography": {
 				"fontSize": "var(--wp--preset--font-size--huge)",
 				"fontSize": "var(--wp--preset--font-size--huge)",
-				"lineHeight": "var(--wp--custom--line-height--headings)",
-				"fontFamily": "var(--wp--preset--font-family--headings)"
+				"lineHeight": "var(--wp--custom--line-height--headings)"
 			}
 			}
 		},
 		},
 		"core/heading/h3": {
 		"core/heading/h3": {
 			"typography": {
 			"typography": {
 				"fontSize": "var(--wp--preset--font-size--large)",
 				"fontSize": "var(--wp--preset--font-size--large)",
-				"lineHeight": "var(--wp--custom--line-height--headings)",
-				"fontFamily": "var(--wp--preset--font-family--headings)"
+				"lineHeight": "var(--wp--custom--line-height--headings)"
 			}
 			}
 		},
 		},
 		"core/heading/h4": {
 		"core/heading/h4": {
 			"typography": {
 			"typography": {
 				"fontSize": "24px",
 				"fontSize": "24px",
-				"lineHeight": "var(--wp--custom--line-height--headings)",
-				"fontFamily": "var(--wp--preset--font-family--headings)"
+				"lineHeight": "var(--wp--custom--line-height--headings)"
 			}
 			}
 		},
 		},
 		"core/heading/h5": {
 		"core/heading/h5": {
 			"typography": {
 			"typography": {
 				"fontSize": "var(--wp--preset--font-size--normal)",
 				"fontSize": "var(--wp--preset--font-size--normal)",
-				"lineHeight": "var(--wp--custom--line-height--headings)",
-				"fontFamily": "var(--wp--preset--font-family--headings)"
+				"lineHeight": "var(--wp--custom--line-height--headings)"
 			}
 			}
 		},
 		},
 		"core/heading/h6": {
 		"core/heading/h6": {
 			"typography": {
 			"typography": {
 				"fontSize": "var(--wp--preset--font-size--small)",
 				"fontSize": "var(--wp--preset--font-size--small)",
-				"lineHeight": "var(--wp--custom--line-height--headings)",
-				"fontFamily": "var(--wp--preset--font-family--headings)"
+				"lineHeight": "var(--wp--custom--line-height--headings)"
 			}
 			}
 		},
 		},
 		"core/post-title/h1": {
 		"core/post-title/h1": {
 			"typography": {
 			"typography": {
 				"fontSize": "var(--wp--preset--font-size--huge)",
 				"fontSize": "var(--wp--preset--font-size--huge)",
-				"lineHeight": "var(--wp--custom--line-height--headings)",
-				"fontFamily": "var(--wp--preset--font-family--headings)"
+				"lineHeight": "var(--wp--custom--line-height--headings)"
 			}
 			}
 		},
 		},
 		"core/post-date": {
 		"core/post-date": {