소스 검색

Add Link color and typography element styles.

Matías Ventura 3 년 전
부모
커밋
33d58a056a
1개의 변경된 파일19개의 추가작업 그리고 0개의 파일을 삭제
  1. 19 0
      rainfall/theme.json

+ 19 - 0
rainfall/theme.json

@@ -1,4 +1,5 @@
 {
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
 	"settings": {
 		"appearanceTools": true,
         "color": {
@@ -52,6 +53,24 @@
 	"styles": {
 		"typography": {
 			"fontFamily": "var(--wp--preset--font-family--helvetica-neue)"
+		},
+		"elements": {
+			"link": {
+				"color": {
+					"text": "#000"
+				},
+				"typography": {
+					"textDecoration": "underline"
+				},
+				":hover": {
+					"color": {
+						"text": "#636363"
+					},
+					"typography": {
+						"textDecoration": "none"
+					}
+				}
+			}
 		}
 	},
 	"templateParts": [