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