@spectrabrain/eds 0.0.1

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,1224 @@
1
+ // src/generated/tokens.ts
2
+ var tokenMap = {
3
+ "color-bg-brand-primary": {
4
+ "name": "color-bg-brand-primary",
5
+ "type": "color",
6
+ "value": "#FE4101",
7
+ "cssVariable": "--eds-color-bg-brand-primary"
8
+ },
9
+ "color-bg-brand-primary-hover": {
10
+ "name": "color-bg-brand-primary-hover",
11
+ "type": "color",
12
+ "value": "#DB3700",
13
+ "cssVariable": "--eds-color-bg-brand-primary-hover"
14
+ },
15
+ "color-bg-critical-primary": {
16
+ "name": "color-bg-critical-primary",
17
+ "type": "color",
18
+ "value": "#EF4444",
19
+ "cssVariable": "--eds-color-bg-critical-primary"
20
+ },
21
+ "color-bg-critical-primary-hover": {
22
+ "name": "color-bg-critical-primary-hover",
23
+ "type": "color",
24
+ "value": "#DC2626",
25
+ "cssVariable": "--eds-color-bg-critical-primary-hover"
26
+ },
27
+ "color-bg-critical-weak": {
28
+ "name": "color-bg-critical-weak",
29
+ "type": "color",
30
+ "value": "#FEF2F2",
31
+ "cssVariable": "--eds-color-bg-critical-weak"
32
+ },
33
+ "color-bg-critical-weak-hover": {
34
+ "name": "color-bg-critical-weak-hover",
35
+ "type": "color",
36
+ "value": "#FEE2E2",
37
+ "cssVariable": "--eds-color-bg-critical-weak-hover"
38
+ },
39
+ "color-bg-disabled": {
40
+ "name": "color-bg-disabled",
41
+ "type": "color",
42
+ "value": "#E5E7EB",
43
+ "cssVariable": "--eds-color-bg-disabled"
44
+ },
45
+ "color-bg-informative-primary": {
46
+ "name": "color-bg-informative-primary",
47
+ "type": "color",
48
+ "value": "#3B82F6",
49
+ "cssVariable": "--eds-color-bg-informative-primary"
50
+ },
51
+ "color-bg-informative-primary-hover": {
52
+ "name": "color-bg-informative-primary-hover",
53
+ "type": "color",
54
+ "value": "#2563EB",
55
+ "cssVariable": "--eds-color-bg-informative-primary-hover"
56
+ },
57
+ "color-bg-informative-weak": {
58
+ "name": "color-bg-informative-weak",
59
+ "type": "color",
60
+ "value": "#EFF6FF",
61
+ "cssVariable": "--eds-color-bg-informative-weak"
62
+ },
63
+ "color-bg-informative-weak-hover": {
64
+ "name": "color-bg-informative-weak-hover",
65
+ "type": "color",
66
+ "value": "#DBEAFE",
67
+ "cssVariable": "--eds-color-bg-informative-weak-hover"
68
+ },
69
+ "color-bg-layer-basement": {
70
+ "name": "color-bg-layer-basement",
71
+ "type": "color",
72
+ "value": "#F3F4F6",
73
+ "cssVariable": "--eds-color-bg-layer-basement"
74
+ },
75
+ "color-bg-layer-default": {
76
+ "name": "color-bg-layer-default",
77
+ "type": "color",
78
+ "value": "#FFFFFF",
79
+ "cssVariable": "--eds-color-bg-layer-default"
80
+ },
81
+ "color-bg-layer-default-hover": {
82
+ "name": "color-bg-layer-default-hover",
83
+ "type": "color",
84
+ "value": "#F9FAFB",
85
+ "cssVariable": "--eds-color-bg-layer-default-hover"
86
+ },
87
+ "color-bg-layer-floating": {
88
+ "name": "color-bg-layer-floating",
89
+ "type": "color",
90
+ "value": "#FFFFFF",
91
+ "cssVariable": "--eds-color-bg-layer-floating"
92
+ },
93
+ "color-bg-layer-floating-hover": {
94
+ "name": "color-bg-layer-floating-hover",
95
+ "type": "color",
96
+ "value": "#F9FAFB",
97
+ "cssVariable": "--eds-color-bg-layer-floating-hover"
98
+ },
99
+ "color-bg-neutral-inverted": {
100
+ "name": "color-bg-neutral-inverted",
101
+ "type": "color",
102
+ "value": "#374151",
103
+ "cssVariable": "--eds-color-bg-neutral-inverted"
104
+ },
105
+ "color-bg-neutral-inverted-hover": {
106
+ "name": "color-bg-neutral-inverted-hover",
107
+ "type": "color",
108
+ "value": "#374151",
109
+ "cssVariable": "--eds-color-bg-neutral-inverted-hover"
110
+ },
111
+ "color-bg-neutral-primary": {
112
+ "name": "color-bg-neutral-primary",
113
+ "type": "color",
114
+ "value": "#FFFFFF",
115
+ "cssVariable": "--eds-color-bg-neutral-primary"
116
+ },
117
+ "color-bg-neutral-primary-hover": {
118
+ "name": "color-bg-neutral-primary-hover",
119
+ "type": "color",
120
+ "value": "#F3F4F6",
121
+ "cssVariable": "--eds-color-bg-neutral-primary-hover"
122
+ },
123
+ "color-bg-neutral-weak": {
124
+ "name": "color-bg-neutral-weak",
125
+ "type": "color",
126
+ "value": "#E5E7EB",
127
+ "cssVariable": "--eds-color-bg-neutral-weak"
128
+ },
129
+ "color-bg-neutral-weak-hover": {
130
+ "name": "color-bg-neutral-weak-hover",
131
+ "type": "color",
132
+ "value": "#D1D5DB",
133
+ "cssVariable": "--eds-color-bg-neutral-weak-hover"
134
+ },
135
+ "color-bg-positive-primary": {
136
+ "name": "color-bg-positive-primary",
137
+ "type": "color",
138
+ "value": "#22C55E",
139
+ "cssVariable": "--eds-color-bg-positive-primary"
140
+ },
141
+ "color-bg-positive-primary-hover": {
142
+ "name": "color-bg-positive-primary-hover",
143
+ "type": "color",
144
+ "value": "#16A34A",
145
+ "cssVariable": "--eds-color-bg-positive-primary-hover"
146
+ },
147
+ "color-bg-positive-weak": {
148
+ "name": "color-bg-positive-weak",
149
+ "type": "color",
150
+ "value": "#F0FDF4",
151
+ "cssVariable": "--eds-color-bg-positive-weak"
152
+ },
153
+ "color-bg-positive-weak-hover": {
154
+ "name": "color-bg-positive-weak-hover",
155
+ "type": "color",
156
+ "value": "#DCFCE7",
157
+ "cssVariable": "--eds-color-bg-positive-weak-hover"
158
+ },
159
+ "color-bg-transparent": {
160
+ "name": "color-bg-transparent",
161
+ "type": "color",
162
+ "value": "#00000000",
163
+ "cssVariable": "--eds-color-bg-transparent"
164
+ },
165
+ "color-bg-transparent-hover": {
166
+ "name": "color-bg-transparent-hover",
167
+ "type": "color",
168
+ "value": "#00000007",
169
+ "cssVariable": "--eds-color-bg-transparent-hover"
170
+ },
171
+ "color-bg-warning-primary": {
172
+ "name": "color-bg-warning-primary",
173
+ "type": "color",
174
+ "value": "#FDE047",
175
+ "cssVariable": "--eds-color-bg-warning-primary"
176
+ },
177
+ "color-bg-warning-primary-hover": {
178
+ "name": "color-bg-warning-primary-hover",
179
+ "type": "color",
180
+ "value": "#FACC15",
181
+ "cssVariable": "--eds-color-bg-warning-primary-hover"
182
+ },
183
+ "color-bg-warning-weak": {
184
+ "name": "color-bg-warning-weak",
185
+ "type": "color",
186
+ "value": "#FEFCE8",
187
+ "cssVariable": "--eds-color-bg-warning-weak"
188
+ },
189
+ "color-bg-warning-weak-hover": {
190
+ "name": "color-bg-warning-weak-hover",
191
+ "type": "color",
192
+ "value": "#FEF9C3",
193
+ "cssVariable": "--eds-color-bg-warning-weak-hover"
194
+ },
195
+ "color-fg-brand": {
196
+ "name": "color-fg-brand",
197
+ "type": "color",
198
+ "value": "#FE4101",
199
+ "cssVariable": "--eds-color-fg-brand"
200
+ },
201
+ "color-fg-brand-contrast": {
202
+ "name": "color-fg-brand-contrast",
203
+ "type": "color",
204
+ "value": "#AE2B00",
205
+ "cssVariable": "--eds-color-fg-brand-contrast"
206
+ },
207
+ "color-fg-critical": {
208
+ "name": "color-fg-critical",
209
+ "type": "color",
210
+ "value": "#EF4444",
211
+ "cssVariable": "--eds-color-fg-critical"
212
+ },
213
+ "color-fg-critical-contrast": {
214
+ "name": "color-fg-critical-contrast",
215
+ "type": "color",
216
+ "value": "#B91C1C",
217
+ "cssVariable": "--eds-color-fg-critical-contrast"
218
+ },
219
+ "color-fg-disabled": {
220
+ "name": "color-fg-disabled",
221
+ "type": "color",
222
+ "value": "#D1D5DB",
223
+ "cssVariable": "--eds-color-fg-disabled"
224
+ },
225
+ "color-fg-focus": {
226
+ "name": "color-fg-focus",
227
+ "type": "color",
228
+ "value": "#374151",
229
+ "cssVariable": "--eds-color-fg-focus"
230
+ },
231
+ "color-fg-informative": {
232
+ "name": "color-fg-informative",
233
+ "type": "color",
234
+ "value": "#3B82F6",
235
+ "cssVariable": "--eds-color-fg-informative"
236
+ },
237
+ "color-fg-informative-contrast": {
238
+ "name": "color-fg-informative-contrast",
239
+ "type": "color",
240
+ "value": "#1D4ED8",
241
+ "cssVariable": "--eds-color-fg-informative-contrast"
242
+ },
243
+ "color-fg-neutral": {
244
+ "name": "color-fg-neutral",
245
+ "type": "color",
246
+ "value": "#374151",
247
+ "cssVariable": "--eds-color-fg-neutral"
248
+ },
249
+ "color-fg-neutral-inverted": {
250
+ "name": "color-fg-neutral-inverted",
251
+ "type": "color",
252
+ "value": "#FFFFFF",
253
+ "cssVariable": "--eds-color-fg-neutral-inverted"
254
+ },
255
+ "color-fg-neutral-secondary": {
256
+ "name": "color-fg-neutral-secondary",
257
+ "type": "color",
258
+ "value": "#4B5563",
259
+ "cssVariable": "--eds-color-fg-neutral-secondary"
260
+ },
261
+ "color-fg-neutral-tertiary": {
262
+ "name": "color-fg-neutral-tertiary",
263
+ "type": "color",
264
+ "value": "#9CA3AF",
265
+ "cssVariable": "--eds-color-fg-neutral-tertiary"
266
+ },
267
+ "color-fg-placeholder": {
268
+ "name": "color-fg-placeholder",
269
+ "type": "color",
270
+ "value": "#9CA3AF",
271
+ "cssVariable": "--eds-color-fg-placeholder"
272
+ },
273
+ "color-fg-positive": {
274
+ "name": "color-fg-positive",
275
+ "type": "color",
276
+ "value": "#22C55E",
277
+ "cssVariable": "--eds-color-fg-positive"
278
+ },
279
+ "color-fg-positive-contrast": {
280
+ "name": "color-fg-positive-contrast",
281
+ "type": "color",
282
+ "value": "#15803D",
283
+ "cssVariable": "--eds-color-fg-positive-contrast"
284
+ },
285
+ "color-fg-warning": {
286
+ "name": "color-fg-warning",
287
+ "type": "color",
288
+ "value": "#CA8A04",
289
+ "cssVariable": "--eds-color-fg-warning"
290
+ },
291
+ "color-fg-warning-contrast": {
292
+ "name": "color-fg-warning-contrast",
293
+ "type": "color",
294
+ "value": "#713F12",
295
+ "cssVariable": "--eds-color-fg-warning-contrast"
296
+ },
297
+ "color-stroke-brand-primary": {
298
+ "name": "color-stroke-brand-primary",
299
+ "type": "color",
300
+ "value": "#DB3700",
301
+ "cssVariable": "--eds-color-stroke-brand-primary"
302
+ },
303
+ "color-stroke-critical-primary": {
304
+ "name": "color-stroke-critical-primary",
305
+ "type": "color",
306
+ "value": "#EF4444",
307
+ "cssVariable": "--eds-color-stroke-critical-primary"
308
+ },
309
+ "color-stroke-critical-weak": {
310
+ "name": "color-stroke-critical-weak",
311
+ "type": "color",
312
+ "value": "#FECACA",
313
+ "cssVariable": "--eds-color-stroke-critical-weak"
314
+ },
315
+ "color-stroke-focusRing": {
316
+ "name": "color-stroke-focusRing",
317
+ "type": "color",
318
+ "value": "#374151",
319
+ "cssVariable": "--eds-color-stroke-focusRing"
320
+ },
321
+ "color-stroke-informative-primary": {
322
+ "name": "color-stroke-informative-primary",
323
+ "type": "color",
324
+ "value": "#3B82F6",
325
+ "cssVariable": "--eds-color-stroke-informative-primary"
326
+ },
327
+ "color-stroke-informative-weak": {
328
+ "name": "color-stroke-informative-weak",
329
+ "type": "color",
330
+ "value": "#BFDBFE",
331
+ "cssVariable": "--eds-color-stroke-informative-weak"
332
+ },
333
+ "color-stroke-neutral-contrast": {
334
+ "name": "color-stroke-neutral-contrast",
335
+ "type": "color",
336
+ "value": "#374151",
337
+ "cssVariable": "--eds-color-stroke-neutral-contrast"
338
+ },
339
+ "color-stroke-neutral-primary": {
340
+ "name": "color-stroke-neutral-primary",
341
+ "type": "color",
342
+ "value": "#4B5563",
343
+ "cssVariable": "--eds-color-stroke-neutral-primary"
344
+ },
345
+ "color-stroke-neutral-secondary": {
346
+ "name": "color-stroke-neutral-secondary",
347
+ "type": "color",
348
+ "value": "#E5E7EB",
349
+ "cssVariable": "--eds-color-stroke-neutral-secondary"
350
+ },
351
+ "color-stroke-neutral-weak": {
352
+ "name": "color-stroke-neutral-weak",
353
+ "type": "color",
354
+ "value": "#F3F4F6",
355
+ "cssVariable": "--eds-color-stroke-neutral-weak"
356
+ },
357
+ "color-stroke-positive-primary": {
358
+ "name": "color-stroke-positive-primary",
359
+ "type": "color",
360
+ "value": "#22C55E",
361
+ "cssVariable": "--eds-color-stroke-positive-primary"
362
+ },
363
+ "color-stroke-positive-weak": {
364
+ "name": "color-stroke-positive-weak",
365
+ "type": "color",
366
+ "value": "#BBF7D0",
367
+ "cssVariable": "--eds-color-stroke-positive-weak"
368
+ },
369
+ "color-stroke-warning-primary": {
370
+ "name": "color-stroke-warning-primary",
371
+ "type": "color",
372
+ "value": "#EAB308",
373
+ "cssVariable": "--eds-color-stroke-warning-primary"
374
+ },
375
+ "color-stroke-warning-weak": {
376
+ "name": "color-stroke-warning-weak",
377
+ "type": "color",
378
+ "value": "#FDE047",
379
+ "cssVariable": "--eds-color-stroke-warning-weak"
380
+ },
381
+ "typography-body1-fontFamily": {
382
+ "name": "typography-body1-fontFamily",
383
+ "type": "fontFamily",
384
+ "value": [
385
+ "Pretendard",
386
+ "system-ui",
387
+ "sans-serif"
388
+ ],
389
+ "cssVariable": "--eds-typography-body1-fontFamily"
390
+ },
391
+ "typography-body1-fontSize": {
392
+ "name": "typography-body1-fontSize",
393
+ "type": "dimension",
394
+ "value": {
395
+ "value": 1.125,
396
+ "unit": "rem"
397
+ },
398
+ "cssVariable": "--eds-typography-body1-fontSize"
399
+ },
400
+ "typography-body1-fontWeight": {
401
+ "name": "typography-body1-fontWeight",
402
+ "type": "fontWeight",
403
+ "value": 500,
404
+ "cssVariable": "--eds-typography-body1-fontWeight"
405
+ },
406
+ "typography-body1-letterSpacing": {
407
+ "name": "typography-body1-letterSpacing",
408
+ "type": "dimension",
409
+ "value": {
410
+ "value": 0,
411
+ "unit": "px"
412
+ },
413
+ "cssVariable": "--eds-typography-body1-letterSpacing"
414
+ },
415
+ "typography-body1-lineHeight": {
416
+ "name": "typography-body1-lineHeight",
417
+ "type": "dimension",
418
+ "value": {
419
+ "value": 1.75,
420
+ "unit": "rem"
421
+ },
422
+ "cssVariable": "--eds-typography-body1-lineHeight"
423
+ },
424
+ "typography-body2-fontFamily": {
425
+ "name": "typography-body2-fontFamily",
426
+ "type": "fontFamily",
427
+ "value": [
428
+ "Pretendard",
429
+ "system-ui",
430
+ "sans-serif"
431
+ ],
432
+ "cssVariable": "--eds-typography-body2-fontFamily"
433
+ },
434
+ "typography-body2-fontSize": {
435
+ "name": "typography-body2-fontSize",
436
+ "type": "dimension",
437
+ "value": {
438
+ "value": 1,
439
+ "unit": "rem"
440
+ },
441
+ "cssVariable": "--eds-typography-body2-fontSize"
442
+ },
443
+ "typography-body2-fontWeight": {
444
+ "name": "typography-body2-fontWeight",
445
+ "type": "fontWeight",
446
+ "value": 500,
447
+ "cssVariable": "--eds-typography-body2-fontWeight"
448
+ },
449
+ "typography-body2-letterSpacing": {
450
+ "name": "typography-body2-letterSpacing",
451
+ "type": "dimension",
452
+ "value": {
453
+ "value": 0,
454
+ "unit": "px"
455
+ },
456
+ "cssVariable": "--eds-typography-body2-letterSpacing"
457
+ },
458
+ "typography-body2-lineHeight": {
459
+ "name": "typography-body2-lineHeight",
460
+ "type": "dimension",
461
+ "value": {
462
+ "value": 1.5,
463
+ "unit": "rem"
464
+ },
465
+ "cssVariable": "--eds-typography-body2-lineHeight"
466
+ },
467
+ "typography-body3-fontFamily": {
468
+ "name": "typography-body3-fontFamily",
469
+ "type": "fontFamily",
470
+ "value": [
471
+ "Pretendard",
472
+ "system-ui",
473
+ "sans-serif"
474
+ ],
475
+ "cssVariable": "--eds-typography-body3-fontFamily"
476
+ },
477
+ "typography-body3-fontSize": {
478
+ "name": "typography-body3-fontSize",
479
+ "type": "dimension",
480
+ "value": {
481
+ "value": 0.875,
482
+ "unit": "rem"
483
+ },
484
+ "cssVariable": "--eds-typography-body3-fontSize"
485
+ },
486
+ "typography-body3-fontWeight": {
487
+ "name": "typography-body3-fontWeight",
488
+ "type": "fontWeight",
489
+ "value": 500,
490
+ "cssVariable": "--eds-typography-body3-fontWeight"
491
+ },
492
+ "typography-body3-letterSpacing": {
493
+ "name": "typography-body3-letterSpacing",
494
+ "type": "dimension",
495
+ "value": {
496
+ "value": 0,
497
+ "unit": "px"
498
+ },
499
+ "cssVariable": "--eds-typography-body3-letterSpacing"
500
+ },
501
+ "typography-body3-lineHeight": {
502
+ "name": "typography-body3-lineHeight",
503
+ "type": "dimension",
504
+ "value": {
505
+ "value": 1.25,
506
+ "unit": "rem"
507
+ },
508
+ "cssVariable": "--eds-typography-body3-lineHeight"
509
+ },
510
+ "typography-body4-fontFamily": {
511
+ "name": "typography-body4-fontFamily",
512
+ "type": "fontFamily",
513
+ "value": [
514
+ "Pretendard",
515
+ "system-ui",
516
+ "sans-serif"
517
+ ],
518
+ "cssVariable": "--eds-typography-body4-fontFamily"
519
+ },
520
+ "typography-body4-fontSize": {
521
+ "name": "typography-body4-fontSize",
522
+ "type": "dimension",
523
+ "value": {
524
+ "value": 0.8125,
525
+ "unit": "rem"
526
+ },
527
+ "cssVariable": "--eds-typography-body4-fontSize"
528
+ },
529
+ "typography-body4-fontWeight": {
530
+ "name": "typography-body4-fontWeight",
531
+ "type": "fontWeight",
532
+ "value": 500,
533
+ "cssVariable": "--eds-typography-body4-fontWeight"
534
+ },
535
+ "typography-body4-letterSpacing": {
536
+ "name": "typography-body4-letterSpacing",
537
+ "type": "dimension",
538
+ "value": {
539
+ "value": 0,
540
+ "unit": "px"
541
+ },
542
+ "cssVariable": "--eds-typography-body4-letterSpacing"
543
+ },
544
+ "typography-body4-lineHeight": {
545
+ "name": "typography-body4-lineHeight",
546
+ "type": "dimension",
547
+ "value": {
548
+ "value": 1.25,
549
+ "unit": "rem"
550
+ },
551
+ "cssVariable": "--eds-typography-body4-lineHeight"
552
+ },
553
+ "typography-caption1-fontFamily": {
554
+ "name": "typography-caption1-fontFamily",
555
+ "type": "fontFamily",
556
+ "value": [
557
+ "Pretendard",
558
+ "system-ui",
559
+ "sans-serif"
560
+ ],
561
+ "cssVariable": "--eds-typography-caption1-fontFamily"
562
+ },
563
+ "typography-caption1-fontSize": {
564
+ "name": "typography-caption1-fontSize",
565
+ "type": "dimension",
566
+ "value": {
567
+ "value": 0.75,
568
+ "unit": "rem"
569
+ },
570
+ "cssVariable": "--eds-typography-caption1-fontSize"
571
+ },
572
+ "typography-caption1-fontWeight": {
573
+ "name": "typography-caption1-fontWeight",
574
+ "type": "fontWeight",
575
+ "value": 550,
576
+ "cssVariable": "--eds-typography-caption1-fontWeight"
577
+ },
578
+ "typography-caption1-letterSpacing": {
579
+ "name": "typography-caption1-letterSpacing",
580
+ "type": "dimension",
581
+ "value": {
582
+ "value": 0,
583
+ "unit": "px"
584
+ },
585
+ "cssVariable": "--eds-typography-caption1-letterSpacing"
586
+ },
587
+ "typography-caption1-lineHeight": {
588
+ "name": "typography-caption1-lineHeight",
589
+ "type": "dimension",
590
+ "value": {
591
+ "value": 1.125,
592
+ "unit": "rem"
593
+ },
594
+ "cssVariable": "--eds-typography-caption1-lineHeight"
595
+ },
596
+ "typography-caption2-fontFamily": {
597
+ "name": "typography-caption2-fontFamily",
598
+ "type": "fontFamily",
599
+ "value": [
600
+ "Pretendard",
601
+ "system-ui",
602
+ "sans-serif"
603
+ ],
604
+ "cssVariable": "--eds-typography-caption2-fontFamily"
605
+ },
606
+ "typography-caption2-fontSize": {
607
+ "name": "typography-caption2-fontSize",
608
+ "type": "dimension",
609
+ "value": {
610
+ "value": 0.75,
611
+ "unit": "rem"
612
+ },
613
+ "cssVariable": "--eds-typography-caption2-fontSize"
614
+ },
615
+ "typography-caption2-fontWeight": {
616
+ "name": "typography-caption2-fontWeight",
617
+ "type": "fontWeight",
618
+ "value": 500,
619
+ "cssVariable": "--eds-typography-caption2-fontWeight"
620
+ },
621
+ "typography-caption2-letterSpacing": {
622
+ "name": "typography-caption2-letterSpacing",
623
+ "type": "dimension",
624
+ "value": {
625
+ "value": 0,
626
+ "unit": "px"
627
+ },
628
+ "cssVariable": "--eds-typography-caption2-letterSpacing"
629
+ },
630
+ "typography-caption2-lineHeight": {
631
+ "name": "typography-caption2-lineHeight",
632
+ "type": "dimension",
633
+ "value": {
634
+ "value": 1.125,
635
+ "unit": "rem"
636
+ },
637
+ "cssVariable": "--eds-typography-caption2-lineHeight"
638
+ },
639
+ "typography-caption3-fontFamily": {
640
+ "name": "typography-caption3-fontFamily",
641
+ "type": "fontFamily",
642
+ "value": [
643
+ "Pretendard",
644
+ "system-ui",
645
+ "sans-serif"
646
+ ],
647
+ "cssVariable": "--eds-typography-caption3-fontFamily"
648
+ },
649
+ "typography-caption3-fontSize": {
650
+ "name": "typography-caption3-fontSize",
651
+ "type": "dimension",
652
+ "value": {
653
+ "value": 0.6875,
654
+ "unit": "rem"
655
+ },
656
+ "cssVariable": "--eds-typography-caption3-fontSize"
657
+ },
658
+ "typography-caption3-fontWeight": {
659
+ "name": "typography-caption3-fontWeight",
660
+ "type": "fontWeight",
661
+ "value": 550,
662
+ "cssVariable": "--eds-typography-caption3-fontWeight"
663
+ },
664
+ "typography-caption3-letterSpacing": {
665
+ "name": "typography-caption3-letterSpacing",
666
+ "type": "dimension",
667
+ "value": {
668
+ "value": 0,
669
+ "unit": "px"
670
+ },
671
+ "cssVariable": "--eds-typography-caption3-letterSpacing"
672
+ },
673
+ "typography-caption3-lineHeight": {
674
+ "name": "typography-caption3-lineHeight",
675
+ "type": "dimension",
676
+ "value": {
677
+ "value": 1,
678
+ "unit": "rem"
679
+ },
680
+ "cssVariable": "--eds-typography-caption3-lineHeight"
681
+ },
682
+ "typography-display1-fontFamily": {
683
+ "name": "typography-display1-fontFamily",
684
+ "type": "fontFamily",
685
+ "value": [
686
+ "Pretendard",
687
+ "system-ui",
688
+ "sans-serif"
689
+ ],
690
+ "cssVariable": "--eds-typography-display1-fontFamily"
691
+ },
692
+ "typography-display1-fontSize": {
693
+ "name": "typography-display1-fontSize",
694
+ "type": "dimension",
695
+ "value": {
696
+ "value": 2.5,
697
+ "unit": "rem"
698
+ },
699
+ "cssVariable": "--eds-typography-display1-fontSize"
700
+ },
701
+ "typography-display1-fontWeight": {
702
+ "name": "typography-display1-fontWeight",
703
+ "type": "fontWeight",
704
+ "value": 700,
705
+ "cssVariable": "--eds-typography-display1-fontWeight"
706
+ },
707
+ "typography-display1-letterSpacing": {
708
+ "name": "typography-display1-letterSpacing",
709
+ "type": "dimension",
710
+ "value": {
711
+ "value": -0.6,
712
+ "unit": "px"
713
+ },
714
+ "cssVariable": "--eds-typography-display1-letterSpacing"
715
+ },
716
+ "typography-display1-lineHeight": {
717
+ "name": "typography-display1-lineHeight",
718
+ "type": "dimension",
719
+ "value": {
720
+ "value": 3.125,
721
+ "unit": "rem"
722
+ },
723
+ "cssVariable": "--eds-typography-display1-lineHeight"
724
+ },
725
+ "typography-display2-fontFamily": {
726
+ "name": "typography-display2-fontFamily",
727
+ "type": "fontFamily",
728
+ "value": [
729
+ "Pretendard",
730
+ "system-ui",
731
+ "sans-serif"
732
+ ],
733
+ "cssVariable": "--eds-typography-display2-fontFamily"
734
+ },
735
+ "typography-display2-fontSize": {
736
+ "name": "typography-display2-fontSize",
737
+ "type": "dimension",
738
+ "value": {
739
+ "value": 2.25,
740
+ "unit": "rem"
741
+ },
742
+ "cssVariable": "--eds-typography-display2-fontSize"
743
+ },
744
+ "typography-display2-fontWeight": {
745
+ "name": "typography-display2-fontWeight",
746
+ "type": "fontWeight",
747
+ "value": 700,
748
+ "cssVariable": "--eds-typography-display2-fontWeight"
749
+ },
750
+ "typography-display2-letterSpacing": {
751
+ "name": "typography-display2-letterSpacing",
752
+ "type": "dimension",
753
+ "value": {
754
+ "value": -0.6,
755
+ "unit": "px"
756
+ },
757
+ "cssVariable": "--eds-typography-display2-letterSpacing"
758
+ },
759
+ "typography-display2-lineHeight": {
760
+ "name": "typography-display2-lineHeight",
761
+ "type": "dimension",
762
+ "value": {
763
+ "value": 2.75,
764
+ "unit": "rem"
765
+ },
766
+ "cssVariable": "--eds-typography-display2-lineHeight"
767
+ },
768
+ "typography-heading1-fontFamily": {
769
+ "name": "typography-heading1-fontFamily",
770
+ "type": "fontFamily",
771
+ "value": [
772
+ "Pretendard",
773
+ "system-ui",
774
+ "sans-serif"
775
+ ],
776
+ "cssVariable": "--eds-typography-heading1-fontFamily"
777
+ },
778
+ "typography-heading1-fontSize": {
779
+ "name": "typography-heading1-fontSize",
780
+ "type": "dimension",
781
+ "value": {
782
+ "value": 1.625,
783
+ "unit": "rem"
784
+ },
785
+ "cssVariable": "--eds-typography-heading1-fontSize"
786
+ },
787
+ "typography-heading1-fontWeight": {
788
+ "name": "typography-heading1-fontWeight",
789
+ "type": "fontWeight",
790
+ "value": 700,
791
+ "cssVariable": "--eds-typography-heading1-fontWeight"
792
+ },
793
+ "typography-heading1-letterSpacing": {
794
+ "name": "typography-heading1-letterSpacing",
795
+ "type": "dimension",
796
+ "value": {
797
+ "value": -0.4,
798
+ "unit": "px"
799
+ },
800
+ "cssVariable": "--eds-typography-heading1-letterSpacing"
801
+ },
802
+ "typography-heading1-lineHeight": {
803
+ "name": "typography-heading1-lineHeight",
804
+ "type": "dimension",
805
+ "value": {
806
+ "value": 2.5,
807
+ "unit": "rem"
808
+ },
809
+ "cssVariable": "--eds-typography-heading1-lineHeight"
810
+ },
811
+ "typography-heading2-fontFamily": {
812
+ "name": "typography-heading2-fontFamily",
813
+ "type": "fontFamily",
814
+ "value": [
815
+ "Pretendard",
816
+ "system-ui",
817
+ "sans-serif"
818
+ ],
819
+ "cssVariable": "--eds-typography-heading2-fontFamily"
820
+ },
821
+ "typography-heading2-fontSize": {
822
+ "name": "typography-heading2-fontSize",
823
+ "type": "dimension",
824
+ "value": {
825
+ "value": 1.5,
826
+ "unit": "rem"
827
+ },
828
+ "cssVariable": "--eds-typography-heading2-fontSize"
829
+ },
830
+ "typography-heading2-fontWeight": {
831
+ "name": "typography-heading2-fontWeight",
832
+ "type": "fontWeight",
833
+ "value": 700,
834
+ "cssVariable": "--eds-typography-heading2-fontWeight"
835
+ },
836
+ "typography-heading2-letterSpacing": {
837
+ "name": "typography-heading2-letterSpacing",
838
+ "type": "dimension",
839
+ "value": {
840
+ "value": -0.4,
841
+ "unit": "px"
842
+ },
843
+ "cssVariable": "--eds-typography-heading2-letterSpacing"
844
+ },
845
+ "typography-heading2-lineHeight": {
846
+ "name": "typography-heading2-lineHeight",
847
+ "type": "dimension",
848
+ "value": {
849
+ "value": 2.25,
850
+ "unit": "rem"
851
+ },
852
+ "cssVariable": "--eds-typography-heading2-lineHeight"
853
+ },
854
+ "typography-heading3-fontFamily": {
855
+ "name": "typography-heading3-fontFamily",
856
+ "type": "fontFamily",
857
+ "value": [
858
+ "Pretendard",
859
+ "system-ui",
860
+ "sans-serif"
861
+ ],
862
+ "cssVariable": "--eds-typography-heading3-fontFamily"
863
+ },
864
+ "typography-heading3-fontSize": {
865
+ "name": "typography-heading3-fontSize",
866
+ "type": "dimension",
867
+ "value": {
868
+ "value": 1.375,
869
+ "unit": "rem"
870
+ },
871
+ "cssVariable": "--eds-typography-heading3-fontSize"
872
+ },
873
+ "typography-heading3-fontWeight": {
874
+ "name": "typography-heading3-fontWeight",
875
+ "type": "fontWeight",
876
+ "value": 700,
877
+ "cssVariable": "--eds-typography-heading3-fontWeight"
878
+ },
879
+ "typography-heading3-letterSpacing": {
880
+ "name": "typography-heading3-letterSpacing",
881
+ "type": "dimension",
882
+ "value": {
883
+ "value": -0.4,
884
+ "unit": "px"
885
+ },
886
+ "cssVariable": "--eds-typography-heading3-letterSpacing"
887
+ },
888
+ "typography-heading3-lineHeight": {
889
+ "name": "typography-heading3-lineHeight",
890
+ "type": "dimension",
891
+ "value": {
892
+ "value": 2,
893
+ "unit": "rem"
894
+ },
895
+ "cssVariable": "--eds-typography-heading3-lineHeight"
896
+ },
897
+ "typography-title1-fontFamily": {
898
+ "name": "typography-title1-fontFamily",
899
+ "type": "fontFamily",
900
+ "value": [
901
+ "Pretendard",
902
+ "system-ui",
903
+ "sans-serif"
904
+ ],
905
+ "cssVariable": "--eds-typography-title1-fontFamily"
906
+ },
907
+ "typography-title1-fontSize": {
908
+ "name": "typography-title1-fontSize",
909
+ "type": "dimension",
910
+ "value": {
911
+ "value": 1.125,
912
+ "unit": "rem"
913
+ },
914
+ "cssVariable": "--eds-typography-title1-fontSize"
915
+ },
916
+ "typography-title1-fontWeight": {
917
+ "name": "typography-title1-fontWeight",
918
+ "type": "fontWeight",
919
+ "value": 550,
920
+ "cssVariable": "--eds-typography-title1-fontWeight"
921
+ },
922
+ "typography-title1-letterSpacing": {
923
+ "name": "typography-title1-letterSpacing",
924
+ "type": "dimension",
925
+ "value": {
926
+ "value": 0,
927
+ "unit": "px"
928
+ },
929
+ "cssVariable": "--eds-typography-title1-letterSpacing"
930
+ },
931
+ "typography-title1-lineHeight": {
932
+ "name": "typography-title1-lineHeight",
933
+ "type": "dimension",
934
+ "value": {
935
+ "value": 1.75,
936
+ "unit": "rem"
937
+ },
938
+ "cssVariable": "--eds-typography-title1-lineHeight"
939
+ },
940
+ "typography-title2-fontFamily": {
941
+ "name": "typography-title2-fontFamily",
942
+ "type": "fontFamily",
943
+ "value": [
944
+ "Pretendard",
945
+ "system-ui",
946
+ "sans-serif"
947
+ ],
948
+ "cssVariable": "--eds-typography-title2-fontFamily"
949
+ },
950
+ "typography-title2-fontSize": {
951
+ "name": "typography-title2-fontSize",
952
+ "type": "dimension",
953
+ "value": {
954
+ "value": 1,
955
+ "unit": "rem"
956
+ },
957
+ "cssVariable": "--eds-typography-title2-fontSize"
958
+ },
959
+ "typography-title2-fontWeight": {
960
+ "name": "typography-title2-fontWeight",
961
+ "type": "fontWeight",
962
+ "value": 550,
963
+ "cssVariable": "--eds-typography-title2-fontWeight"
964
+ },
965
+ "typography-title2-letterSpacing": {
966
+ "name": "typography-title2-letterSpacing",
967
+ "type": "dimension",
968
+ "value": {
969
+ "value": 0,
970
+ "unit": "px"
971
+ },
972
+ "cssVariable": "--eds-typography-title2-letterSpacing"
973
+ },
974
+ "typography-title2-lineHeight": {
975
+ "name": "typography-title2-lineHeight",
976
+ "type": "dimension",
977
+ "value": {
978
+ "value": 1.5,
979
+ "unit": "rem"
980
+ },
981
+ "cssVariable": "--eds-typography-title2-lineHeight"
982
+ },
983
+ "typography-title3-fontFamily": {
984
+ "name": "typography-title3-fontFamily",
985
+ "type": "fontFamily",
986
+ "value": [
987
+ "Pretendard",
988
+ "system-ui",
989
+ "sans-serif"
990
+ ],
991
+ "cssVariable": "--eds-typography-title3-fontFamily"
992
+ },
993
+ "typography-title3-fontSize": {
994
+ "name": "typography-title3-fontSize",
995
+ "type": "dimension",
996
+ "value": {
997
+ "value": 0.875,
998
+ "unit": "rem"
999
+ },
1000
+ "cssVariable": "--eds-typography-title3-fontSize"
1001
+ },
1002
+ "typography-title3-fontWeight": {
1003
+ "name": "typography-title3-fontWeight",
1004
+ "type": "fontWeight",
1005
+ "value": 550,
1006
+ "cssVariable": "--eds-typography-title3-fontWeight"
1007
+ },
1008
+ "typography-title3-letterSpacing": {
1009
+ "name": "typography-title3-letterSpacing",
1010
+ "type": "dimension",
1011
+ "value": {
1012
+ "value": 0,
1013
+ "unit": "px"
1014
+ },
1015
+ "cssVariable": "--eds-typography-title3-letterSpacing"
1016
+ },
1017
+ "typography-title3-lineHeight": {
1018
+ "name": "typography-title3-lineHeight",
1019
+ "type": "dimension",
1020
+ "value": {
1021
+ "value": 1.25,
1022
+ "unit": "rem"
1023
+ },
1024
+ "cssVariable": "--eds-typography-title3-lineHeight"
1025
+ },
1026
+ "typography-title4-fontFamily": {
1027
+ "name": "typography-title4-fontFamily",
1028
+ "type": "fontFamily",
1029
+ "value": [
1030
+ "Pretendard",
1031
+ "system-ui",
1032
+ "sans-serif"
1033
+ ],
1034
+ "cssVariable": "--eds-typography-title4-fontFamily"
1035
+ },
1036
+ "typography-title4-fontSize": {
1037
+ "name": "typography-title4-fontSize",
1038
+ "type": "dimension",
1039
+ "value": {
1040
+ "value": 0.8125,
1041
+ "unit": "rem"
1042
+ },
1043
+ "cssVariable": "--eds-typography-title4-fontSize"
1044
+ },
1045
+ "typography-title4-fontWeight": {
1046
+ "name": "typography-title4-fontWeight",
1047
+ "type": "fontWeight",
1048
+ "value": 550,
1049
+ "cssVariable": "--eds-typography-title4-fontWeight"
1050
+ },
1051
+ "typography-title4-letterSpacing": {
1052
+ "name": "typography-title4-letterSpacing",
1053
+ "type": "dimension",
1054
+ "value": {
1055
+ "value": 0,
1056
+ "unit": "px"
1057
+ },
1058
+ "cssVariable": "--eds-typography-title4-letterSpacing"
1059
+ },
1060
+ "typography-title4-lineHeight": {
1061
+ "name": "typography-title4-lineHeight",
1062
+ "type": "dimension",
1063
+ "value": {
1064
+ "value": 1.25,
1065
+ "unit": "rem"
1066
+ },
1067
+ "cssVariable": "--eds-typography-title4-lineHeight"
1068
+ }
1069
+ };
1070
+ var tokens = Object.freeze(tokenMap);
1071
+ var tokenNames = Object.freeze([
1072
+ "color-bg-brand-primary",
1073
+ "color-bg-brand-primary-hover",
1074
+ "color-bg-critical-primary",
1075
+ "color-bg-critical-primary-hover",
1076
+ "color-bg-critical-weak",
1077
+ "color-bg-critical-weak-hover",
1078
+ "color-bg-disabled",
1079
+ "color-bg-informative-primary",
1080
+ "color-bg-informative-primary-hover",
1081
+ "color-bg-informative-weak",
1082
+ "color-bg-informative-weak-hover",
1083
+ "color-bg-layer-basement",
1084
+ "color-bg-layer-default",
1085
+ "color-bg-layer-default-hover",
1086
+ "color-bg-layer-floating",
1087
+ "color-bg-layer-floating-hover",
1088
+ "color-bg-neutral-inverted",
1089
+ "color-bg-neutral-inverted-hover",
1090
+ "color-bg-neutral-primary",
1091
+ "color-bg-neutral-primary-hover",
1092
+ "color-bg-neutral-weak",
1093
+ "color-bg-neutral-weak-hover",
1094
+ "color-bg-positive-primary",
1095
+ "color-bg-positive-primary-hover",
1096
+ "color-bg-positive-weak",
1097
+ "color-bg-positive-weak-hover",
1098
+ "color-bg-transparent",
1099
+ "color-bg-transparent-hover",
1100
+ "color-bg-warning-primary",
1101
+ "color-bg-warning-primary-hover",
1102
+ "color-bg-warning-weak",
1103
+ "color-bg-warning-weak-hover",
1104
+ "color-fg-brand",
1105
+ "color-fg-brand-contrast",
1106
+ "color-fg-critical",
1107
+ "color-fg-critical-contrast",
1108
+ "color-fg-disabled",
1109
+ "color-fg-focus",
1110
+ "color-fg-informative",
1111
+ "color-fg-informative-contrast",
1112
+ "color-fg-neutral",
1113
+ "color-fg-neutral-inverted",
1114
+ "color-fg-neutral-secondary",
1115
+ "color-fg-neutral-tertiary",
1116
+ "color-fg-placeholder",
1117
+ "color-fg-positive",
1118
+ "color-fg-positive-contrast",
1119
+ "color-fg-warning",
1120
+ "color-fg-warning-contrast",
1121
+ "color-stroke-brand-primary",
1122
+ "color-stroke-critical-primary",
1123
+ "color-stroke-critical-weak",
1124
+ "color-stroke-focusRing",
1125
+ "color-stroke-informative-primary",
1126
+ "color-stroke-informative-weak",
1127
+ "color-stroke-neutral-contrast",
1128
+ "color-stroke-neutral-primary",
1129
+ "color-stroke-neutral-secondary",
1130
+ "color-stroke-neutral-weak",
1131
+ "color-stroke-positive-primary",
1132
+ "color-stroke-positive-weak",
1133
+ "color-stroke-warning-primary",
1134
+ "color-stroke-warning-weak",
1135
+ "typography-body1-fontFamily",
1136
+ "typography-body1-fontSize",
1137
+ "typography-body1-fontWeight",
1138
+ "typography-body1-letterSpacing",
1139
+ "typography-body1-lineHeight",
1140
+ "typography-body2-fontFamily",
1141
+ "typography-body2-fontSize",
1142
+ "typography-body2-fontWeight",
1143
+ "typography-body2-letterSpacing",
1144
+ "typography-body2-lineHeight",
1145
+ "typography-body3-fontFamily",
1146
+ "typography-body3-fontSize",
1147
+ "typography-body3-fontWeight",
1148
+ "typography-body3-letterSpacing",
1149
+ "typography-body3-lineHeight",
1150
+ "typography-body4-fontFamily",
1151
+ "typography-body4-fontSize",
1152
+ "typography-body4-fontWeight",
1153
+ "typography-body4-letterSpacing",
1154
+ "typography-body4-lineHeight",
1155
+ "typography-caption1-fontFamily",
1156
+ "typography-caption1-fontSize",
1157
+ "typography-caption1-fontWeight",
1158
+ "typography-caption1-letterSpacing",
1159
+ "typography-caption1-lineHeight",
1160
+ "typography-caption2-fontFamily",
1161
+ "typography-caption2-fontSize",
1162
+ "typography-caption2-fontWeight",
1163
+ "typography-caption2-letterSpacing",
1164
+ "typography-caption2-lineHeight",
1165
+ "typography-caption3-fontFamily",
1166
+ "typography-caption3-fontSize",
1167
+ "typography-caption3-fontWeight",
1168
+ "typography-caption3-letterSpacing",
1169
+ "typography-caption3-lineHeight",
1170
+ "typography-display1-fontFamily",
1171
+ "typography-display1-fontSize",
1172
+ "typography-display1-fontWeight",
1173
+ "typography-display1-letterSpacing",
1174
+ "typography-display1-lineHeight",
1175
+ "typography-display2-fontFamily",
1176
+ "typography-display2-fontSize",
1177
+ "typography-display2-fontWeight",
1178
+ "typography-display2-letterSpacing",
1179
+ "typography-display2-lineHeight",
1180
+ "typography-heading1-fontFamily",
1181
+ "typography-heading1-fontSize",
1182
+ "typography-heading1-fontWeight",
1183
+ "typography-heading1-letterSpacing",
1184
+ "typography-heading1-lineHeight",
1185
+ "typography-heading2-fontFamily",
1186
+ "typography-heading2-fontSize",
1187
+ "typography-heading2-fontWeight",
1188
+ "typography-heading2-letterSpacing",
1189
+ "typography-heading2-lineHeight",
1190
+ "typography-heading3-fontFamily",
1191
+ "typography-heading3-fontSize",
1192
+ "typography-heading3-fontWeight",
1193
+ "typography-heading3-letterSpacing",
1194
+ "typography-heading3-lineHeight",
1195
+ "typography-title1-fontFamily",
1196
+ "typography-title1-fontSize",
1197
+ "typography-title1-fontWeight",
1198
+ "typography-title1-letterSpacing",
1199
+ "typography-title1-lineHeight",
1200
+ "typography-title2-fontFamily",
1201
+ "typography-title2-fontSize",
1202
+ "typography-title2-fontWeight",
1203
+ "typography-title2-letterSpacing",
1204
+ "typography-title2-lineHeight",
1205
+ "typography-title3-fontFamily",
1206
+ "typography-title3-fontSize",
1207
+ "typography-title3-fontWeight",
1208
+ "typography-title3-letterSpacing",
1209
+ "typography-title3-lineHeight",
1210
+ "typography-title4-fontFamily",
1211
+ "typography-title4-fontSize",
1212
+ "typography-title4-fontWeight",
1213
+ "typography-title4-letterSpacing",
1214
+ "typography-title4-lineHeight"
1215
+ ]);
1216
+ function cssVar(name) {
1217
+ const token = tokens[name];
1218
+ if (!token) {
1219
+ throw new Error("Unknown semantic token: " + name);
1220
+ }
1221
+ return "var(" + token.cssVariable + ")";
1222
+ }
1223
+
1224
+ export { cssVar, tokenNames, tokens };