浏览代码

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 年之前
父节点
当前提交
214c6d19d1
共有 1 个文件被更改,包括 6 次插入4 次删除
  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
 			}