-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
128 lines (128 loc) · 2.91 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"source": ["tokens/**/*.json"],
"platforms": {
"css": {
"transformGroup": "css",
"buildPath": "build/css/",
"prefix": "xpl",
"files": [
{
"destination": "variables.css",
"format": "css/variables",
"fileHeader": "myFileHeader",
"options": {
"showFileHeader": false,
"outputReferences": true
}
}
]
},
"scss": {
"transformGroup": "scss",
"buildPath": "build/scss/",
"prefix": "xpl",
"files": [
{
"destination": "_variables.scss",
"format": "scss/variables",
"options": {
"showFileHeader": true,
"outputReferences": true
}
}
]
},
"js": {
"buildPath": "build/js/",
"transformGroup": "js",
"files": [
{
"destination": "colors.js",
"format": "javascript/umd",
"filter": {
"attributes": {
"category": "color"
}
},
"options": {
"outputReferences": true
}
},
{
"destination": "font.js",
"format": "javascript/umd",
"filter": {
"attributes": {
"category": "font"
}
},
"options": {
"outputReferences": true
}
}
]
},
"android": {
"transformGroup": "android",
"buildPath": "build/android/",
"prefix": "xpl",
"files": [
{
"destination": "font_dimens.xml",
"format": "android/resources",
"filter": {
"attributes": {
"category": "size"
}
}
},
{
"destination": "colors.xml",
"format": "android/resources",
"options": {
"outputReferences": true
},
"filter": {
"attributes": {
"category": "color"
}
}
}
]
},
"ios-swift-separate-enums": {
"transformGroup": "ios-swift-separate",
"buildPath": "build/ios/",
"prefix": "xpl",
"files": [
{
"destination": "StyleDictionaryColor.swift",
"format": "ios-swift/enum.swift",
"className": "StyleDictionaryColor",
"options": {
"outputReferences": true
},
"filter": {
"attributes": {
"category": "color"
}
}
},
{
"destination": "StyleDictionaryFont.swift",
"format": "ios-swift/enum.swift",
"className": "StyleDictionaryFont",
"type": "float",
"options": {
"outputReferences": true
},
"filter": {
"attributes": {
"category": "size"
}
}
}
]
}
}
}