Browse Source

Archeo: Add core block settings (#5519)

* Add default comment block styles

* Add default separator block styles

* Add default pullquote styles

* Add default quote styles

* Add CSS for quote blocks

* Add post-nav-link a style back

Accidentally removed during merge!

* Remove custom CSS

* Set 1px border on quote block

* Remove font size setting from pullquote

* Remove text transform setting for pullquote
Sarah Norris 3 years ago
parent
commit
31e8d63895
1 changed files with 42 additions and 0 deletions
  1. 42 0
      archeo/theme.json

+ 42 - 0
archeo/theme.json

@@ -118,6 +118,23 @@
 					"lineHeight": "1.1"
 				}
 			},
+			"core/post-comments": {
+				"elements": {
+					"h3": {
+						"typography": {
+							"textTransform": "uppercase"
+						}
+					}
+				},
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--small)"
+				},
+				"spacing": {
+					"padding": {
+						"top": "var(--wp--custom--spacing--small)"
+					}
+				}
+			},
 			"core/post-navigation-link": {
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--medium)",
@@ -125,6 +142,31 @@
 					"textTransform": "uppercase"
 				}
 			},
+			"core/pullquote": {
+				"border": {
+					"width": "0"
+				},
+				"spacing": {
+					"padding": {
+						"top": "var(--wp--custom--spacing--medium)",
+						"bottom": "var(--wp--custom--spacing--medium)"
+					}
+				},
+				"typography": {
+					"fontWeight": "100",
+					"lineHeight": "1.2"
+				}
+			},
+			"core/quote": {
+				"border": {
+					"width": "1px"
+				}
+			},
+			"core/separator": {
+				"color": {
+					"background": "var(--wp--preset--color--foreground)"
+				}
+			},
 			"core/site-title": {
 				"typography": {
 					"fontSize": "var(--wp--preset--font-size--normal)",