瀏覽代碼

Add button styling

Dennis Snell 3 年之前
父節點
當前提交
fed695a642
共有 1 個文件被更改,包括 19 次插入0 次删除
  1. 19 0
      rainfall/theme.json

+ 19 - 0
rainfall/theme.json

@@ -65,6 +65,25 @@
 			"fontFamily": "var(--wp--preset--font-family--helvetica-neue)"
 		},
 		"elements": {
+			"button": {
+				"border": {
+					"radius": "0"
+				},
+				"color": {
+					"background": "black"
+				},
+				"spacing": {
+					"padding": {
+						"left": "33",
+						"right": "33",
+						"bottom": "18",
+						"top": "18"
+					}
+				},
+				"typography": {
+					"textTransform": "uppercase"
+				}
+			},
 			"link": {
 				"color": {
 					"text": "var(--wp--preset--color--black)"