-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
166 lines (164 loc) · 4.33 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"source": [
"tokens/**/*.json"
],
"platforms": {
"scss": {
"transformGroup": "scss",
"buildPath": "build/scss/",
"files": [{
"destination": "_variables.scss",
"format": "scss/variables"
}]
},
"css": {
"transformGroup": "css",
"buildPath": "build/css/",
"files": [
{
"destination": "_variables.css",
"format": "css/variables"
}
]
},
"js": {
"transformGroup": "js",
"buildPath": "build/js/",
"files": [
{
"destination": "variables.js",
"format": "javascript/es6"
}
]
},
"ios-swift": {
"transformGroup": "ios-swift",
"buildPath": "build/ios-swift/",
"files": [{
"destination": "StyleDictionary+Class.swift",
"format": "ios-swift/class.swift",
"className": "StyleDictionaryClass",
"filter": {}
},{
"destination": "StyleDictionary+Enum.swift",
"format": "ios-swift/enum.swift",
"className": "StyleDictionaryEnum",
"filter": {}
},{
"destination": "StyleDictionary+Struct.swift",
"format": "ios-swift/any.swift",
"className": "StyleDictionaryStruct",
"filter": {},
"options": {
"imports": "SwiftUI",
"objectType": "struct",
"accessControl": "internal"
}
}]
},
"ios": {
"transformGroup": "ios",
"buildPath": "ios/Classes/Generated/",
"prefix": "StyleDictionary",
"files": [{
"destination": "StyleDictionarySize.h",
"format": "ios/static.h",
"type": "float",
"className": "StyleDictionarySize",
"filter": {
"attributes": {
"category": "size"
}
}
},{
"destination": "StyleDictionarySize.m",
"format": "ios/static.m",
"type": "float",
"className": "StyleDictionarySize",
"filter": {
"attributes": {
"category": "size"
}
}
},{
"destination": "StyleDictionaryIcons.h",
"format": "ios/strings.h",
"className": "StyleDictionaryIcons",
"filter": {
"attributes": {
"category": "content",
"type": "icon"
}
}
},{
"destination": "StyleDictionaryIcons.m",
"format": "ios/strings.m",
"className": "StyleDictionaryIcons",
"filter": {
"attributes": {
"category": "content",
"type": "icon"
}
}
},
{
"destination": "StyleDictionaryColor.h",
"format": "ios/colors.h",
"className": "StyleDictionaryColor",
"type": "StyleDictionaryColorName",
"filter": {
"attributes": {
"category": "color"
}
}
},{
"destination": "StyleDictionaryColor.m",
"format": "ios/colors.m",
"className": "StyleDictionaryColor",
"type": "StyleDictionaryColorName",
"filter": {
"attributes": {
"category": "color"
}
}
},{
"destination": "StyleDictionaryProperties.h",
"format": "ios/singleton.h",
"className": "StyleDictionaryProperties"
},{
"destination": "StyleDictionaryProperties.m",
"format": "ios/singleton.m",
"className": "StyleDictionaryProperties"
}]
},
"android": {
"transformGroup": "android",
"buildPath": "android/styledictionary/src/main/res/values/",
"files": [{
"destination": "style_dictionary_colors.xml",
"format": "android/colors"
},{
"destination": "style_dictionary_font_dimens.xml",
"format": "android/fontDimens"
},{
"destination": "style_dictionary_dimens.xml",
"format": "android/dimens"
},{
"destination": "style_dictionary_integers.xml",
"format": "android/integers"
},{
"destination": "style_dictionary_strings.xml",
"format": "android/strings"
}]
},
"android-asset": {
"transformGroup": "android",
"buildPath": "android/styledictionary/src/main/",
"files": [{
"destination": "assets/data/properties.json",
"format": "json"
}],
"actions": ["copy_assets"]
}
}
}