Browse Source

made buttons uppercase by default (#4401)

Maggie 4 năm trước cách đây
mục cha
commit
dbdf87e685
2 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 2 1
      skatepark/child-theme.json
  2. 2 1
      skatepark/theme.json

+ 2 - 1
skatepark/child-theme.json

@@ -222,7 +222,8 @@
 					"fontFamily": "var(--wp--preset--font-family--red-hat-display)",
 					"fontSize": "var(--wp--custom--button--typography--font-size)",
 					"fontWeight": "var(--wp--custom--button--typography--font-weight)",
-					"letterSpacing": "0.1em"
+					"letterSpacing": "0.1em",
+					"textTransform": "uppercase"
 				}
 			},
 			"core/post-title": {

+ 2 - 1
skatepark/theme.json

@@ -404,7 +404,8 @@
 					"fontSize": "var(--wp--custom--button--typography--font-size)",
 					"fontWeight": "var(--wp--custom--button--typography--font-weight)",
 					"lineHeight": "var(--wp--custom--button--typography--line-height)",
-					"letterSpacing": "0.1em"
+					"letterSpacing": "0.1em",
+					"textTransform": "uppercase"
 				}
 			},
 			"core/code": {