Browse Source

Replace colors with variables

Alex Lende 3 years ago
parent
commit
6652691732
1 changed files with 3 additions and 3 deletions
  1. 3 3
      rainfall/theme.json

+ 3 - 3
rainfall/theme.json

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