浏览代码

Replace colors with variables

Alex Lende 3 年之前
父节点
当前提交
6652691732
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      rainfall/theme.json

+ 3 - 3
rainfall/theme.json

@@ -67,14 +67,14 @@
 		"elements": {
 		"elements": {
 			"link": {
 			"link": {
 				"color": {
 				"color": {
-					"text": "#000"
+					"text": "var(--wp--preset--color--black)"
 				},
 				},
 				"typography": {
 				"typography": {
 					"textDecoration": "underline"
 					"textDecoration": "underline"
 				},
 				},
 				":hover": {
 				":hover": {
 					"color": {
 					"color": {
-						"text": "#636363"
+						"text": "var(--wp--preset--color--dark-grey)"
 					},
 					},
 					"typography": {
 					"typography": {
 						"textDecoration": "none"
 						"textDecoration": "none"
@@ -82,7 +82,7 @@
 				},
 				},
 				":active": {
 				":active": {
 					"color": {
 					"color": {
-						"text": "#A43D00"
+						"text": "var(--wp--preset--color--brown)"
 					}
 					}
 				}
 				}
 			}
 			}