Переглянути джерело

Videomaker: Fix fonts (#5089)

* Videomaker: Fix fonts

* add missing comma
Ben Dwyer 3 роки тому
батько
коміт
298aa8b7b0
1 змінених файлів з 1 додано та 16 видалено
  1. 1 16
      videomaker/theme.json

+ 1 - 16
videomaker/theme.json

@@ -157,11 +157,6 @@
 	},
 	"styles": {
 		"blocks": {
-			"core/button": {
-				"typography": {
-					"fontFamily": "var(--wp--preset--font-family--inter)"
-				}
-			},
 			"core/navigation-link": {
 				"color": {
 					"background": "transparent",
@@ -180,8 +175,7 @@
 			},
 			"core/post-title": {
 				"typography": {
-					"fontSize": "var(--wp--preset--font-size--huge)",
-					"fontFamily": "var(--wp--preset--font-family--inter)"
+					"fontSize": "var(--wp--preset--font-size--huge)"
 				}
 			},
 			"core/site-tagline": {
@@ -198,7 +192,6 @@
 		"elements": {
 			"h1": {
 				"typography": {
-					"fontFamily": "var(--wp--preset--font-family--inter)",
 					"fontWeight": 600
 				},
 				"spacing": {
@@ -210,7 +203,6 @@
 			},
 			"h2": {
 				"typography": {
-					"fontFamily": "var(--wp--preset--font-family--inter)",
 					"fontWeight": 600
 				},
 				"spacing": {
@@ -222,7 +214,6 @@
 			},
 			"h3": {
 				"typography": {
-					"fontFamily": "var(--wp--preset--font-family--inter)",
 					"fontWeight": 600
 				},
 				"spacing": {
@@ -234,7 +225,6 @@
 			},
 			"h4": {
 				"typography": {
-					"fontFamily": "var(--wp--preset--font-family--inter)",
 					"fontWeight": 600
 				},
 				"spacing": {
@@ -246,7 +236,6 @@
 			},
 			"h5": {
 				"typography": {
-					"fontFamily": "var(--wp--preset--font-family--inter)",
 					"fontWeight": 600
 				},
 				"spacing": {
@@ -258,7 +247,6 @@
 			},
 			"h6": {
 				"typography": {
-					"fontFamily": "var(--wp--preset--font-family--inter)",
 					"fontWeight": 600
 				},
 				"spacing": {
@@ -268,9 +256,6 @@
 					}
 				}
 			}
-		},
-		"typography": {
-			"fontFamily": "var(--wp--preset--font-family--inter)"
 		}
 	}
 }