@digdir/designsystemet 0.1.0-alpha.9 → 0.1.0-next.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/designsystemet.js +34 -0
- package/dist/src/colors/colorUtils.js +242 -0
- package/dist/src/colors/index.js +3 -0
- package/dist/src/colors/themeUtils.js +245 -0
- package/dist/src/colors/types.js +0 -0
- package/dist/src/init/createTokensPackage.js +250 -0
- package/dist/src/init/generateMetadataJson.js +19 -0
- package/dist/src/init/generateThemesJson.js +52 -0
- package/dist/src/init/index.js +10 -0
- package/dist/src/init/nextStepsMarkdown.js +92 -0
- package/dist/src/init/template/default-files/README.md +10 -0
- package/dist/src/init/template/default-files/design-tokens/README.md +3 -0
- package/dist/src/init/template/default-files/design-tokens/primitives/globals.json +197 -0
- package/dist/src/init/template/default-files/design-tokens/primitives/typography/default.json +86 -0
- package/dist/src/init/template/default-files/design-tokens/semantic/color.json +562 -0
- package/dist/src/init/template/default-files/design-tokens/semantic/style.json +543 -0
- package/dist/src/init/template/prettier.config.js +5 -0
- package/dist/src/init/template/template-files/design-tokens/primitives/colors/contrast/global.json +376 -0
- package/dist/src/init/template/template-files/design-tokens/primitives/colors/contrast/theme-template.json +314 -0
- package/dist/src/init/template/template-files/design-tokens/primitives/colors/dark/global.json +376 -0
- package/dist/src/init/template/template-files/design-tokens/primitives/colors/dark/theme-template.json +314 -0
- package/dist/src/init/template/template-files/design-tokens/primitives/colors/light/global.json +376 -0
- package/dist/src/init/template/template-files/design-tokens/primitives/colors/light/theme-template.json +314 -0
- package/dist/src/init/template/template-files/design-tokens/themes/theme-template.json +314 -0
- package/dist/src/init/template/template-files/package.json +24 -0
- package/dist/src/init/utils.js +15 -0
- package/dist/src/migrations/beta-to-v1.js +344 -0
- package/dist/src/migrations/codemods/css/plugins.js +47 -0
- package/dist/src/migrations/codemods/css/run.js +19 -0
- package/dist/src/migrations/codemods/jsx/classname-prefix.js +63 -0
- package/dist/src/migrations/codemods/jsx/run.js +22 -0
- package/dist/src/migrations/index.js +9 -0
- package/dist/src/migrations/react-beta-to-v1.js +5 -0
- package/dist/src/tokens/actions.js +33 -0
- package/dist/src/tokens/build.js +74 -0
- package/dist/src/tokens/configs.js +223 -0
- package/dist/src/tokens/formats/css.js +170 -0
- package/dist/src/tokens/formats/js-tokens.js +31 -0
- package/dist/src/tokens/transformers.js +47 -0
- package/dist/src/tokens/utils/noCase.js +24 -0
- package/dist/src/tokens/utils/permutateThemes.js +64 -0
- package/dist/src/tokens/utils/utils.js +14 -0
- package/package.json +21 -13
- package/LICENSE +0 -7
- package/dist/build/bin/designsystemet.js +0 -50
- package/dist/build/src/colors/colorUtils.js +0 -314
- package/dist/build/src/colors/index.js +0 -3
- package/dist/build/src/colors/themeUtils.js +0 -290
- package/dist/build/src/colors/types.js +0 -1
- package/dist/build/src/migrations/beta-to-v1.js +0 -341
- package/dist/build/src/migrations/codemods/css/plugins.js +0 -45
- package/dist/build/src/migrations/codemods/css/run.js +0 -17
- package/dist/build/src/migrations/codemods/jsx/classname-prefix.js +0 -80
- package/dist/build/src/migrations/codemods/jsx/run.js +0 -19
- package/dist/build/src/migrations/index.js +0 -6
- package/dist/build/src/migrations/react-beta-to-v1.js +0 -2
- package/dist/build/src/test/jsx-test.js +0 -10
- package/dist/build/src/tokens/actions.js +0 -20
- package/dist/build/src/tokens/build.js +0 -63
- package/dist/build/src/tokens/configs.js +0 -229
- package/dist/build/src/tokens/formats/css-classes.js +0 -50
- package/dist/build/src/tokens/formats/css-variables.js +0 -39
- package/dist/build/src/tokens/formats/js-tokens.js +0 -29
- package/dist/build/src/tokens/transformers.js +0 -42
- package/dist/build/src/tokens/utils/noCase.js +0 -30
- package/dist/build/src/tokens/utils/permutateThemes.js +0 -56
- package/dist/build/src/tokens/utils/utils.js +0 -21
- package/dist/build/tsconfig.tsbuildinfo +0 -1
- package/dist/types/bin/designsystemet.d.ts +0 -3
- package/dist/types/bin/designsystemet.d.ts.map +0 -1
- package/dist/types/src/colors/colorUtils.d.ts +0 -118
- package/dist/types/src/colors/colorUtils.d.ts.map +0 -1
- package/dist/types/src/colors/index.d.ts +0 -4
- package/dist/types/src/colors/index.d.ts.map +0 -1
- package/dist/types/src/colors/themeUtils.d.ts +0 -101
- package/dist/types/src/colors/themeUtils.d.ts.map +0 -1
- package/dist/types/src/colors/types.d.ts +0 -16
- package/dist/types/src/colors/types.d.ts.map +0 -1
- package/dist/types/src/migrations/beta-to-v1.d.ts +0 -3
- package/dist/types/src/migrations/beta-to-v1.d.ts.map +0 -1
- package/dist/types/src/migrations/codemods/css/plugins.d.ts +0 -6
- package/dist/types/src/migrations/codemods/css/plugins.d.ts.map +0 -1
- package/dist/types/src/migrations/codemods/css/run.d.ts +0 -8
- package/dist/types/src/migrations/codemods/css/run.d.ts.map +0 -1
- package/dist/types/src/migrations/codemods/jsx/classname-prefix.d.ts +0 -10
- package/dist/types/src/migrations/codemods/jsx/classname-prefix.d.ts.map +0 -1
- package/dist/types/src/migrations/codemods/jsx/run.d.ts +0 -7
- package/dist/types/src/migrations/codemods/jsx/run.d.ts.map +0 -1
- package/dist/types/src/migrations/index.d.ts +0 -6
- package/dist/types/src/migrations/index.d.ts.map +0 -1
- package/dist/types/src/migrations/react-beta-to-v1.d.ts +0 -3
- package/dist/types/src/migrations/react-beta-to-v1.d.ts.map +0 -1
- package/dist/types/src/test/jsx-test.d.ts +0 -4
- package/dist/types/src/test/jsx-test.d.ts.map +0 -1
- package/dist/types/src/tokens/actions.d.ts +0 -3
- package/dist/types/src/tokens/actions.d.ts.map +0 -1
- package/dist/types/src/tokens/build.d.ts +0 -11
- package/dist/types/src/tokens/build.d.ts.map +0 -1
- package/dist/types/src/tokens/configs.d.ts +0 -23
- package/dist/types/src/tokens/configs.d.ts.map +0 -1
- package/dist/types/src/tokens/formats/css-classes.d.ts +0 -6
- package/dist/types/src/tokens/formats/css-classes.d.ts.map +0 -1
- package/dist/types/src/tokens/formats/css-variables.d.ts +0 -3
- package/dist/types/src/tokens/formats/css-variables.d.ts.map +0 -1
- package/dist/types/src/tokens/formats/js-tokens.d.ts +0 -6
- package/dist/types/src/tokens/formats/js-tokens.d.ts.map +0 -1
- package/dist/types/src/tokens/transformers.d.ts +0 -5
- package/dist/types/src/tokens/transformers.d.ts.map +0 -1
- package/dist/types/src/tokens/utils/noCase.d.ts +0 -11
- package/dist/types/src/tokens/utils/noCase.d.ts.map +0 -1
- package/dist/types/src/tokens/utils/permutateThemes.d.ts +0 -7
- package/dist/types/src/tokens/utils/permutateThemes.d.ts.map +0 -1
- package/dist/types/src/tokens/utils/utils.d.ts +0 -17
- package/dist/types/src/tokens/utils/utils.d.ts.map +0 -1
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
{
|
|
2
|
+
"typography": {
|
|
3
|
+
"heading": {
|
|
4
|
+
"2xl": {
|
|
5
|
+
"type": "typography",
|
|
6
|
+
"value": {
|
|
7
|
+
"fontFamily": "{font-family.main}",
|
|
8
|
+
"fontWeight": "{font-weight.medium}",
|
|
9
|
+
"lineHeight": "{line-height.300}",
|
|
10
|
+
"fontSize": "{font-size.f7}"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"xl": {
|
|
14
|
+
"type": "typography",
|
|
15
|
+
"value": {
|
|
16
|
+
"fontFamily": "{font-family.main}",
|
|
17
|
+
"fontWeight": "{font-weight.medium}",
|
|
18
|
+
"lineHeight": "{line-height.300}",
|
|
19
|
+
"fontSize": "{font-size.f6}"
|
|
20
|
+
},
|
|
21
|
+
"description": "H1"
|
|
22
|
+
},
|
|
23
|
+
"lg": {
|
|
24
|
+
"type": "typography",
|
|
25
|
+
"value": {
|
|
26
|
+
"fontFamily": "{font-family.main}",
|
|
27
|
+
"fontWeight": "{font-weight.medium}",
|
|
28
|
+
"lineHeight": "{line-height.300}",
|
|
29
|
+
"fontSize": "{font-size.f5}"
|
|
30
|
+
},
|
|
31
|
+
"description": "H2"
|
|
32
|
+
},
|
|
33
|
+
"md": {
|
|
34
|
+
"type": "typography",
|
|
35
|
+
"value": {
|
|
36
|
+
"fontFamily": "{font-family.main}",
|
|
37
|
+
"fontWeight": "{font-weight.medium}",
|
|
38
|
+
"lineHeight": "{line-height.300}",
|
|
39
|
+
"fontSize": "{font-size.f4}"
|
|
40
|
+
},
|
|
41
|
+
"description": "H3"
|
|
42
|
+
},
|
|
43
|
+
"sm": {
|
|
44
|
+
"type": "typography",
|
|
45
|
+
"value": {
|
|
46
|
+
"fontFamily": "{font-family.main}",
|
|
47
|
+
"fontWeight": "{font-weight.medium}",
|
|
48
|
+
"lineHeight": "{line-height.300}",
|
|
49
|
+
"fontSize": "{font-size.f3}"
|
|
50
|
+
},
|
|
51
|
+
"description": "H4"
|
|
52
|
+
},
|
|
53
|
+
"xs": {
|
|
54
|
+
"type": "typography",
|
|
55
|
+
"value": {
|
|
56
|
+
"fontFamily": "{font-family.main}",
|
|
57
|
+
"fontWeight": "{font-weight.medium}",
|
|
58
|
+
"lineHeight": "{line-height.300}",
|
|
59
|
+
"fontSize": "{font-size.f2}"
|
|
60
|
+
},
|
|
61
|
+
"description": "H5"
|
|
62
|
+
},
|
|
63
|
+
"2xs": {
|
|
64
|
+
"type": "typography",
|
|
65
|
+
"value": {
|
|
66
|
+
"fontFamily": "{font-family.main}",
|
|
67
|
+
"fontWeight": "{font-weight.medium}",
|
|
68
|
+
"lineHeight": "{line-height.300}",
|
|
69
|
+
"fontSize": "{font-size.f1}"
|
|
70
|
+
},
|
|
71
|
+
"description": "H6"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"ingress": {
|
|
75
|
+
"lg": {
|
|
76
|
+
"type": "typography",
|
|
77
|
+
"value": {
|
|
78
|
+
"fontFamily": "{font-family.main}",
|
|
79
|
+
"fontWeight": "{font-weight.regular}",
|
|
80
|
+
"lineHeight": "{line-height.700}",
|
|
81
|
+
"fontSize": "{font-size.f4}"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"md": {
|
|
85
|
+
"type": "typography",
|
|
86
|
+
"value": {
|
|
87
|
+
"fontFamily": "{font-family.main}",
|
|
88
|
+
"fontWeight": "{font-weight.regular}",
|
|
89
|
+
"lineHeight": "{line-height.700}",
|
|
90
|
+
"fontSize": "{font-size.f3}"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"sm": {
|
|
94
|
+
"type": "typography",
|
|
95
|
+
"value": {
|
|
96
|
+
"fontFamily": "{font-family.main}",
|
|
97
|
+
"fontWeight": "{font-weight.regular}",
|
|
98
|
+
"lineHeight": "{line-height.700}",
|
|
99
|
+
"fontSize": "{font-size.f2}"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"xs": {
|
|
103
|
+
"type": "typography",
|
|
104
|
+
"value": {
|
|
105
|
+
"fontFamily": "{font-family.main}",
|
|
106
|
+
"fontWeight": "{font-weight.regular}",
|
|
107
|
+
"lineHeight": "{line-height.700}",
|
|
108
|
+
"fontSize": "{font-size.f1}"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"paragraph": {
|
|
113
|
+
"lg": {
|
|
114
|
+
"type": "typography",
|
|
115
|
+
"value": {
|
|
116
|
+
"fontFamily": "{font-family.main}",
|
|
117
|
+
"fontWeight": "{font-weight.regular}",
|
|
118
|
+
"lineHeight": "{line-height.500}",
|
|
119
|
+
"fontSize": "{font-size.f2}"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"md": {
|
|
123
|
+
"type": "typography",
|
|
124
|
+
"value": {
|
|
125
|
+
"fontFamily": "{font-family.main}",
|
|
126
|
+
"fontWeight": "{font-weight.regular}",
|
|
127
|
+
"lineHeight": "{line-height.500}",
|
|
128
|
+
"fontSize": "{font-size.f1}"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"sm": {
|
|
132
|
+
"type": "typography",
|
|
133
|
+
"value": {
|
|
134
|
+
"fontFamily": "{font-family.main}",
|
|
135
|
+
"fontWeight": "{font-weight.regular}",
|
|
136
|
+
"lineHeight": "{line-height.500}",
|
|
137
|
+
"fontSize": "{font-size.f0}"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"xs": {
|
|
141
|
+
"type": "typography",
|
|
142
|
+
"value": {
|
|
143
|
+
"fontFamily": "{font-family.main}",
|
|
144
|
+
"fontWeight": "{font-weight.regular}",
|
|
145
|
+
"lineHeight": "{line-height.500}",
|
|
146
|
+
"fontSize": "{font-size.f-1}"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"short": {
|
|
150
|
+
"lg": {
|
|
151
|
+
"type": "typography",
|
|
152
|
+
"value": {
|
|
153
|
+
"fontFamily": "{font-family.main}",
|
|
154
|
+
"fontWeight": "{font-weight.regular}",
|
|
155
|
+
"lineHeight": "{line-height.300}",
|
|
156
|
+
"fontSize": "{font-size.f2}"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"md": {
|
|
160
|
+
"type": "typography",
|
|
161
|
+
"value": {
|
|
162
|
+
"fontFamily": "{font-family.main}",
|
|
163
|
+
"fontWeight": "{font-weight.regular}",
|
|
164
|
+
"lineHeight": "{line-height.300}",
|
|
165
|
+
"fontSize": "{font-size.f1}"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"sm": {
|
|
169
|
+
"type": "typography",
|
|
170
|
+
"value": {
|
|
171
|
+
"fontFamily": "{font-family.main}",
|
|
172
|
+
"fontWeight": "{font-weight.regular}",
|
|
173
|
+
"lineHeight": "{line-height.300}",
|
|
174
|
+
"fontSize": "{font-size.f0}"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"xs": {
|
|
178
|
+
"type": "typography",
|
|
179
|
+
"value": {
|
|
180
|
+
"fontFamily": "{font-family.main}",
|
|
181
|
+
"fontWeight": "{font-weight.regular}",
|
|
182
|
+
"lineHeight": "{line-height.300}",
|
|
183
|
+
"fontSize": "{font-size.f-1}"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"long": {
|
|
188
|
+
"lg": {
|
|
189
|
+
"type": "typography",
|
|
190
|
+
"value": {
|
|
191
|
+
"fontFamily": "{font-family.main}",
|
|
192
|
+
"fontWeight": "{font-weight.regular}",
|
|
193
|
+
"lineHeight": "{line-height.700}",
|
|
194
|
+
"fontSize": "{font-size.f1}"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"md": {
|
|
198
|
+
"type": "typography",
|
|
199
|
+
"value": {
|
|
200
|
+
"fontFamily": "{font-family.main}",
|
|
201
|
+
"fontWeight": "{font-weight.regular}",
|
|
202
|
+
"lineHeight": "{line-height.700}",
|
|
203
|
+
"fontSize": "{font-size.f0}"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"sm": {
|
|
207
|
+
"type": "typography",
|
|
208
|
+
"value": {
|
|
209
|
+
"fontFamily": "{font-family.main}",
|
|
210
|
+
"fontWeight": "{font-weight.regular}",
|
|
211
|
+
"lineHeight": "{line-height.700}",
|
|
212
|
+
"fontSize": "{font-size.f-1}"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"xs": {
|
|
216
|
+
"type": "typography",
|
|
217
|
+
"value": {
|
|
218
|
+
"fontFamily": "{font-family.main}",
|
|
219
|
+
"fontWeight": "{font-weight.regular}",
|
|
220
|
+
"lineHeight": "{line-height.700}",
|
|
221
|
+
"fontSize": "{font-size.f-2}"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"label": {
|
|
227
|
+
"lg": {
|
|
228
|
+
"type": "typography",
|
|
229
|
+
"value": {
|
|
230
|
+
"fontFamily": "{font-family.main}",
|
|
231
|
+
"fontWeight": "{font-weight.medium}",
|
|
232
|
+
"lineHeight": "{line-height.300}",
|
|
233
|
+
"fontSize": "{font-size.f2}"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"md": {
|
|
237
|
+
"type": "typography",
|
|
238
|
+
"value": {
|
|
239
|
+
"fontFamily": "{font-family.main}",
|
|
240
|
+
"fontWeight": "{font-weight.medium}",
|
|
241
|
+
"lineHeight": "{line-height.300}",
|
|
242
|
+
"fontSize": "{font-size.f1}"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"sm": {
|
|
246
|
+
"type": "typography",
|
|
247
|
+
"value": {
|
|
248
|
+
"fontFamily": "{font-family.main}",
|
|
249
|
+
"fontWeight": "{font-weight.medium}",
|
|
250
|
+
"lineHeight": "{line-height.300}",
|
|
251
|
+
"fontSize": "{font-size.f0}"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"xs": {
|
|
255
|
+
"type": "typography",
|
|
256
|
+
"value": {
|
|
257
|
+
"fontFamily": "{font-family.main}",
|
|
258
|
+
"fontWeight": "{font-weight.medium}",
|
|
259
|
+
"lineHeight": "{line-height.300}",
|
|
260
|
+
"fontSize": "{font-size.f-1}"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"error_message": {
|
|
265
|
+
"lg": {
|
|
266
|
+
"type": "typography",
|
|
267
|
+
"value": {
|
|
268
|
+
"fontFamily": "{font-family.main}",
|
|
269
|
+
"fontWeight": "{font-weight.regular}",
|
|
270
|
+
"lineHeight": "{line-height.300}",
|
|
271
|
+
"fontSize": "{font-size.f2}"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"md": {
|
|
275
|
+
"type": "typography",
|
|
276
|
+
"value": {
|
|
277
|
+
"fontFamily": "{font-family.main}",
|
|
278
|
+
"fontWeight": "{font-weight.regular}",
|
|
279
|
+
"lineHeight": "{line-height.300}",
|
|
280
|
+
"fontSize": "{font-size.f1}"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"sm": {
|
|
284
|
+
"type": "typography",
|
|
285
|
+
"value": {
|
|
286
|
+
"fontFamily": "{font-family.main}",
|
|
287
|
+
"fontWeight": "{font-weight.regular}",
|
|
288
|
+
"lineHeight": "{line-height.300}",
|
|
289
|
+
"fontSize": "{font-size.f0}"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"xs": {
|
|
293
|
+
"type": "typography",
|
|
294
|
+
"value": {
|
|
295
|
+
"fontFamily": "{font-family.main}",
|
|
296
|
+
"fontWeight": "{font-weight.regular}",
|
|
297
|
+
"lineHeight": "{line-height.300}",
|
|
298
|
+
"fontSize": "{font-size.f-1}"
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"opacity": {
|
|
304
|
+
"disabled": {
|
|
305
|
+
"type": "opacity",
|
|
306
|
+
"value": "{opacity.30}"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"border-radius": {
|
|
310
|
+
"sm": {
|
|
311
|
+
"type": "borderRadius",
|
|
312
|
+
"value": "{border-radius.2}"
|
|
313
|
+
},
|
|
314
|
+
"md": {
|
|
315
|
+
"type": "borderRadius",
|
|
316
|
+
"value": "{border-radius.4}"
|
|
317
|
+
},
|
|
318
|
+
"lg": {
|
|
319
|
+
"type": "borderRadius",
|
|
320
|
+
"value": "{border-radius.8}"
|
|
321
|
+
},
|
|
322
|
+
"xl": {
|
|
323
|
+
"type": "borderRadius",
|
|
324
|
+
"value": "{border-radius.12}"
|
|
325
|
+
},
|
|
326
|
+
"2xl": {
|
|
327
|
+
"type": "borderRadius",
|
|
328
|
+
"value": "{border-radius.16}"
|
|
329
|
+
},
|
|
330
|
+
"3xl": {
|
|
331
|
+
"type": "borderRadius",
|
|
332
|
+
"value": "{border-radius.24}"
|
|
333
|
+
},
|
|
334
|
+
"4xl": {
|
|
335
|
+
"type": "borderRadius",
|
|
336
|
+
"value": "{border-radius.32}"
|
|
337
|
+
},
|
|
338
|
+
"full": {
|
|
339
|
+
"type": "borderRadius",
|
|
340
|
+
"value": "{border-radius.9999}"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"spacing": {
|
|
344
|
+
"0": {
|
|
345
|
+
"type": "spacing",
|
|
346
|
+
"value": "{sizing.base}*0"
|
|
347
|
+
},
|
|
348
|
+
"1": {
|
|
349
|
+
"type": "spacing",
|
|
350
|
+
"value": "{sizing.base}*1"
|
|
351
|
+
},
|
|
352
|
+
"2": {
|
|
353
|
+
"type": "spacing",
|
|
354
|
+
"value": "{sizing.base}*2"
|
|
355
|
+
},
|
|
356
|
+
"3": {
|
|
357
|
+
"type": "spacing",
|
|
358
|
+
"value": "{sizing.base}*3"
|
|
359
|
+
},
|
|
360
|
+
"4": {
|
|
361
|
+
"type": "spacing",
|
|
362
|
+
"value": "{sizing.base}*4"
|
|
363
|
+
},
|
|
364
|
+
"5": {
|
|
365
|
+
"type": "spacing",
|
|
366
|
+
"value": "{sizing.base}*5"
|
|
367
|
+
},
|
|
368
|
+
"6": {
|
|
369
|
+
"type": "spacing",
|
|
370
|
+
"value": "{sizing.base}*6"
|
|
371
|
+
},
|
|
372
|
+
"7": {
|
|
373
|
+
"type": "spacing",
|
|
374
|
+
"value": "{sizing.base}*7"
|
|
375
|
+
},
|
|
376
|
+
"8": {
|
|
377
|
+
"type": "spacing",
|
|
378
|
+
"value": "{sizing.base}*8"
|
|
379
|
+
},
|
|
380
|
+
"9": {
|
|
381
|
+
"type": "spacing",
|
|
382
|
+
"value": "{sizing.base}*9"
|
|
383
|
+
},
|
|
384
|
+
"10": {
|
|
385
|
+
"type": "spacing",
|
|
386
|
+
"value": "{sizing.base}*10"
|
|
387
|
+
},
|
|
388
|
+
"11": {
|
|
389
|
+
"type": "spacing",
|
|
390
|
+
"value": "{sizing.base}*11"
|
|
391
|
+
},
|
|
392
|
+
"12": {
|
|
393
|
+
"type": "spacing",
|
|
394
|
+
"value": "{sizing.base}*12"
|
|
395
|
+
},
|
|
396
|
+
"13": {
|
|
397
|
+
"type": "spacing",
|
|
398
|
+
"value": "{sizing.base}*13"
|
|
399
|
+
},
|
|
400
|
+
"14": {
|
|
401
|
+
"type": "spacing",
|
|
402
|
+
"value": "{sizing.base}*14"
|
|
403
|
+
},
|
|
404
|
+
"15": {
|
|
405
|
+
"type": "spacing",
|
|
406
|
+
"value": "{sizing.base}*15"
|
|
407
|
+
},
|
|
408
|
+
"18": {
|
|
409
|
+
"type": "spacing",
|
|
410
|
+
"value": "{sizing.base}*18"
|
|
411
|
+
},
|
|
412
|
+
"22": {
|
|
413
|
+
"type": "spacing",
|
|
414
|
+
"value": "{sizing.base}*22"
|
|
415
|
+
},
|
|
416
|
+
"26": {
|
|
417
|
+
"type": "spacing",
|
|
418
|
+
"value": "{sizing.base}*26"
|
|
419
|
+
},
|
|
420
|
+
"30": {
|
|
421
|
+
"type": "spacing",
|
|
422
|
+
"value": "{sizing.base}*30"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"sizing": {
|
|
426
|
+
"0": {
|
|
427
|
+
"type": "sizing",
|
|
428
|
+
"value": "{sizing.base}*0"
|
|
429
|
+
},
|
|
430
|
+
"1": {
|
|
431
|
+
"type": "sizing",
|
|
432
|
+
"value": "{sizing.base}*1"
|
|
433
|
+
},
|
|
434
|
+
"2": {
|
|
435
|
+
"type": "sizing",
|
|
436
|
+
"value": "{sizing.base}*2"
|
|
437
|
+
},
|
|
438
|
+
"3": {
|
|
439
|
+
"type": "sizing",
|
|
440
|
+
"value": "{sizing.base}*3"
|
|
441
|
+
},
|
|
442
|
+
"4": {
|
|
443
|
+
"type": "sizing",
|
|
444
|
+
"value": "{sizing.base}*4"
|
|
445
|
+
},
|
|
446
|
+
"5": {
|
|
447
|
+
"type": "sizing",
|
|
448
|
+
"value": "{sizing.base}*5"
|
|
449
|
+
},
|
|
450
|
+
"6": {
|
|
451
|
+
"type": "sizing",
|
|
452
|
+
"value": "{sizing.base}*6"
|
|
453
|
+
},
|
|
454
|
+
"7": {
|
|
455
|
+
"type": "sizing",
|
|
456
|
+
"value": "{sizing.base}*7"
|
|
457
|
+
},
|
|
458
|
+
"8": {
|
|
459
|
+
"type": "sizing",
|
|
460
|
+
"value": "{sizing.base}*8"
|
|
461
|
+
},
|
|
462
|
+
"9": {
|
|
463
|
+
"type": "sizing",
|
|
464
|
+
"value": "{sizing.base}*9"
|
|
465
|
+
},
|
|
466
|
+
"10": {
|
|
467
|
+
"type": "sizing",
|
|
468
|
+
"value": "{sizing.base}*10"
|
|
469
|
+
},
|
|
470
|
+
"11": {
|
|
471
|
+
"type": "sizing",
|
|
472
|
+
"value": "{sizing.base}*11"
|
|
473
|
+
},
|
|
474
|
+
"12": {
|
|
475
|
+
"type": "sizing",
|
|
476
|
+
"value": "{sizing.base}*12"
|
|
477
|
+
},
|
|
478
|
+
"13": {
|
|
479
|
+
"type": "sizing",
|
|
480
|
+
"value": "{sizing.base}*13"
|
|
481
|
+
},
|
|
482
|
+
"14": {
|
|
483
|
+
"type": "sizing",
|
|
484
|
+
"value": "{sizing.base}*14"
|
|
485
|
+
},
|
|
486
|
+
"15": {
|
|
487
|
+
"type": "sizing",
|
|
488
|
+
"value": "{sizing.base}*15"
|
|
489
|
+
},
|
|
490
|
+
"18": {
|
|
491
|
+
"type": "sizing",
|
|
492
|
+
"value": "{sizing.base}*18"
|
|
493
|
+
},
|
|
494
|
+
"22": {
|
|
495
|
+
"type": "sizing",
|
|
496
|
+
"value": "{sizing.base}*22"
|
|
497
|
+
},
|
|
498
|
+
"26": {
|
|
499
|
+
"type": "sizing",
|
|
500
|
+
"value": "{sizing.base}*26"
|
|
501
|
+
},
|
|
502
|
+
"30": {
|
|
503
|
+
"type": "sizing",
|
|
504
|
+
"value": "{sizing.base}*30"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"border-width": {
|
|
508
|
+
"default": {
|
|
509
|
+
"type": "borderWidth",
|
|
510
|
+
"value": "{border-width.1}"
|
|
511
|
+
},
|
|
512
|
+
"active": {
|
|
513
|
+
"type": "borderWidth",
|
|
514
|
+
"value": "{border-width.2}"
|
|
515
|
+
},
|
|
516
|
+
"tab_focus": {
|
|
517
|
+
"type": "borderWidth",
|
|
518
|
+
"value": "{border-width.2}"
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"shadow": {
|
|
522
|
+
"xs": {
|
|
523
|
+
"type": "boxShadow",
|
|
524
|
+
"value": "{shadow.100}"
|
|
525
|
+
},
|
|
526
|
+
"sm": {
|
|
527
|
+
"type": "boxShadow",
|
|
528
|
+
"value": "{shadow.200}"
|
|
529
|
+
},
|
|
530
|
+
"md": {
|
|
531
|
+
"type": "boxShadow",
|
|
532
|
+
"value": "{shadow.300}"
|
|
533
|
+
},
|
|
534
|
+
"lg": {
|
|
535
|
+
"type": "boxShadow",
|
|
536
|
+
"value": "{shadow.400}"
|
|
537
|
+
},
|
|
538
|
+
"xl": {
|
|
539
|
+
"type": "boxShadow",
|
|
540
|
+
"value": "{shadow.500}"
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|