* 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
@@ -41,7 +41,6 @@ body {
*/
a {
- color: var(--wp--preset--color--foreground);
text-decoration-thickness: 0.075ex;
text-underline-offset: 0.125em;
}
@@ -306,6 +306,11 @@
"right": "calc(1.333em + 2px)"
+ },
+ "link": {
+ "color": {
+ "text": "var(--wp--preset--color--foreground)"
+ }
},
"spacing": {