Просмотр исходного кода

[Test] Archeo link interactivity states (#6101)

* Move link text color to theme json and add hover

* Add link hover state to Core Nav block

* Remove Nav link styles from Theme JSON
Dave Smith 3 лет назад
Родитель
Сommit
8ac496ee80
2 измененных файлов с 5 добавлено и 1 удалено
  1. 0 1
      archeo/style.css
  2. 5 0
      archeo/theme.json

+ 0 - 1
archeo/style.css

@@ -41,7 +41,6 @@ body {
  */
 
 a {
-	color: var(--wp--preset--color--foreground);
 	text-decoration-thickness: 0.075ex;
 	text-underline-offset: 0.125em;
 }

+ 5 - 0
archeo/theme.json

@@ -306,6 +306,11 @@
 						"right": "calc(1.333em + 2px)"
 					}
 				}
+			},
+			"link": {
+				"color": {
+					"text": "var(--wp--preset--color--foreground)"
+				}
 			}
 		},
 		"spacing": {