Ver código fonte

Update shame of theme.json file

In accordance with
https://github.com/WordPress/gutenberg/pull/28110

the theme.json file has been updated to reflect the new expected shape.
Jason Crist 4 anos atrás
pai
commit
214c6d19d1
1 arquivos alterados com 6 adições e 4 exclusões
  1. 6 4
      spearhead/experimental-theme.json

+ 6 - 4
spearhead/experimental-theme.json

@@ -1,12 +1,14 @@
 
 {
-	"global": {
-        "styles": {
+    "styles": {
+		"root": {
             "color": {
                 "link": "var( --global--color-primary )"
             }
-        },
-		"settings": {
+		}
+	},
+	"settings": {
+		"defaults": {
 			"border": {
         		"customRadius": true
 			}