diff --git a/docs/reference-guides/theme-json-reference/theme-json-living.md b/docs/reference-guides/theme-json-reference/theme-json-living.md index b526486d95242..164cacfd47612 100644 --- a/docs/reference-guides/theme-json-reference/theme-json-living.md +++ b/docs/reference-guides/theme-json-reference/theme-json-living.md @@ -59,6 +59,7 @@ Settings related to shadows. | Property | Type | Default | Props | | --- | --- | --- |--- | +| defaultPresets | boolean | true | | | presets | array | | name, shadow, slug | --- diff --git a/schemas/json/theme.json b/schemas/json/theme.json index 19ca0097a10f3..3cebf7187565f 100644 --- a/schemas/json/theme.json +++ b/schemas/json/theme.json @@ -74,6 +74,11 @@ "description": "Settings related to shadows.", "type": "object", "properties": { + "defaultPresets": { + "description": "Allow users to choose shadows from the default shadow presets.", + "type": "boolean", + "default": true + }, "presets": { "description": "Shadow presets for the shadow picker.\nGenerates a single custom property (`--wp--preset--shadow--{slug}`) per preset value.", "type": "array", @@ -97,7 +102,8 @@ "additionalProperties": false } } - } + }, + "additionalProperties": false } } },