-
Notifications
You must be signed in to change notification settings - Fork 1
/
style-config.json
62 lines (62 loc) · 1.48 KB
/
style-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
{
"source": ["tokens/**/*.json"],
"platforms": {
"web": {
"transformGroup": "web-custom",
"buildPath": "build/web/",
"files": [
{
"destination": "less/variables.less",
"format": "less/variables",
"options": {
"showFileHeader": false
}
},
{
"destination": "json/variables.json",
"format": "json/nested"
}
],
"actions": ["copy_icons_web"]
},
"ios-swift": {
"transformGroup": "swift-custom",
"buildPath": "build/ios/",
"files": [
{
"destination": "Classes/Tokens.swift",
"format": "swift/tokens"
}
]
},
"ios-fonts": {
"buildPath": "build/ios/Fonts/",
"target": "ios",
"actions": ["copy_fonts"]
},
"ios-icons": {
"buildPath": "build/ios/Assets/Icons.xcassets/Icons/",
"actions": ["copy_icons_ios"]
},
"android": {
"transformGroup": "android-custom",
"buildPath": "build/android/app/src/main/res/",
"files": [
{
"destination": "values/tokens.xml",
"format": "android/tokens"
}
]
},
"android-fonts": {
"buildPath": "build/android/app/src/main/res/font/",
"target": "android",
"actions": ["copy_fonts"]
},
"android-icons": {
"buildPath": "build/android/app/src/main/res/drawable/",
"target": "android",
"actions": ["copy_icons_android"]
}
}
}