瀏覽代碼

fixed wrong font sizes for the theme (#4929)

* fixed wrong font sizes for the theme

* use custom font size tiny
Maggie 3 年之前
父節點
當前提交
40f38d8c65
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      skatepark/child-theme.json
  2. 2 2
      skatepark/theme.json

+ 2 - 2
skatepark/child-theme.json

@@ -184,7 +184,7 @@
 				}
 			},
 			"fontSizes": {
-				"tiny": "16px"
+				"tiny": "14px"
 			},
 			"gap": {
 				"baseline": "10px"
@@ -370,7 +370,7 @@
 			"h4": {
 				"typography": {
 					"fontFamily": "var(--wp--preset--font-family--red-hat-display)",
-					"fontSize": "var(--wp--preset--font-size--small)",
+					"fontSize": "var(--wp--preset--font-size--normal)",
 					"fontWeight": "900",
 					"letterSpacing": "0.1em",
 					"lineHeight": "1.3",

+ 2 - 2
skatepark/theme.json

@@ -188,7 +188,7 @@
 				}
 			],
 			"fontSizes": {
-				"tiny": "16px"
+				"tiny": "14px"
 			},
 			"form": {
 				"padding": "calc( 0.5 * var(--wp--custom--gap--horizontal) )",
@@ -629,7 +629,7 @@
 					"fontFamily": "var(--wp--preset--font-family--red-hat-display)",
 					"fontWeight": "900",
 					"lineHeight": "1.3",
-					"fontSize": "var(--wp--preset--font-size--small)",
+					"fontSize": "var(--wp--preset--font-size--normal)",
 					"letterSpacing": "0.1em",
 					"textTransform": "uppercase"
 				},