Skip to content

Commit

Permalink
Revert "Remove the (now unnecessary) behaviors schemas for the settin…
Browse files Browse the repository at this point in the history
…gs."

This reverts commit 232dc4f.
  • Loading branch information
michalczaplinski committed Jul 6, 2023
1 parent 6ca3a12 commit b2d4d63
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions schemas/json/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -672,9 +672,27 @@
}
}
},
"settingsPropertiesBehaviors": {
"type": "object",
"properties": {
"behaviors": {
"description": "Settings related to behaviors.",
"type": "object",
"properties": {
"lightbox": {
"description": "Allow users to enable/disable lightbox.",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
}
},
"settingsProperties": {
"allOf": [
{ "$ref": "#/definitions/settingsPropertiesAppearanceTools" },
{ "$ref": "#/definitions/settingsPropertiesBehaviors" },
{ "$ref": "#/definitions/settingsPropertiesBorder" },
{ "$ref": "#/definitions/settingsPropertiesColor" },
{ "$ref": "#/definitions/settingsPropertiesDimensions" },
Expand All @@ -695,6 +713,7 @@
{
"properties": {
"appearanceTools": {},
"behaviors": {},
"border": {},
"color": {},
"dimensions": {},
Expand Down

0 comments on commit b2d4d63

Please sign in to comment.