Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Theme JSON schema: Add defaultPresets property to shadow
  • Loading branch information
t-hamano committed Mar 20, 2023
commit 5c1dced6be6309a37c65bb56226050689e18993c
8 changes: 7 additions & 1 deletion schemas/json/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -97,7 +102,8 @@
"additionalProperties": false
}
}
}
},
"additionalProperties": false
}
}
},
Expand Down