Skip to content

Commit d96277c

Browse files
committed
Theme.json: Add default values for settings.spacing.spacingScale
1 parent bd3eb9b commit d96277c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

schemas/json/theme.json

+10-5
Original file line numberDiff line numberDiff line change
@@ -270,19 +270,23 @@
270270
"operator": {
271271
"description": "With + or * depending on whether scale is generated by increment or mulitplier.",
272272
"type": "string",
273-
"enum": [ "+", "*" ]
273+
"enum": [ "+", "*" ],
274+
"default": "*"
274275
},
275276
"increment": {
276277
"description": "The amount to increment each step by.",
277-
"type": "number"
278+
"type": "number",
279+
"default": 1.5
278280
},
279281
"steps": {
280282
"description": "Number of steps to generate in scale.",
281-
"type": "integer"
283+
"type": "integer",
284+
"default": 7
282285
},
283286
"mediumStep": {
284287
"description": "The value to medium setting in the scale.",
285-
"type": "number"
288+
"type": "number",
289+
"default": 1.5
286290
},
287291
"unit": {
288292
"description": "Unit that the scale uses, eg. rem, em, px.",
@@ -294,7 +298,8 @@
294298
"vh",
295299
"vw",
296300
"%"
297-
]
301+
],
302+
"default": "rem"
298303
}
299304
},
300305
"additionalProperties": false

0 commit comments

Comments
 (0)