@appdirect/ad-design-tokens 0.0.0-stage → 0.0.2

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.
@@ -0,0 +1,376 @@
1
+ {
2
+ "borderWidth": {
3
+ "none": {
4
+ "$type": "dimension",
5
+ "$value": "0px"
6
+ },
7
+ "thin": {
8
+ "$type": "dimension",
9
+ "$value": "1px"
10
+ },
11
+ "medium": {
12
+ "$type": "dimension",
13
+ "$value": "2px"
14
+ }
15
+ },
16
+ "borderStyle": {
17
+ "none": {
18
+ "$type": "string",
19
+ "$value": "none"
20
+ },
21
+ "solid": {
22
+ "$type": "string",
23
+ "$value": "solid"
24
+ },
25
+ "dashed": {
26
+ "$type": "string",
27
+ "$value": "dashed"
28
+ }
29
+ },
30
+ "breakpoints": {
31
+ "xs": {
32
+ "$type": "dimension",
33
+ "$value": "36em"
34
+ },
35
+ "sm": {
36
+ "$type": "dimension",
37
+ "$value": "48em"
38
+ },
39
+ "md": {
40
+ "$type": "dimension",
41
+ "$value": "62em"
42
+ },
43
+ "lg": {
44
+ "$type": "dimension",
45
+ "$value": "75em"
46
+ },
47
+ "xl": {
48
+ "$type": "dimension",
49
+ "$value": "88em"
50
+ }
51
+ },
52
+ "white": {
53
+ "$type": "color",
54
+ "$value": "#ffffff"
55
+ },
56
+ "black": {
57
+ "$type": "color",
58
+ "$value": "#000000"
59
+ },
60
+ "transparent": {
61
+ "$type": "color",
62
+ "$value": "rgba(0,0,0,0)"
63
+ },
64
+ "cursor": {
65
+ "default": {
66
+ "$type": "string",
67
+ "$value": "default"
68
+ },
69
+ "pointer": {
70
+ "$type": "string",
71
+ "$value": "pointer"
72
+ },
73
+ "notAllowed": {
74
+ "$type": "string",
75
+ "$value": "not-allowed"
76
+ },
77
+ "text": {
78
+ "$type": "string",
79
+ "$value": "text"
80
+ }
81
+ },
82
+ "iconSize": {
83
+ "xs": {
84
+ "$type": "dimension",
85
+ "$value": "12px"
86
+ },
87
+ "sm": {
88
+ "$type": "dimension",
89
+ "$value": "14px"
90
+ },
91
+ "md": {
92
+ "$type": "dimension",
93
+ "$value": "16px"
94
+ },
95
+ "lg": {
96
+ "$type": "dimension",
97
+ "$value": "18px"
98
+ },
99
+ "xl": {
100
+ "$type": "dimension",
101
+ "$value": "20px"
102
+ }
103
+ },
104
+ "radius": {
105
+ "xs": {
106
+ "$type": "dimension",
107
+ "$value": "2px"
108
+ },
109
+ "sm": {
110
+ "$type": "dimension",
111
+ "$value": "4px"
112
+ },
113
+ "md": {
114
+ "$type": "dimension",
115
+ "$value": "8px"
116
+ },
117
+ "lg": {
118
+ "$type": "dimension",
119
+ "$value": "16px"
120
+ },
121
+ "xl": {
122
+ "$type": "dimension",
123
+ "$value": "32px"
124
+ }
125
+ },
126
+ "shadows": {
127
+ "xs": {
128
+ "$type": "shadow",
129
+ "$value": "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 1px 2px 0px rgba(0, 0, 0, 0.1)"
130
+ },
131
+ "sm": {
132
+ "$type": "shadow",
133
+ "$value": "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 10px 15px -5px rgba(0, 0, 0, 0.05), 0px 7px 7px -5px rgba(0, 0, 0, 0.04)"
134
+ },
135
+ "md": {
136
+ "$type": "shadow",
137
+ "$value": "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 20px 25px -5px rgba(0, 0, 0, 0.05), 0px 10px 10px -5px rgba(0, 0, 0, 0.04)"
138
+ },
139
+ "lg": {
140
+ "$type": "shadow",
141
+ "$value": "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 28px 23px -7px rgba(0, 0, 0, 0.05), 0px 12px 12px -7px rgba(0, 0, 0, 0.04)"
142
+ },
143
+ "xl": {
144
+ "$type": "shadow",
145
+ "$value": "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 36px 28px -7px rgba(0, 0, 0, 0.05), 0px 17px 17px -7px rgba(0, 0, 0, 0.04)"
146
+ }
147
+ },
148
+ "sizing": {
149
+ "xs": {
150
+ "$type": "dimension",
151
+ "$value": "24px"
152
+ },
153
+ "sm": {
154
+ "$type": "dimension",
155
+ "$value": "30px"
156
+ },
157
+ "md": {
158
+ "$type": "dimension",
159
+ "$value": "36px"
160
+ },
161
+ "lg": {
162
+ "$type": "dimension",
163
+ "$value": "42px"
164
+ },
165
+ "xl": {
166
+ "$type": "dimension",
167
+ "$value": "50px"
168
+ }
169
+ },
170
+ "spacing": {
171
+ "none": {
172
+ "$type": "dimension",
173
+ "$value": "0px"
174
+ },
175
+ "xxs": {
176
+ "$type": "dimension",
177
+ "$value": "4px"
178
+ },
179
+ "xs": {
180
+ "$type": "dimension",
181
+ "$value": "10px"
182
+ },
183
+ "sm": {
184
+ "$type": "dimension",
185
+ "$value": "12px"
186
+ },
187
+ "md": {
188
+ "$type": "dimension",
189
+ "$value": "16px"
190
+ },
191
+ "lg": {
192
+ "$type": "dimension",
193
+ "$value": "20px"
194
+ },
195
+ "xl": {
196
+ "$type": "dimension",
197
+ "$value": "32px"
198
+ }
199
+ },
200
+ "fontFamilies": {
201
+ "inter": {
202
+ "$type": "fontFamily",
203
+ "$value": "Inter"
204
+ },
205
+ "mono": {
206
+ "$type": "fontFamily",
207
+ "$value": "Roboto Mono"
208
+ }
209
+ },
210
+ "fontFamily": {
211
+ "body": {
212
+ "$type": "fontFamily",
213
+ "$value": "Inter"
214
+ },
215
+ "monospace": {
216
+ "$type": "fontFamily",
217
+ "$value": "Roboto Mono"
218
+ }
219
+ },
220
+ "fontSizes": {
221
+ "xs": {
222
+ "$type": "dimension",
223
+ "$value": "12px"
224
+ },
225
+ "sm": {
226
+ "$type": "dimension",
227
+ "$value": "14px"
228
+ },
229
+ "md": {
230
+ "$type": "dimension",
231
+ "$value": "16px"
232
+ },
233
+ "lg": {
234
+ "$type": "dimension",
235
+ "$value": "18px"
236
+ },
237
+ "xl": {
238
+ "$type": "dimension",
239
+ "$value": "20px"
240
+ }
241
+ },
242
+ "lineHeights": {
243
+ "xs": {
244
+ "$type": "number",
245
+ "$value": "1.4"
246
+ },
247
+ "sm": {
248
+ "$type": "number",
249
+ "$value": "1.45"
250
+ },
251
+ "md": {
252
+ "$type": "number",
253
+ "$value": "1.55"
254
+ },
255
+ "lg": {
256
+ "$type": "number",
257
+ "$value": "1.6"
258
+ },
259
+ "xl": {
260
+ "$type": "number",
261
+ "$value": "1.65"
262
+ }
263
+ },
264
+ "fontWeights": {
265
+ "regular": {
266
+ "$type": "fontWeight",
267
+ "$value": "400"
268
+ },
269
+ "medium": {
270
+ "$type": "fontWeight",
271
+ "$value": "600"
272
+ },
273
+ "bold": {
274
+ "$type": "fontWeight",
275
+ "$value": "700"
276
+ }
277
+ },
278
+ "headings": {
279
+ "fontFamily": {
280
+ "$type": "fontFamily",
281
+ "$value": "Inter"
282
+ },
283
+ "fontWeight": {
284
+ "$type": "fontWeight",
285
+ "$value": "700"
286
+ },
287
+ "textWrap": {
288
+ "$type": "string",
289
+ "$value": "wrap"
290
+ },
291
+ "sizes": {
292
+ "h1": {
293
+ "fontSize": {
294
+ "$type": "dimension",
295
+ "$value": "34px"
296
+ },
297
+ "lineHeight": {
298
+ "$type": "number",
299
+ "$value": "1.3"
300
+ }
301
+ },
302
+ "h2": {
303
+ "fontSize": {
304
+ "$type": "dimension",
305
+ "$value": "26px"
306
+ },
307
+ "lineHeight": {
308
+ "$type": "number",
309
+ "$value": "1.35"
310
+ }
311
+ },
312
+ "h3": {
313
+ "fontSize": {
314
+ "$type": "dimension",
315
+ "$value": "22px"
316
+ },
317
+ "lineHeight": {
318
+ "$type": "number",
319
+ "$value": "1.4"
320
+ }
321
+ },
322
+ "h4": {
323
+ "fontSize": {
324
+ "$type": "dimension",
325
+ "$value": "18px"
326
+ },
327
+ "lineHeight": {
328
+ "$type": "number",
329
+ "$value": "1.45"
330
+ }
331
+ },
332
+ "h5": {
333
+ "fontSize": {
334
+ "$type": "dimension",
335
+ "$value": "16px"
336
+ },
337
+ "lineHeight": {
338
+ "$type": "number",
339
+ "$value": "1.5"
340
+ }
341
+ },
342
+ "h6": {
343
+ "fontSize": {
344
+ "$type": "dimension",
345
+ "$value": "14px"
346
+ },
347
+ "lineHeight": {
348
+ "$type": "number",
349
+ "$value": "1.5"
350
+ }
351
+ }
352
+ }
353
+ },
354
+ "zIndex": {
355
+ "app": {
356
+ "$type": "number",
357
+ "$value": "100"
358
+ },
359
+ "modal": {
360
+ "$type": "number",
361
+ "$value": "200"
362
+ },
363
+ "popover": {
364
+ "$type": "number",
365
+ "$value": "300"
366
+ },
367
+ "overlay": {
368
+ "$type": "number",
369
+ "$value": "400"
370
+ },
371
+ "max": {
372
+ "$type": "number",
373
+ "$value": "9999"
374
+ }
375
+ }
376
+ }
@@ -0,0 +1,278 @@
1
+ {
2
+ "derived": {
3
+ "blue-6": {
4
+ "opacity5": {
5
+ "$type": "color",
6
+ "$value": "color-mix(in srgb, {blue.6} 5%, transparent)"
7
+ },
8
+ "opacity10": {
9
+ "$type": "color",
10
+ "$value": "color-mix(in srgb, {blue.6} 10%, transparent)"
11
+ },
12
+ "opacity12": {
13
+ "$type": "color",
14
+ "$value": "color-mix(in srgb, {blue.6} 12%, transparent)"
15
+ },
16
+ "opacity15": {
17
+ "$type": "color",
18
+ "$value": "color-mix(in srgb, {blue.6} 15%, transparent)"
19
+ },
20
+ "opacity20": {
21
+ "$type": "color",
22
+ "$value": "color-mix(in srgb, {blue.6} 20%, transparent)"
23
+ },
24
+ "opacity33": {
25
+ "$type": "color",
26
+ "$value": "color-mix(in srgb, {blue.6} 33%, transparent)"
27
+ }
28
+ },
29
+ "blue-7": {
30
+ "opacity5": {
31
+ "$type": "color",
32
+ "$value": "color-mix(in srgb, {blue.7} 5%, transparent)"
33
+ }
34
+ },
35
+ "blue-4": {
36
+ "opacity5": {
37
+ "$type": "color",
38
+ "$value": "color-mix(in srgb, {blue.4} 5%, transparent)"
39
+ }
40
+ },
41
+ "green-6": {
42
+ "opacity5": {
43
+ "$type": "color",
44
+ "$value": "color-mix(in srgb, {green.6} 5%, transparent)"
45
+ },
46
+ "opacity10": {
47
+ "$type": "color",
48
+ "$value": "color-mix(in srgb, {green.6} 10%, transparent)"
49
+ },
50
+ "opacity12": {
51
+ "$type": "color",
52
+ "$value": "color-mix(in srgb, {green.6} 12%, transparent)"
53
+ },
54
+ "opacity15": {
55
+ "$type": "color",
56
+ "$value": "color-mix(in srgb, {green.6} 15%, transparent)"
57
+ }
58
+ },
59
+ "green-4": {
60
+ "opacity5": {
61
+ "$type": "color",
62
+ "$value": "color-mix(in srgb, {green.4} 5%, transparent)"
63
+ }
64
+ },
65
+ "red-6": {
66
+ "opacity5": {
67
+ "$type": "color",
68
+ "$value": "color-mix(in srgb, {red.6} 5%, transparent)"
69
+ },
70
+ "opacity10": {
71
+ "$type": "color",
72
+ "$value": "color-mix(in srgb, {red.6} 10%, transparent)"
73
+ },
74
+ "opacity12": {
75
+ "$type": "color",
76
+ "$value": "color-mix(in srgb, {red.6} 12%, transparent)"
77
+ },
78
+ "opacity15": {
79
+ "$type": "color",
80
+ "$value": "color-mix(in srgb, {red.6} 15%, transparent)"
81
+ }
82
+ },
83
+ "red-4": {
84
+ "opacity5": {
85
+ "$type": "color",
86
+ "$value": "color-mix(in srgb, {red.4} 5%, transparent)"
87
+ }
88
+ },
89
+ "yellow-6": {
90
+ "opacity5": {
91
+ "$type": "color",
92
+ "$value": "color-mix(in srgb, {yellow.6} 5%, transparent)"
93
+ },
94
+ "opacity10": {
95
+ "$type": "color",
96
+ "$value": "color-mix(in srgb, {yellow.6} 10%, transparent)"
97
+ },
98
+ "opacity12": {
99
+ "$type": "color",
100
+ "$value": "color-mix(in srgb, {yellow.6} 12%, transparent)"
101
+ },
102
+ "opacity15": {
103
+ "$type": "color",
104
+ "$value": "color-mix(in srgb, {yellow.6} 15%, transparent)"
105
+ }
106
+ },
107
+ "yellow-4": {
108
+ "opacity5": {
109
+ "$type": "color",
110
+ "$value": "color-mix(in srgb, {yellow.4} 5%, transparent)"
111
+ }
112
+ },
113
+ "gray-6": {
114
+ "opacity5": {
115
+ "$type": "color",
116
+ "$value": "color-mix(in srgb, {gray.6} 5%, transparent)"
117
+ },
118
+ "opacity10": {
119
+ "$type": "color",
120
+ "$value": "color-mix(in srgb, {gray.6} 10%, transparent)"
121
+ },
122
+ "opacity12": {
123
+ "$type": "color",
124
+ "$value": "color-mix(in srgb, {gray.6} 12%, transparent)"
125
+ }
126
+ },
127
+ "gray-4": {
128
+ "opacity5": {
129
+ "$type": "color",
130
+ "$value": "color-mix(in srgb, {gray.4} 5%, transparent)"
131
+ }
132
+ },
133
+ "gray": {
134
+ "opacity10": {
135
+ "$type": "color",
136
+ "$value": "color-mix(in srgb, {gray.6} 10%, transparent)"
137
+ },
138
+ "opacity12": {
139
+ "$type": "color",
140
+ "$value": "color-mix(in srgb, {gray.6} 12%, transparent)"
141
+ },
142
+ "opacity15": {
143
+ "$type": "color",
144
+ "$value": "color-mix(in srgb, {gray.6} 15%, transparent)"
145
+ },
146
+ "opacity20": {
147
+ "$type": "color",
148
+ "$value": "color-mix(in srgb, {gray.6} 20%, transparent)"
149
+ }
150
+ },
151
+ "focusRing": {
152
+ "$type": "color",
153
+ "$value": "color-mix(in srgb, {blue.6} 35%, transparent)"
154
+ },
155
+ "pill": {
156
+ "paddingX": {
157
+ "xs": {
158
+ "$type": "dimension",
159
+ "$value": "8px"
160
+ },
161
+ "sm": {
162
+ "$type": "dimension",
163
+ "$value": "10px"
164
+ },
165
+ "md": {
166
+ "$type": "dimension",
167
+ "$value": "11px"
168
+ },
169
+ "lg": {
170
+ "$type": "dimension",
171
+ "$value": "13px"
172
+ },
173
+ "xl": {
174
+ "$type": "dimension",
175
+ "$value": "14px"
176
+ }
177
+ },
178
+ "removeButton": {
179
+ "paddingX": {
180
+ "xs": {
181
+ "$type": "dimension",
182
+ "$value": "4px"
183
+ },
184
+ "sm": {
185
+ "$type": "dimension",
186
+ "$value": "5px"
187
+ },
188
+ "md": {
189
+ "$type": "dimension",
190
+ "$value": "6px"
191
+ },
192
+ "lg": {
193
+ "$type": "dimension",
194
+ "$value": "6px"
195
+ },
196
+ "xl": {
197
+ "$type": "dimension",
198
+ "$value": "7px"
199
+ }
200
+ }
201
+ }
202
+ },
203
+ "themeIcon": {
204
+ "iconSize": {
205
+ "xs": {
206
+ "$type": "dimension",
207
+ "$value": "12px"
208
+ },
209
+ "sm": {
210
+ "$type": "dimension",
211
+ "$value": "16px"
212
+ },
213
+ "md": {
214
+ "$type": "dimension",
215
+ "$value": "22px"
216
+ },
217
+ "lg": {
218
+ "$type": "dimension",
219
+ "$value": "28px"
220
+ },
221
+ "xl": {
222
+ "$type": "dimension",
223
+ "$value": "38px"
224
+ },
225
+ "xxl": {
226
+ "$type": "dimension",
227
+ "$value": "52px"
228
+ }
229
+ }
230
+ },
231
+ "kbd": {
232
+ "paddingX": {
233
+ "xs": {
234
+ "$type": "dimension",
235
+ "$value": "5px"
236
+ },
237
+ "sm": {
238
+ "$type": "dimension",
239
+ "$value": "5px"
240
+ },
241
+ "md": {
242
+ "$type": "dimension",
243
+ "$value": "6px"
244
+ },
245
+ "lg": {
246
+ "$type": "dimension",
247
+ "$value": "7px"
248
+ },
249
+ "xl": {
250
+ "$type": "dimension",
251
+ "$value": "9px"
252
+ }
253
+ },
254
+ "paddingY": {
255
+ "xs": {
256
+ "$type": "dimension",
257
+ "$value": "1px"
258
+ },
259
+ "sm": {
260
+ "$type": "dimension",
261
+ "$value": "1px"
262
+ },
263
+ "md": {
264
+ "$type": "dimension",
265
+ "$value": "2px"
266
+ },
267
+ "lg": {
268
+ "$type": "dimension",
269
+ "$value": "2px"
270
+ },
271
+ "xl": {
272
+ "$type": "dimension",
273
+ "$value": "2px"
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }