-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
65 lines (65 loc) · 1.5 KB
/
config.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
60
61
62
63
64
65
{
"source": ["tokens/**/*.json"],
"platforms": {
"hearth-web": {
"transformGroup": "js",
"transforms": ["name/ti/camel", "attribute/cti"],
"files": [
{
"format": "javascript/es6",
"destination": "tokens/colors.ts",
"filter": {
"attributes": {
"category": "color"
}
}
},
{
"format": "typescript/es6-declarations",
"destination": "tokens/colors.d.ts",
"filter": {
"attributes": {
"category": "color"
}
}
},
{
"format": "javascript/es6",
"destination": "tokens/typography.ts",
"filter": {
"attributes": {
"category": "typography"
}
}
},
{
"format": "typescript/es6-declarations",
"destination": "tokens/typography.d.ts",
"filter": {
"attributes": {
"category": "typography"
}
}
},
{
"format": "javascript/es6",
"destination": "tokens/font.ts",
"filter": {
"attributes": {
"category": "font"
}
}
},
{
"format": "typescript/es6-declarations",
"destination": "tokens/font.d.ts",
"filter": {
"attributes": {
"category": "font"
}
}
}
]
}
}
}