@pisodev/ui-common 0.0.7 → 0.0.9

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/index.esm.js CHANGED
@@ -1,9 +1,1121 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- const tslib_1 = require("tslib");
3
- tslib_1.__exportStar(require("./theme"), exports);
4
- tslib_1.__exportStar(require("./types/Typography.base.types"), exports);
5
- tslib_1.__exportStar(require("./typography/typography"), exports);
6
- // Import SCSS files for bundling
7
- require("./theme/_index.scss");
8
- require("./typography/_index.scss");
1
+ const grayScale = {
2
+ light: {
3
+ '50': '#F6F8FA',
4
+ '100': '#EEF0F2',
5
+ '200': '#E6E8EA',
6
+ '300': '#DADCDD',
7
+ '400': '#CED0D2',
8
+ '500': '#AAACAE',
9
+ '600': '#86888A',
10
+ '700': '#4C4E50',
11
+ '800': '#2C2E30',
12
+ '900': '#0C0E10',
13
+ '00': '#FFFFFF',
14
+ },
15
+ dark: {
16
+ '50': '#1A1C1E',
17
+ '100': '#282A2C',
18
+ '200': '#36383A',
19
+ '300': '#444648',
20
+ '400': '#525456',
21
+ '500': '#66686A',
22
+ '600': '#888A8C',
23
+ '700': '#AAACAE',
24
+ '800': '#CCCED0',
25
+ '900': '#FFFFFF',
26
+ '00': '#0C0E10',
27
+ },
28
+ };
29
+ const blue1Scale = {
30
+ light: {
31
+ '50': '#AFCFFF',
32
+ '100': '#8EBCFF',
33
+ '200': '#6DA8FF',
34
+ '300': '#4C95FF',
35
+ '400': '#1473FF',
36
+ '500': '#1267E6',
37
+ '600': '#0F57C2',
38
+ '700': '#0C4599',
39
+ '800': '#093370',
40
+ '900': '#06234D',
41
+ '00': '#C7DDFF',
42
+ },
43
+ dark: {
44
+ '50': '#0C4599',
45
+ '100': '#0E51B3',
46
+ '200': '#105CCC',
47
+ '300': '#1267E6',
48
+ '400': '#1473FF',
49
+ '500': '#4C95FF',
50
+ '600': '#6DA8FF',
51
+ '700': '#8ECBFF',
52
+ '800': '#AFCFFF',
53
+ '900': '#C7DDFF',
54
+ '00': '#0A3980',
55
+ },
56
+ };
57
+ const blue2Scale = {
58
+ light: {
59
+ '50': '#A9C4FF',
60
+ '100': '#85ACFF',
61
+ '200': '#6194FF',
62
+ '300': '#3E7CFF',
63
+ '400': '#0152FF',
64
+ '500': '#014AE6',
65
+ '600': '#013EC2',
66
+ '700': '#013199',
67
+ '800': '#002470',
68
+ '900': '#00194D',
69
+ '00': '#C2D5FF',
70
+ },
71
+ dark: {
72
+ '50': '#1F4699',
73
+ '100': '#2451B3',
74
+ '200': '#295DCC',
75
+ '300': '#2E68E6',
76
+ '400': '#3374FF',
77
+ '500': '#6495FF',
78
+ '600': '#80A9FF',
79
+ '700': '#9DBCFF',
80
+ '800': '#BAD0FF',
81
+ '900': '#CEDEFF',
82
+ '00': '#1A3A80',
83
+ },
84
+ };
85
+ const greenScale = {
86
+ light: {
87
+ '50': '#B0ECDA',
88
+ '100': '#90E4CB',
89
+ '200': '#70DCBB',
90
+ '300': '#4FD4AC',
91
+ '400': '#18C792',
92
+ '500': '#16B383',
93
+ '600': '#12976F',
94
+ '700': '#0E7758',
95
+ '800': '#0B5840',
96
+ '900': '#073C2C',
97
+ '00': '#C8F2E5',
98
+ },
99
+ dark: {
100
+ '50': '#128F69',
101
+ '100': '#15A77B',
102
+ '200': '#18BE8C',
103
+ '300': '#1BD69E',
104
+ '400': '#1EEEAF',
105
+ '500': '#54F2C2',
106
+ '600': '#73F4CD',
107
+ '700': '#93F7D9',
108
+ '800': '#B2F9E4',
109
+ '900': '#C9FBEC',
110
+ '00': '#0F7758',
111
+ },
112
+ };
113
+ const purpleScale = {
114
+ light: {
115
+ '50': '#C0CBFC',
116
+ '100': '#A7B6FA',
117
+ '200': '#8DA1F9',
118
+ '300': '#738BF7',
119
+ '400': '#4767F5',
120
+ '500': '#405DDC',
121
+ '600': '#364EBA',
122
+ '700': '#2B3E93',
123
+ '800': '#1F2D6C',
124
+ '900': '#151F4A',
125
+ '00': '#D3DAFD',
126
+ },
127
+ dark: {
128
+ '50': '#2C4099',
129
+ '100': '#344BB3',
130
+ '200': '#3B56CC',
131
+ '300': '#4360E6',
132
+ '400': '#4A6BFF',
133
+ '500': '#758FFF',
134
+ '600': '#8FA3FF',
135
+ '700': '#A8B8FF',
136
+ '800': '#C1CDFF',
137
+ '900': '#D4DBFF',
138
+ '00': '#253580',
139
+ },
140
+ };
141
+ const yellowScale = {
142
+ light: {
143
+ '50': '#FAE7A8',
144
+ '100': '#F8DD84',
145
+ '200': '#F6D361',
146
+ '300': '#F4C93D',
147
+ '400': '#F0B800',
148
+ '500': '#D8A600',
149
+ '600': '#B68C00',
150
+ '700': '#906E00',
151
+ '800': '#6A5100',
152
+ '900': '#483700',
153
+ '00': '#FBEEC2',
154
+ },
155
+ dark: {
156
+ '50': '#997600',
157
+ '100': '#B38900',
158
+ '200': '#CC9D00',
159
+ '300': '#E6B000',
160
+ '400': '#FFC400',
161
+ '500': '#FFD23D',
162
+ '600': '#FFDA61',
163
+ '700': '#FFE384',
164
+ '800': '#FFEBA8',
165
+ '900': '#FFF1C2',
166
+ '00': '#806200',
167
+ },
168
+ };
169
+ const redScale = {
170
+ light: {
171
+ '50': '#F8BFBF',
172
+ '100': '#F5A4A4',
173
+ '200': '#F38A8A',
174
+ '300': '#F06F6F',
175
+ '400': '#EB4242',
176
+ '500': '#D43B3B',
177
+ '600': '#B33232',
178
+ '700': '#8D2828',
179
+ '800': '#681D1D',
180
+ '900': '#471414',
181
+ '00': '#FAD2D2',
182
+ },
183
+ dark: {
184
+ '50': '#992B2B',
185
+ '100': '#B33232',
186
+ '200': '#CC3A3A',
187
+ '300': '#E64141',
188
+ '400': '#FF4848',
189
+ '500': '#FF7474',
190
+ '600': '#FF8E8E',
191
+ '700': '#FFA7A7',
192
+ '800': '#FFC1C1',
193
+ '900': '#FFD3D3',
194
+ '00': '#802424',
195
+ },
196
+ };
197
+ const grayAlpha = {
198
+ light: {
199
+ '30': '#FFFFFF08',
200
+ '50': '#FFFFFF0D',
201
+ '100': '#FFFFFF1A',
202
+ '200': '#FFFFFF33',
203
+ '500': '#FFFFFF80',
204
+ },
205
+ dark: {
206
+ '30': '#00000008',
207
+ '50': '#0000000D',
208
+ '100': '#0000001A',
209
+ '200': '#00000033',
210
+ '500': '#00000080',
211
+ },
212
+ };
213
+ const blue1Alpha = {
214
+ light: {
215
+ '30': '#1473FF0A',
216
+ '50': '#1473FF14',
217
+ '100': '#1473FF24',
218
+ '200': '#1473FF33',
219
+ '500': '#1473FF80',
220
+ },
221
+ dark: {
222
+ '30': '#1473FF0A',
223
+ '50': '#1473FF14',
224
+ '100': '#1473FF24',
225
+ '200': '#1473FF33',
226
+ '500': '#1473FF80',
227
+ },
228
+ };
229
+ const blue2Alpha = {
230
+ light: {
231
+ '30': '#0152FF0A',
232
+ '50': '#0152FF14',
233
+ '100': '#0152FF24',
234
+ '200': '#0152FF33',
235
+ '500': '#0152FF80',
236
+ },
237
+ dark: {
238
+ '30': '#3374FF0A',
239
+ '50': '#3374FF14',
240
+ '100': '#3374FF24',
241
+ '200': '#3374FF33',
242
+ '500': '#3374FF80',
243
+ },
244
+ };
245
+ const greenAlpha = {
246
+ light: {
247
+ '30': '#18C7920A',
248
+ '50': '#18C79214',
249
+ '100': '#18C79224',
250
+ '200': '#18C7924D',
251
+ '500': '#18C79299',
252
+ },
253
+ dark: {
254
+ '30': '#1EEEAF0A',
255
+ '50': '#1EEEAF14',
256
+ '100': '#1EEEAF24',
257
+ '200': '#1EEEAF33',
258
+ '500': '#1EEEAF80',
259
+ },
260
+ };
261
+ const purpleAlpha = {
262
+ light: {
263
+ '30': '#4767F50A',
264
+ '50': '#4767F514',
265
+ '100': '#4767F524',
266
+ '200': '#4767F533',
267
+ '500': '#4767F580',
268
+ },
269
+ dark: {
270
+ '30': '#4A6BFF0A',
271
+ '50': '#4A6BFF14',
272
+ '100': '#4A6BFF24',
273
+ '200': '#4A6BFF33',
274
+ '500': '#4A6BFF80',
275
+ },
276
+ };
277
+ const yellowAlpha = {
278
+ light: {
279
+ '30': '#F0B8000A',
280
+ '50': '#F0B80014',
281
+ '100': '#F0B80024',
282
+ '200': '#F0B80033',
283
+ '500': '#F0B80080',
284
+ },
285
+ dark: {
286
+ '30': '#FFC4000A',
287
+ '50': '#FFC40014',
288
+ '100': '#FFC40024',
289
+ '200': '#FFC40033',
290
+ '500': '#FFC40080',
291
+ },
292
+ };
293
+ const redAlpha = {
294
+ light: {
295
+ '30': '#EB42420A',
296
+ '50': '#EB424214',
297
+ '100': '#EB424224',
298
+ '200': '#EB424233',
299
+ '500': '#EB424280',
300
+ },
301
+ dark: {
302
+ '30': '#FF48480A',
303
+ '50': '#FF484814',
304
+ '100': '#FF484824',
305
+ '200': '#FF484833',
306
+ '500': '#FF484880',
307
+ },
308
+ };
309
+ const whiteAlpha = {
310
+ light: {
311
+ '30': '#00000008',
312
+ '50': '#0000000D',
313
+ '100': '#0000001A',
314
+ '200': '#00000033',
315
+ '500': '#00000080',
316
+ },
317
+ dark: {
318
+ '30': '#FFFFFF08',
319
+ '50': '#FFFFFF0D',
320
+ '100': '#FFFFFF1A',
321
+ '200': '#FFFFFF33',
322
+ '500': '#FFFFFF80',
323
+ },
324
+ };
325
+ const graySemantic = {
326
+ light: {
327
+ '50': '#FFFFFF',
328
+ '100': '#F6F8FA',
329
+ '00': '#F6F8FA',
330
+ },
331
+ dark: {
332
+ '50': '#1A1C1E',
333
+ '100': '#282A2C',
334
+ '00': '#0C0E10',
335
+ },
336
+ };
337
+ const semanticPaper = {
338
+ light: {
339
+ 'contents': 'var(--gray-50)',
340
+ 'default': 'var(--gray-00)',
341
+ 'dialog': 'var(--gray-semantic-50)',
342
+ 'neutral': 'var(--gray-semantic-00)',
343
+ 'sheet': 'var(--gray-semantic-50)',
344
+ },
345
+ dark: {
346
+ 'contents': 'var(--gray-50)',
347
+ 'default': 'var(--gray-00)',
348
+ 'dialog': 'var(--gray-semantic-50)',
349
+ 'neutral': 'var(--gray-semantic-00)',
350
+ 'sheet': 'var(--gray-semantic-50)',
351
+ },
352
+ };
353
+ const semanticDivider = {
354
+ light: {
355
+ 'divider-1': 'var(--white-alpha-50)',
356
+ 'divider-2': 'var(--gray-100)',
357
+ 'divider-3': 'var(--white-alpha-100)',
358
+ 'divider-4': 'var(--white-alpha-200)',
359
+ },
360
+ dark: {
361
+ 'divider-1': 'var(--white-alpha-50)',
362
+ 'divider-2': 'var(--gray-100)',
363
+ 'divider-3': 'var(--white-alpha-100)',
364
+ 'divider-4': 'var(--white-alpha-200)',
365
+ },
366
+ };
367
+ const semanticOverlay = {
368
+ light: {
369
+ 'overlay-dim': 'var(--static-black-alpha-500)',
370
+ 'overlay-low': 'var(--static-black-alpha-200)',
371
+ },
372
+ dark: {
373
+ 'overlay-dim': 'var(--static-black-alpha-500)',
374
+ 'overlay-low': 'var(--static-black-alpha-200)',
375
+ },
376
+ };
377
+ const semanticBrand = {
378
+ light: {
379
+ 'credit-primary': 'var(--green-400)',
380
+ 'credit-primary-hover': 'var(--green-600)',
381
+ 'credit-primary-low': 'var(--green-alpha-50)',
382
+ 'credit-primary-low-hover': 'var(--green-alpha-100)',
383
+ 'credit-primary-low-pressed': 'var(--green-alpha-100)',
384
+ 'credit-primary-pressed': 'var(--green-600)',
385
+ 'gluwa-primary': 'var(--blue1-400)',
386
+ 'gluwa-primary-hover': 'var(--blue1-600)',
387
+ 'gluwa-primary-low': 'var(--blue1-alpha-50)',
388
+ 'gluwa-primary-low-hover': 'var(--blue1-alpha-100)',
389
+ 'gluwa-primary-low-pressed': 'var(--blue1-alpha-100)',
390
+ 'gluwa-primary-pressed': 'var(--blue1-600)',
391
+ 'space-primary': 'var(--purple-400)',
392
+ 'space-primary-hover': 'var(--purple-600)',
393
+ 'space-primary-low': 'var(--purple-alpha-50)',
394
+ 'space-primary-low-hover': 'var(--purple-alpha-100)',
395
+ 'space-primary-low-pressed': 'var(--purple-alpha-100)',
396
+ 'space-primary-pressed': 'var(--purple-600)',
397
+ 'trugi-primary': 'var(--blue2-400)',
398
+ 'trugi-primary-hover': 'var(--blue2-600)',
399
+ 'trugi-primary-legacy': '#2848FEFF',
400
+ 'trugi-primary-low': 'var(--blue2-alpha-50)',
401
+ 'trugi-primary-low-hover': 'var(--blue2-alpha-100)',
402
+ 'trugi-primary-low-pressed': 'var(--blue2-alpha-100)',
403
+ 'trugi-primary-pressed': 'var(--blue2-600)',
404
+ },
405
+ dark: {
406
+ 'credit-primary': 'var(--green-400)',
407
+ 'credit-primary-hover': 'var(--green-600)',
408
+ 'credit-primary-low': 'var(--green-alpha-50)',
409
+ 'credit-primary-low-hover': 'var(--green-alpha-100)',
410
+ 'credit-primary-low-pressed': 'var(--green-alpha-100)',
411
+ 'credit-primary-pressed': 'var(--green-600)',
412
+ 'gluwa-primary': 'var(--blue1-400)',
413
+ 'gluwa-primary-hover': 'var(--blue1-600)',
414
+ 'gluwa-primary-low': 'var(--blue1-alpha-50)',
415
+ 'gluwa-primary-low-hover': 'var(--blue1-alpha-100)',
416
+ 'gluwa-primary-low-pressed': 'var(--blue1-alpha-100)',
417
+ 'gluwa-primary-pressed': 'var(--blue1-600)',
418
+ 'space-primary': 'var(--purple-400)',
419
+ 'space-primary-hover': 'var(--purple-600)',
420
+ 'space-primary-low': 'var(--purple-alpha-50)',
421
+ 'space-primary-low-hover': 'var(--purple-alpha-100)',
422
+ 'space-primary-low-pressed': 'var(--purple-alpha-100)',
423
+ 'space-primary-pressed': 'var(--purple-600)',
424
+ 'trugi-primary': 'var(--blue2-400)',
425
+ 'trugi-primary-hover': 'var(--blue2-600)',
426
+ 'trugi-primary-legacy': '#2848FEFF',
427
+ 'trugi-primary-low': 'var(--blue2-alpha-50)',
428
+ 'trugi-primary-low-hover': 'var(--blue2-alpha-100)',
429
+ 'trugi-primary-low-pressed': 'var(--blue2-alpha-100)',
430
+ 'trugi-primary-pressed': 'var(--blue2-600)',
431
+ },
432
+ };
433
+ const semanticInformation = {
434
+ light: {
435
+ 'caution': 'var(--yellow-400)',
436
+ 'caution-low': 'var(--yellow-alpha-50)',
437
+ 'error': 'var(--red-400)',
438
+ 'error-low': 'var(--red-alpha-50)',
439
+ 'info': 'var(--blue1-400)',
440
+ 'info-low': 'var(--blue1-alpha-50)',
441
+ 'success': 'var(--green-400)',
442
+ 'success-low': 'var(--green-alpha-50)',
443
+ },
444
+ dark: {
445
+ 'caution': 'var(--yellow-400)',
446
+ 'caution-low': 'var(--yellow-alpha-50)',
447
+ 'error': 'var(--red-400)',
448
+ 'error-low': 'var(--red-alpha-50)',
449
+ 'info': 'var(--blue1-400)',
450
+ 'info-low': 'var(--blue1-alpha-50)',
451
+ 'success': 'var(--green-400)',
452
+ 'success-low': 'var(--green-alpha-50)',
453
+ },
454
+ };
455
+ const staticBlack = {
456
+ light: {
457
+ 'alpha-100': '#0000001A',
458
+ 'alpha-200': '#00000033',
459
+ 'alpha-30': '#00000008',
460
+ 'alpha-50': '#0000000D',
461
+ 'alpha-500': '#00000080',
462
+ 'alpha-800': '#000000CC',
463
+ 'main': '#000000FF',
464
+ },
465
+ dark: {
466
+ 'alpha-100': '#0000001A',
467
+ 'alpha-200': '#00000033',
468
+ 'alpha-30': '#00000008',
469
+ 'alpha-50': '#0000000D',
470
+ 'alpha-500': '#00000080',
471
+ 'alpha-800': '#000000CC',
472
+ 'main': '#000000FF',
473
+ },
474
+ };
475
+ const staticWhite = {
476
+ light: {
477
+ 'alpha-100': '#FFFFFF1A',
478
+ 'alpha-200': '#FFFFFF33',
479
+ 'alpha-30': '#FFFFFF08',
480
+ 'alpha-50': '#FFFFFF0D',
481
+ 'alpha-500': '#FFFFFF80',
482
+ 'alpha-800': '#FFFFFFCC',
483
+ 'main': '#FFFFFFFF',
484
+ },
485
+ dark: {
486
+ 'alpha-100': '#FFFFFF1A',
487
+ 'alpha-200': '#FFFFFF33',
488
+ 'alpha-30': '#FFFFFF08',
489
+ 'alpha-50': '#FFFFFF0D',
490
+ 'alpha-500': '#FFFFFF80',
491
+ 'alpha-800': '#FFFFFFCC',
492
+ 'main': '#FFFFFFFF',
493
+ },
494
+ };
495
+ const staticColor = {
496
+ light: {
497
+ 'blue1-400': '#1473FFFF',
498
+ 'blue1-700': '#ACD2FFFF',
499
+ 'blue2-400': '#0152FFFF',
500
+ 'blue2-700': '#85ACFFFF',
501
+ 'gluwa-lightblue': '#67CEFFFF',
502
+ 'gluwa-navy': '#292751FF',
503
+ 'gray-00': '#0C0E10FF',
504
+ 'gray-200': '#36383AFF',
505
+ 'gray-alpha-100': '#0C0E101A',
506
+ 'gray-alpha-200': '#0C0E1033',
507
+ 'gray-alpha-500': '#0C0E1080',
508
+ 'gray-alpha-700': '#0C0E10B2',
509
+ 'green-400': '#1EEEAFFF',
510
+ 'green-700': '#93F7D9FF',
511
+ 'purple-400': '#4A6BFFFF',
512
+ 'purple-700': '#A8B8FFFF',
513
+ 'red-400': '#FF4848FF',
514
+ 'red-700': '#FFA7A7FF',
515
+ 'trugi-blue-200-legacy': '#D9E8F9FF',
516
+ 'trugi-blue-300-legacy': '#C0DAF8FF',
517
+ 'trugi-blue-700-legacy': '#132DBBFF',
518
+ 'trugi-blue-alpha': '#2848FE24',
519
+ 'trugi-green': '#4EE28CFF',
520
+ 'trugi-orange': '#FF8A4BFF',
521
+ 'trugi-pink': '#FF6CBFFF',
522
+ 'trugi-purple': '#B5AAFFFF',
523
+ 'yellow-400': '#FFC400FF',
524
+ 'yellow-700': '#FFE384FF',
525
+ },
526
+ dark: {
527
+ 'blue1-400': '#1473FFFF',
528
+ 'blue1-700': '#ACD2FFFF',
529
+ 'blue2-400': '#0152FFFF',
530
+ 'blue2-700': '#85ACFFFF',
531
+ 'gluwa-lightblue': '#67CEFFFF',
532
+ 'gluwa-navy': '#292751FF',
533
+ 'gray-00': '#0C0E10FF',
534
+ 'gray-200': '#36383AFF',
535
+ 'gray-alpha-100': '#0C0E101A',
536
+ 'gray-alpha-200': '#0C0E1033',
537
+ 'gray-alpha-500': '#0C0E1080',
538
+ 'gray-alpha-700': '#0C0E10B2',
539
+ 'green-400': '#1EEEAFFF',
540
+ 'green-700': '#93F7D9FF',
541
+ 'purple-400': '#4A6BFFFF',
542
+ 'purple-700': '#A8B8FFFF',
543
+ 'red-400': '#FF4848FF',
544
+ 'red-700': '#FFA7A7FF',
545
+ 'trugi-blue-200-legacy': '#D9E8F9FF',
546
+ 'trugi-blue-300-legacy': '#C0DAF8FF',
547
+ 'trugi-blue-700-legacy': '#132DBBFF',
548
+ 'trugi-blue-alpha': '#2848FE24',
549
+ 'trugi-green': '#4EE28CFF',
550
+ 'trugi-orange': '#FF8A4BFF',
551
+ 'trugi-pink': '#FF6CBFFF',
552
+ 'trugi-purple': '#B5AAFFFF',
553
+ 'yellow-400': '#FFC400FF',
554
+ 'yellow-700': '#FFE384FF',
555
+ },
556
+ };
557
+
558
+ var colors_data = /*#__PURE__*/Object.freeze({
559
+ __proto__: null,
560
+ blue1Alpha: blue1Alpha,
561
+ blue1Scale: blue1Scale,
562
+ blue2Alpha: blue2Alpha,
563
+ blue2Scale: blue2Scale,
564
+ grayAlpha: grayAlpha,
565
+ grayScale: grayScale,
566
+ graySemantic: graySemantic,
567
+ greenAlpha: greenAlpha,
568
+ greenScale: greenScale,
569
+ purpleAlpha: purpleAlpha,
570
+ purpleScale: purpleScale,
571
+ redAlpha: redAlpha,
572
+ redScale: redScale,
573
+ semanticBrand: semanticBrand,
574
+ semanticDivider: semanticDivider,
575
+ semanticInformation: semanticInformation,
576
+ semanticOverlay: semanticOverlay,
577
+ semanticPaper: semanticPaper,
578
+ staticBlack: staticBlack,
579
+ staticColor: staticColor,
580
+ staticWhite: staticWhite,
581
+ whiteAlpha: whiteAlpha,
582
+ yellowAlpha: yellowAlpha,
583
+ yellowScale: yellowScale
584
+ });
585
+
586
+ const lightColors = {
587
+ colors: {
588
+ gray: grayScale.light,
589
+ grayAlpha: grayAlpha.light,
590
+ graySemantic: graySemantic.light,
591
+ whiteAlpha: whiteAlpha.light,
592
+ blue1: blue1Scale.light,
593
+ blue1Alpha: blue1Alpha.light,
594
+ blue2: blue2Scale.light,
595
+ blue2Alpha: blue2Alpha.light,
596
+ green: greenScale.light,
597
+ greenAlpha: greenAlpha.light,
598
+ purple: purpleScale.light,
599
+ purpleAlpha: purpleAlpha.light,
600
+ yellow: yellowScale.light,
601
+ yellowAlpha: yellowAlpha.light,
602
+ red: redScale.light,
603
+ redAlpha: redAlpha.light,
604
+ },
605
+ };
606
+ const darkColors = {
607
+ colors: {
608
+ gray: grayScale.dark,
609
+ grayAlpha: grayAlpha.dark,
610
+ graySemantic: graySemantic.dark,
611
+ whiteAlpha: whiteAlpha.dark,
612
+ blue1: blue1Scale.dark,
613
+ blue1Alpha: blue1Alpha.dark,
614
+ blue2: blue2Scale.dark,
615
+ blue2Alpha: blue2Alpha.dark,
616
+ green: greenScale.dark,
617
+ greenAlpha: greenAlpha.dark,
618
+ purple: purpleScale.dark,
619
+ purpleAlpha: purpleAlpha.dark,
620
+ yellow: yellowScale.dark,
621
+ yellowAlpha: yellowAlpha.dark,
622
+ red: redScale.dark,
623
+ redAlpha: redAlpha.dark,
624
+ },
625
+ };
626
+
627
+ // Auto-generated file. Do not edit manually.
628
+ // Generated by extract-typography.ts
629
+ const typographyPresets = {
630
+ 'h1': {
631
+ fontFamily: 'Inter',
632
+ fontSize: 72,
633
+ fontWeight: 600,
634
+ fontStyle: 'normal',
635
+ lineHeight: 82.8,
636
+ letterSpacing: 0,
637
+ },
638
+ 'amount': {
639
+ fontFamily: 'Inter',
640
+ fontSize: 60,
641
+ fontWeight: 600,
642
+ fontStyle: 'normal',
643
+ lineHeight: 69,
644
+ letterSpacing: 0,
645
+ },
646
+ 'h2': {
647
+ fontFamily: 'Inter',
648
+ fontSize: 60,
649
+ fontWeight: 600,
650
+ fontStyle: 'normal',
651
+ lineHeight: 69,
652
+ letterSpacing: 0,
653
+ },
654
+ 'h3': {
655
+ fontFamily: 'Inter',
656
+ fontSize: 54,
657
+ fontWeight: 600,
658
+ fontStyle: 'normal',
659
+ lineHeight: 62.1,
660
+ letterSpacing: 0,
661
+ },
662
+ 'h4': {
663
+ fontFamily: 'Inter',
664
+ fontSize: 48,
665
+ fontWeight: 600,
666
+ fontStyle: 'normal',
667
+ lineHeight: 55.2,
668
+ letterSpacing: 0,
669
+ },
670
+ 'h5': {
671
+ fontFamily: 'Inter',
672
+ fontSize: 42,
673
+ fontWeight: 600,
674
+ fontStyle: 'normal',
675
+ lineHeight: 48.3,
676
+ letterSpacing: 0,
677
+ },
678
+ 'title1-bold': {
679
+ fontFamily: 'Inter',
680
+ fontSize: 32,
681
+ fontWeight: 600,
682
+ fontStyle: 'normal',
683
+ lineHeight: 48,
684
+ letterSpacing: 0,
685
+ },
686
+ 'title1-regular': {
687
+ fontFamily: 'Inter',
688
+ fontSize: 32,
689
+ fontWeight: 400,
690
+ fontStyle: 'normal',
691
+ lineHeight: 48,
692
+ letterSpacing: 0,
693
+ },
694
+ 'title2-bold': {
695
+ fontFamily: 'Inter',
696
+ fontSize: 26,
697
+ fontWeight: 600,
698
+ fontStyle: 'normal',
699
+ lineHeight: 39,
700
+ letterSpacing: 0,
701
+ },
702
+ 'title2-regular': {
703
+ fontFamily: 'Inter',
704
+ fontSize: 26,
705
+ fontWeight: 400,
706
+ fontStyle: 'normal',
707
+ lineHeight: 39,
708
+ letterSpacing: 0,
709
+ },
710
+ 'title3-bold': {
711
+ fontFamily: 'Inter',
712
+ fontSize: 24,
713
+ fontWeight: 600,
714
+ fontStyle: 'normal',
715
+ lineHeight: 36,
716
+ letterSpacing: 0,
717
+ },
718
+ 'title3-regular': {
719
+ fontFamily: 'Inter',
720
+ fontSize: 24,
721
+ fontWeight: 400,
722
+ fontStyle: 'normal',
723
+ lineHeight: 36,
724
+ letterSpacing: 0,
725
+ },
726
+ 'title4-bold': {
727
+ fontFamily: 'Inter',
728
+ fontSize: 20,
729
+ fontWeight: 600,
730
+ fontStyle: 'normal',
731
+ lineHeight: 30,
732
+ letterSpacing: 0,
733
+ },
734
+ 'title4-regular': {
735
+ fontFamily: 'Inter',
736
+ fontSize: 20,
737
+ fontWeight: 400,
738
+ fontStyle: 'normal',
739
+ lineHeight: 30,
740
+ letterSpacing: 0,
741
+ },
742
+ 'title5-bold': {
743
+ fontFamily: 'Inter',
744
+ fontSize: 19,
745
+ fontWeight: 600,
746
+ fontStyle: 'normal',
747
+ lineHeight: 28.5,
748
+ letterSpacing: -0.19,
749
+ },
750
+ 'title5-regular': {
751
+ fontFamily: 'Inter',
752
+ fontSize: 19,
753
+ fontWeight: 400,
754
+ fontStyle: 'normal',
755
+ lineHeight: 28.5,
756
+ letterSpacing: -0.19,
757
+ },
758
+ 'subtitle1-bold': {
759
+ fontFamily: 'Inter',
760
+ fontSize: 18,
761
+ fontWeight: 600,
762
+ fontStyle: 'normal',
763
+ lineHeight: 27,
764
+ letterSpacing: -0.18,
765
+ },
766
+ 'subtitle1-regular': {
767
+ fontFamily: 'Inter',
768
+ fontSize: 18,
769
+ fontWeight: 400,
770
+ fontStyle: 'normal',
771
+ lineHeight: 27,
772
+ letterSpacing: -0.18,
773
+ },
774
+ 'subtitle2-bold': {
775
+ fontFamily: 'Inter',
776
+ fontSize: 17,
777
+ fontWeight: 600,
778
+ fontStyle: 'normal',
779
+ lineHeight: 25.5,
780
+ letterSpacing: -0.17,
781
+ },
782
+ 'subtitle2-regular': {
783
+ fontFamily: 'Inter',
784
+ fontSize: 17,
785
+ fontWeight: 400,
786
+ fontStyle: 'normal',
787
+ lineHeight: 25.5,
788
+ letterSpacing: -0.17,
789
+ },
790
+ 'body1-l1-bold': {
791
+ fontFamily: 'Inter',
792
+ fontSize: 18,
793
+ fontWeight: 600,
794
+ fontStyle: 'normal',
795
+ lineHeight: 32.4,
796
+ letterSpacing: -0.18,
797
+ },
798
+ 'body1-l1-medium': {
799
+ fontFamily: 'Inter',
800
+ fontSize: 18,
801
+ fontWeight: 500,
802
+ fontStyle: 'normal',
803
+ lineHeight: 32.4,
804
+ letterSpacing: -0.18,
805
+ },
806
+ 'body1-l1-regular': {
807
+ fontFamily: 'Inter',
808
+ fontSize: 18,
809
+ fontWeight: 400,
810
+ fontStyle: 'normal',
811
+ lineHeight: 32.4,
812
+ letterSpacing: -0.18,
813
+ },
814
+ 'body1-l2-bold': {
815
+ fontFamily: 'Inter',
816
+ fontSize: 18,
817
+ fontWeight: 600,
818
+ fontStyle: 'normal',
819
+ lineHeight: 27,
820
+ letterSpacing: -0.18,
821
+ },
822
+ 'body1-l2-medium': {
823
+ fontFamily: 'Inter',
824
+ fontSize: 18,
825
+ fontWeight: 500,
826
+ fontStyle: 'normal',
827
+ lineHeight: 27,
828
+ letterSpacing: -0.18,
829
+ },
830
+ 'body1-l2-regular': {
831
+ fontFamily: 'Inter',
832
+ fontSize: 18,
833
+ fontWeight: 400,
834
+ fontStyle: 'normal',
835
+ lineHeight: 27,
836
+ letterSpacing: -0.18,
837
+ },
838
+ 'body2-l1-bold': {
839
+ fontFamily: 'Inter',
840
+ fontSize: 17,
841
+ fontWeight: 600,
842
+ fontStyle: 'normal',
843
+ lineHeight: 30.6,
844
+ letterSpacing: -0.17,
845
+ },
846
+ 'body2-l1-medium': {
847
+ fontFamily: 'Inter',
848
+ fontSize: 17,
849
+ fontWeight: 500,
850
+ fontStyle: 'normal',
851
+ lineHeight: 30.6,
852
+ letterSpacing: -0.17,
853
+ },
854
+ 'body2-l1-regular': {
855
+ fontFamily: 'Inter',
856
+ fontSize: 17,
857
+ fontWeight: 400,
858
+ fontStyle: 'normal',
859
+ lineHeight: 25.5,
860
+ letterSpacing: -0.17,
861
+ },
862
+ 'body2-l2-bold': {
863
+ fontFamily: 'Inter',
864
+ fontSize: 17,
865
+ fontWeight: 600,
866
+ fontStyle: 'normal',
867
+ lineHeight: 25.5,
868
+ letterSpacing: -0.17,
869
+ },
870
+ 'body2-l2-medium': {
871
+ fontFamily: 'Inter',
872
+ fontSize: 17,
873
+ fontWeight: 500,
874
+ fontStyle: 'normal',
875
+ lineHeight: 25.5,
876
+ letterSpacing: -0.17,
877
+ },
878
+ 'body3-l1-bold': {
879
+ fontFamily: 'Inter',
880
+ fontSize: 16,
881
+ fontWeight: 600,
882
+ fontStyle: 'normal',
883
+ lineHeight: 28.8,
884
+ letterSpacing: -0.16,
885
+ },
886
+ 'body3-l1-medium': {
887
+ fontFamily: 'Inter',
888
+ fontSize: 16,
889
+ fontWeight: 500,
890
+ fontStyle: 'normal',
891
+ lineHeight: 28.8,
892
+ letterSpacing: -0.16,
893
+ },
894
+ 'body3-l1-regular': {
895
+ fontFamily: 'Inter',
896
+ fontSize: 16,
897
+ fontWeight: 400,
898
+ fontStyle: 'normal',
899
+ lineHeight: 28.8,
900
+ letterSpacing: -0.16,
901
+ },
902
+ 'body3-l2-bold': {
903
+ fontFamily: 'Inter',
904
+ fontSize: 16,
905
+ fontWeight: 600,
906
+ fontStyle: 'normal',
907
+ lineHeight: 24,
908
+ letterSpacing: -0.16,
909
+ },
910
+ 'body3-l2-medium': {
911
+ fontFamily: 'Inter',
912
+ fontSize: 16,
913
+ fontWeight: 500,
914
+ fontStyle: 'normal',
915
+ lineHeight: 24,
916
+ letterSpacing: -0.16,
917
+ },
918
+ 'body3-l2-regular': {
919
+ fontFamily: 'Inter',
920
+ fontSize: 16,
921
+ fontWeight: 400,
922
+ fontStyle: 'normal',
923
+ lineHeight: 24,
924
+ letterSpacing: -0.16,
925
+ },
926
+ 'body4-l1-bold': {
927
+ fontFamily: 'Inter',
928
+ fontSize: 15,
929
+ fontWeight: 600,
930
+ fontStyle: 'normal',
931
+ lineHeight: 27,
932
+ letterSpacing: -0.15,
933
+ },
934
+ 'body4-l1-medium': {
935
+ fontFamily: 'Inter',
936
+ fontSize: 15,
937
+ fontWeight: 500,
938
+ fontStyle: 'normal',
939
+ lineHeight: 27,
940
+ letterSpacing: -0.15,
941
+ },
942
+ 'body4-l1-regular': {
943
+ fontFamily: 'Inter',
944
+ fontSize: 15,
945
+ fontWeight: 400,
946
+ fontStyle: 'normal',
947
+ lineHeight: 27,
948
+ letterSpacing: -0.15,
949
+ },
950
+ 'body4-l2-bold': {
951
+ fontFamily: 'Inter',
952
+ fontSize: 15,
953
+ fontWeight: 600,
954
+ fontStyle: 'normal',
955
+ lineHeight: 22.5,
956
+ letterSpacing: -0.15,
957
+ },
958
+ 'body4-l2-medium': {
959
+ fontFamily: 'Inter',
960
+ fontSize: 15,
961
+ fontWeight: 500,
962
+ fontStyle: 'normal',
963
+ lineHeight: 22.5,
964
+ letterSpacing: -0.15,
965
+ },
966
+ 'body4-l2-regular': {
967
+ fontFamily: 'Inter',
968
+ fontSize: 15,
969
+ fontWeight: 400,
970
+ fontStyle: 'normal',
971
+ lineHeight: 22.5,
972
+ letterSpacing: -0.15,
973
+ },
974
+ 'label1-bold': {
975
+ fontFamily: 'Inter',
976
+ fontSize: 18,
977
+ fontWeight: 600,
978
+ fontStyle: 'normal',
979
+ lineHeight: 27,
980
+ letterSpacing: -0.18,
981
+ },
982
+ 'label1-regular': {
983
+ fontFamily: 'Inter',
984
+ fontSize: 18,
985
+ fontWeight: 400,
986
+ fontStyle: 'normal',
987
+ lineHeight: 27,
988
+ letterSpacing: -0.18,
989
+ },
990
+ 'label2-bold': {
991
+ fontFamily: 'Inter',
992
+ fontSize: 17,
993
+ fontWeight: 600,
994
+ fontStyle: 'normal',
995
+ lineHeight: 25.5,
996
+ letterSpacing: -0.17,
997
+ },
998
+ 'label2-regular': {
999
+ fontFamily: 'Inter',
1000
+ fontSize: 17,
1001
+ fontWeight: 400,
1002
+ fontStyle: 'normal',
1003
+ lineHeight: 25.5,
1004
+ letterSpacing: -0.17,
1005
+ },
1006
+ 'label3-bold': {
1007
+ fontFamily: 'Inter',
1008
+ fontSize: 16,
1009
+ fontWeight: 600,
1010
+ fontStyle: 'normal',
1011
+ lineHeight: 24,
1012
+ letterSpacing: -0.16,
1013
+ },
1014
+ 'label3-regular': {
1015
+ fontFamily: 'Inter',
1016
+ fontSize: 16,
1017
+ fontWeight: 400,
1018
+ fontStyle: 'normal',
1019
+ lineHeight: 24,
1020
+ letterSpacing: -0.16,
1021
+ },
1022
+ 'label4-bold': {
1023
+ fontFamily: 'Inter',
1024
+ fontSize: 15,
1025
+ fontWeight: 600,
1026
+ fontStyle: 'normal',
1027
+ lineHeight: 22.5,
1028
+ letterSpacing: -0.15,
1029
+ },
1030
+ 'label4-regular': {
1031
+ fontFamily: 'Inter',
1032
+ fontSize: 15,
1033
+ fontWeight: 400,
1034
+ fontStyle: 'normal',
1035
+ lineHeight: 22.5,
1036
+ letterSpacing: -0.15,
1037
+ },
1038
+ 'label5-bold': {
1039
+ fontFamily: 'Inter',
1040
+ fontSize: 14,
1041
+ fontWeight: 600,
1042
+ fontStyle: 'normal',
1043
+ lineHeight: 21,
1044
+ letterSpacing: -0.14,
1045
+ },
1046
+ 'label5-regular': {
1047
+ fontFamily: 'Inter',
1048
+ fontSize: 14,
1049
+ fontWeight: 400,
1050
+ fontStyle: 'normal',
1051
+ lineHeight: 21,
1052
+ letterSpacing: -0.14,
1053
+ },
1054
+ 'label6-bold': {
1055
+ fontFamily: 'Inter',
1056
+ fontSize: 13,
1057
+ fontWeight: 600,
1058
+ fontStyle: 'normal',
1059
+ lineHeight: 19.5,
1060
+ letterSpacing: -0.13,
1061
+ },
1062
+ 'label6-regular': {
1063
+ fontFamily: 'Inter',
1064
+ fontSize: 13,
1065
+ fontWeight: 400,
1066
+ fontStyle: 'normal',
1067
+ lineHeight: 19.5,
1068
+ letterSpacing: -0.13,
1069
+ },
1070
+ 'caption1-bold': {
1071
+ fontFamily: 'Inter',
1072
+ fontSize: 12,
1073
+ fontWeight: 600,
1074
+ fontStyle: 'normal',
1075
+ lineHeight: 18,
1076
+ letterSpacing: -0.12,
1077
+ },
1078
+ 'caption1-regular': {
1079
+ fontFamily: 'Inter',
1080
+ fontSize: 12,
1081
+ fontWeight: 400,
1082
+ fontStyle: 'normal',
1083
+ lineHeight: 18,
1084
+ letterSpacing: -0.12,
1085
+ },
1086
+ 'caption2-bold': {
1087
+ fontFamily: 'Inter',
1088
+ fontSize: 11,
1089
+ fontWeight: 600,
1090
+ fontStyle: 'normal',
1091
+ lineHeight: 16.5,
1092
+ letterSpacing: -0.11,
1093
+ },
1094
+ 'caption2-regular': {
1095
+ fontFamily: 'Inter',
1096
+ fontSize: 11,
1097
+ fontWeight: 400,
1098
+ fontStyle: 'normal',
1099
+ lineHeight: 16.5,
1100
+ letterSpacing: -0.11,
1101
+ },
1102
+ 'caption3-bold': {
1103
+ fontFamily: 'Inter',
1104
+ fontSize: 10,
1105
+ fontWeight: 600,
1106
+ fontStyle: 'normal',
1107
+ lineHeight: 15,
1108
+ letterSpacing: -0.1,
1109
+ },
1110
+ 'caption3-regular': {
1111
+ fontFamily: 'Inter',
1112
+ fontSize: 10,
1113
+ fontWeight: 400,
1114
+ fontStyle: 'normal',
1115
+ lineHeight: 14,
1116
+ letterSpacing: -0.1,
1117
+ },
1118
+ };
1119
+
1120
+ export { colors_data as colorScales, darkColors, lightColors, typographyPresets };
9
1121
  //# sourceMappingURL=index.esm.js.map