Преглед изворни кода

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": {
 			"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)"
 					}
 				}
 			}