瀏覽代碼

Fix heading color. (#7240)

Jeff Ong 2 年之前
父節點
當前提交
733d91692d
共有 1 個文件被更改,包括 3 次插入18 次删除
  1. 3 18
      iotix/theme.json

+ 3 - 18
iotix/theme.json

@@ -670,54 +670,39 @@
 				}
 			},
 			"h1": {
-				"color": {
-					"text": "Primary"
-				},
 				"typography": {
 					"fontSize": "3rem"
 				}
 			},
 			"h2": {
-				"color": {
-					"text": "Primary"
-				},
 				"typography": {
 					"fontSize": "2.4rem"
 				}
 			},
 			"h3": {
-				"color": {
-					"text": "Primary"
-				},
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--large)"
 				}
 			},
 			"h4": {
-				"color": {
-					"text": "Primary"
-				},
 				"typography": {
 					"fontSize": "1.7rem"
 				}
 			},
 			"h5": {
-				"color": {
-					"text": "Primary"
-				},
 				"typography": {
 					"fontSize": "1.4rem"
 				}
 			},
 			"h6": {
-				"color": {
-					"text": "Primary"
-				},
 				"typography": {
 					"fontSize": "1.2rem"
 				}
 			},
 			"heading": {
+				"color": {
+					"text": "var(--wp--preset--color--primary)"
+				},
 				"typography": {
 					"fontStyle": "normal",
 					"fontWeight": "700",