-
Notifications
You must be signed in to change notification settings - Fork 1
/
.tokens-tofigmarc.schema.json
59 lines (59 loc) · 1.52 KB
/
.tokens-tofigmarc.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://kickstartds.com/tokens-tofigma.schema.json",
"type": "object",
"title": "kickstartDS Token to Figma task",
"required": ["categories", "overwrite"],
"properties": {
"categories": {
"$id": "#/properties/categories",
"type": "array",
"uniqueItems": true,
"minItems": 1,
"title": "Token categories",
"items": {
"type": "string",
"enum": [
"background-color",
"border",
"box-shadow",
"breakpoints",
"color",
"depth",
"spacing",
"text-color",
"transition",
"typo"
]
},
"default": [
"background-color",
"border",
"box-shadow",
"breakpoints",
"color",
"depth",
"spacing",
"text-color",
"transition",
"typo"
],
"examples": [
["background-color", "color", "text-color"],
["border", "box-shadow", "depth"],
["spacing", "typo"]
],
"description": "Select all token categories that should get generated",
"question": "Which of the following categories should be generated"
},
"overwrite": {
"$id": "#/properties/overwrite",
"type": "boolean",
"default": false,
"title": "Overwrite values",
"description": "Whether to write over existing tokens",
"question": "Should existing tokens be overwritten"
}
}
}