@eui/styles 19.3.9 → 19.3.10-snapshot-1764669601570

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.
@@ -46,7 +46,7 @@ $breakpoint-map: (
46
46
  );
47
47
 
48
48
  // naming
49
- $xs: base.new-breakpoint(min-width map.get($breakpoint-map, 'xs') max-width map.get($breakpoint-map, 's') - 1) !default;
49
+ $xs: base.new-breakpoint(min-width map.get($breakpoint-map, 'xs') max-width map.get($breakpoint-map, 'sm') - 1) !default;
50
50
  $s: base.new-breakpoint(min-width map.get($breakpoint-map, 'sm') max-width map.get($breakpoint-map, 'md') - 1) !default;
51
51
  $m: base.new-breakpoint(min-width map.get($breakpoint-map, 'md') max-width map.get($breakpoint-map, 'lg') - 1) !default;
52
52
  $l: base.new-breakpoint(min-width map.get($breakpoint-map, 'lg') max-width map.get($breakpoint-map, 'xl') - 1) !default;
@@ -55,7 +55,8 @@ $xxl: base.new-breakpoint(min-width map.get($breakpoint-map, 'xxl') max-width ma
55
55
  $fhd: base.new-breakpoint(min-width map.get($breakpoint-map, 'fhd') max-width map.get($breakpoint-map, '2k') - 1) !default;
56
56
 
57
57
  // human naming
58
- $eui-bkp-mobile-down: $xs !default;
58
+ $eui-bkp-mobile-xs: $xs !default;
59
+ $eui-bkp-mobile-s: $s !default;
59
60
  $eui-bkp-mobile: base.new-breakpoint(max-width map.get($breakpoint-map, 'md') - 1) !default;
60
61
  $eui-bkp-mobile-up: base.new-breakpoint(min-width map.get($breakpoint-map, 'md')) !default;
61
62
  $eui-bkp-tablet: $m !default;
@@ -98,24 +99,24 @@ $opacity-map: (
98
99
 
99
100
  $spacing-map: (
100
101
  none: 0,
101
- 5xs: 0.0625rem, // 4xs
102
- 4xs: 0.125rem, // 3xs
103
- 3xs: 0.25rem, // 2xs
104
- 2xs: 0.375rem,
105
- xs: 0.5rem, // ==
106
- s: 0.75rem, // ==
107
- m: 1rem, // ==
108
- l: 1.25rem, // ==
109
- xl: 1.5rem, // ==
110
- 2xl: 1.75rem, //
111
- 3xl: 2rem, // 2xl
112
- 4xl: 2.25rem, //
113
- 5xl: 2.5rem, // 3xl
114
- 6xl: 3rem, // 4xl
115
- 7xl: 3.5rem, // 5xl
116
- 8xl: 4rem, // 6xl
117
- 9xl: 4.5rem,
118
- 10xl: 5rem, // 7xl
102
+ 5xs: 0.0625rem, // 4xs - 1px
103
+ 4xs: 0.125rem, // 3xs - 2px
104
+ 3xs: 0.25rem, // 2xs - 4px
105
+ 2xs: 0.375rem, // - 6px
106
+ xs: 0.5rem, // == - 8px
107
+ s: 0.75rem, // == - 12px
108
+ m: 1rem, // == - 16px
109
+ l: 1.25rem, // == - 20px
110
+ xl: 1.5rem, // == - 24px
111
+ 2xl: 1.75rem, // - 28px
112
+ 3xl: 2rem, // 2xl - 32px
113
+ 4xl: 2.25rem, // - 36px
114
+ 5xl: 2.5rem, // 3xl - 40px
115
+ 6xl: 3rem, // 4xl - 48px
116
+ 7xl: 3.5rem, // 5xl - 56px
117
+ 8xl: 4rem, // 6xl - 64px
118
+ 9xl: 4.5rem, // - 72px
119
+ 10xl: 5rem, // 7xl - 80px
119
120
  );
120
121
 
121
122
 
@@ -198,19 +199,19 @@ $ecl-colors: (
198
199
  'grey-950': #00002e,
199
200
 
200
201
  // Status
201
- 'info-25': #f5f7fb,
202
- 'info-50': #ebeff7,
203
- 'info-75': #dee4f2,
204
- 'info-100': #bfcce6,
205
- 'info-200': #a3b6da,
206
- 'info-300': #859dce,
207
- 'info-400': #6685c2,
208
- 'info-500': #4a6eb7,
202
+ 'info-25': #f9fbfd,
203
+ 'info-50': #f5f7fb,
204
+ 'info-75': #ebeff7,
205
+ 'info-100': #dee4f2,
206
+ 'info-200': #bfcce6,
207
+ 'info-300': #a3b6da,
208
+ 'info-400': #859dce,
209
+ 'info-500': #6685c2,
209
210
  'info-600': #3b62b0,
210
- 'info-700': #2e58ab,
211
- 'info-800': #1c49a4,
212
- 'info-900': #0d3d9e,
213
- 'info-950': #039,
211
+ 'info-700': #1c49a4,
212
+ 'info-800': #039,
213
+ 'info-900': #00297a,
214
+ 'info-950': #001f5c,
214
215
 
215
216
  'success-25': #f9fefc,
216
217
  'success-50': #edfbf6,
@@ -252,9 +253,188 @@ $ecl-colors: (
252
253
  'warning-700': #ba6517,
253
254
  'warning-800': #8b4c11,
254
255
  'warning-900': #68390d,
255
- 'warning-950': #512c0a
256
+ 'warning-950': #512c0a,
257
+
258
+ // Priority colors
259
+ 'blue-50': #e6edff,
260
+ 'blue-100': #d9e3ff,
261
+ 'blue-200': #b0c6ff,
262
+ 'blue-300': #8cacff,
263
+ 'blue-400': #5987ff,
264
+ 'blue-500': #0046ff,
265
+ 'blue-600': #003fe6,
266
+ 'blue-700': #0038cc,
267
+ 'blue-800': #0035bf,
268
+ 'blue-900': #002a99,
269
+
270
+ 'blue-navy-50': #f5f5fa,
271
+ 'blue-navy-100': #f0f0f8,
272
+ 'blue-navy-200': #d9d9ec,
273
+ 'blue-navy-300': #bfbfe0,
274
+ 'blue-navy-400': #a0a0d1,
275
+ 'blue-navy-500': #8c8cc7,
276
+ 'blue-navy-600': #4545a4,
277
+ 'blue-navy-700': #000083,
278
+ 'blue-navy-800': #000069,
279
+ 'blue-navy-900': #00002e,
280
+
281
+ 'blue-electric-50': #e6f8fd,
282
+ 'blue-electric-100': #d9f5fb,
283
+ 'blue-electric-200': #b1eaf7,
284
+ 'blue-electric-300': #5bd3ef,
285
+ 'blue-electric-400': #03bbe6,
286
+ 'blue-electric-500': #03a8cf,
287
+ 'blue-electric-600': #028cad,
288
+ 'blue-electric-700': #02708a,
289
+ 'blue-electric-800': #015467,
290
+ 'blue-electric-900': #014959,
291
+
292
+ 'green-50': #e6f9f2,
293
+ 'green-100': #daf6eb,
294
+ 'green-200': #b2edd6,
295
+ 'green-300': #8fe5c4,
296
+ 'green-400': #5ddaa9,
297
+ 'green-500': #05c67b,
298
+ 'green-600': #05b26f,
299
+ 'green-700': #049e62,
300
+ 'green-800': #04955c,
301
+ 'green-900': #03774a,
302
+
303
+ 'green-dark-50': #e6f0f0,
304
+ 'green-dark-100': #d9e8e8,
305
+ 'green-dark-200': #b0d0d0,
306
+ 'green-dark-300': #8cbaba,
307
+ 'green-dark-400': #599c9c,
308
+ 'green-dark-500': #066,
309
+ 'green-dark-600': #005c5c,
310
+ 'green-dark-700': #005252,
311
+ 'green-dark-800': #004d4d,
312
+ 'green-dark-900': #003d3d,
313
+
314
+ 'orange-50': #fff3e9,
315
+ 'orange-100': #ffdbba,
316
+ 'orange-200': #ffc998,
317
+ 'orange-300': #ffb16a,
318
+ 'orange-400': #ffa14d,
319
+ 'orange-500': #ff8a20,
320
+ 'orange-600': #e87e1d,
321
+ 'orange-700': #b56217,
322
+ 'orange-800': #8c4c12,
323
+ 'orange-900': #6b3a0d,
324
+
325
+ 'purple-50': #f4effb,
326
+ 'purple-100': #ddcdf3,
327
+ 'purple-200': #ccb5ee,
328
+ 'purple-300': #b594e6,
329
+ 'purple-400': #a67fe1,
330
+ 'purple-500': #905fd9,
331
+ 'purple-600': #8356c5,
332
+ 'purple-700': #66439a,
333
+ 'purple-800': #4f3477,
334
+ 'purple-900': #3c285b,
335
+
336
+ // Supplementary colors
337
+ 'blue-ocean-50': #e8f8f6,
338
+ 'blue-ocean-100': #dcf5f2,
339
+ 'blue-ocean-200': #b7eae4,
340
+ 'blue-ocean-300': #97e0d8,
341
+ 'blue-ocean-400': #69d2c6,
342
+ 'blue-ocean-500': #18baa8,
343
+ 'blue-ocean-600': #16a797,
344
+ 'blue-ocean-700': #139586,
345
+ 'blue-ocean-800': #128c7e,
346
+ 'blue-ocean-900': #0e7065,
347
+
348
+ 'green-lemon-50': #fafcee,
349
+ 'green-lemon-100': #f7fbe5,
350
+ 'green-lemon-200': #eff6c9,
351
+ 'green-lemon-300': #e8f2b0,
352
+ 'green-lemon-400': #ddec8d,
353
+ 'green-lemon-500': #cbe250,
354
+ 'green-lemon-600': #b7cb48,
355
+ 'green-lemon-700': #a2b540,
356
+ 'green-lemon-800': #98aa3c,
357
+ 'green-lemon-900': #7a8830,
358
+
359
+ 'green-pine-50': #eff3f3,
360
+ 'green-pine-100': #dae2e4,
361
+ 'green-pine-200': #ced8db,
362
+ 'green-pine-300': #b6c6ca,
363
+ 'green-pine-400': #94abb1,
364
+ 'green-pine-500': #809ba2,
365
+ 'green-pine-600': #445c63,
366
+ 'green-pine-700': #0a3f4d,
367
+ 'green-pine-800': #08323e,
368
+ 'green-pine-900': #082f3a,
369
+
370
+ 'red-crayola-50': #fcebee,
371
+ 'red-crayola-100': #f6c1ca,
372
+ 'red-crayola-200': #f2a3b1,
373
+ 'red-crayola-300': #ec798d,
374
+ 'red-crayola-400': #e95f77,
375
+ 'red-crayola-500': #e33755,
376
+ 'red-crayola-600': #cf324d,
377
+ 'red-crayola-700': #a1273c,
378
+ 'red-crayola-800': #7d1e2f,
379
+ 'red-crayola-900': #5f1724,
380
+
381
+ 'warm-grey-50': #f6f4f3,
382
+ 'warm-grey-100': #e2dcda,
383
+ 'warm-grey-200': #d3cbc8,
384
+ 'warm-grey-300': #bfb4af,
385
+ 'warm-grey-400': #b3a59f,
386
+ 'warm-grey-500': #a08f87,
387
+ 'warm-grey-600': #92827b,
388
+ 'warm-grey-700': #726660,
389
+ 'warm-grey-800': #584f4a,
390
+ 'warm-grey-900': #433c39,
391
+
392
+ 'yellow-gold-50': #fffae6,
393
+ 'yellow-gold-100': #fff3c2,
394
+ 'yellow-gold-200': #ffea91,
395
+ 'yellow-gold-300': #ffe05e,
396
+ 'yellow-gold-400': #ffd72e,
397
+ 'yellow-gold-500': #ffce00,
398
+ 'yellow-gold-600': #d9af00,
399
+ 'yellow-gold-700': #b59200,
400
+ 'yellow-gold-800': #917500,
401
+ 'yellow-gold-900': #735d00,
402
+
403
+ 'orange-abricot-50': #fff9ed,
404
+ 'orange-abricot-100': #fff1d4,
405
+ 'orange-abricot-200': #ffdfa9,
406
+ 'orange-abricot-300': #ffbe5c,
407
+ 'orange-abricot-400': #fea439,
408
+ 'orange-abricot-500': #fc8713,
409
+ 'orange-abricot-600': #ed6c09,
410
+ 'orange-abricot-700': #c55109,
411
+ 'orange-abricot-800': #9c4010,
412
+ 'orange-abricot-900': #7e3610,
413
+
414
+ 'purple-violet-50': #f3f1ff,
415
+ 'purple-violet-100': #dbd4ff,
416
+ 'purple-violet-200': #cabfff,
417
+ 'purple-violet-300': #b1a1ff,
418
+ 'purple-violet-400': #a28fff,
419
+ 'purple-violet-500': #8b73ff,
420
+ 'purple-violet-600': #7e69e8,
421
+ 'purple-violet-700': #6352b5,
422
+ 'purple-violet-800': #4c3f8c,
423
+ 'purple-violet-900': #3a306b,
424
+
425
+ 'red-tomato-50': #fff0ed,
426
+ 'red-tomato-100': #ffd0c7,
427
+ 'red-tomato-200': #ffbaac,
428
+ 'red-tomato-300': #ff9a86,
429
+ 'red-tomato-400': #ff866e,
430
+ 'red-tomato-500': #ff684a,
431
+ 'red-tomato-600': #e85f43,
432
+ 'red-tomato-700': #b54a35,
433
+ 'red-tomato-800': #8c3929,
434
+ 'red-tomato-900': #6b2c1f
256
435
  );
257
436
 
437
+
258
438
  $color-map: (
259
439
  br: (
260
440
  950: map.get($ecl-colors, 'grey-950'),
@@ -305,7 +485,7 @@ $color-map: (
305
485
  100: #e4e4e4,
306
486
  75: #efefef,
307
487
  50: #f7f7f7,
308
- 25: #fbfbfb
488
+ 25: #fbfbfb
309
489
  ),
310
490
  in: (
311
491
  950: map.get($ecl-colors, 'info-950'),
@@ -384,6 +564,13 @@ $color-map: (
384
564
  )
385
565
  );
386
566
 
567
+
568
+
569
+
570
+
571
+
572
+
573
+
387
574
  // COLOR STATES
388
575
 
389
576
  $color-state-map: (
@@ -391,33 +578,34 @@ $color-state-map: (
391
578
  base: 'br-900',
392
579
  default: 'br-900',
393
580
  lighter: 'br-700',
394
- on-lighter: 'br-700-contrast',
395
581
  light: 'br-800',
396
- on-light: 'br-800-contrast',
397
582
  dark: 'br-950',
398
- on-dark: 'br-950-contrast',
583
+ surface: 'br-900',
584
+ on-surface: 'br-900-contrast',
585
+ surface-light: 'br-800',
586
+ on-surface-light: 'br-800-contrast',
587
+ surface-dark: 'br-950',
588
+ on-surface-dark: 'br-950-contrast'
399
589
  ),
400
590
  primary: (
401
591
  base: 'pr-600',
402
592
  default: 'pr-700',
403
593
  lighter: 'pr-500',
404
- on-lighter: 'pr-500-contrast',
405
594
  light: 'pr-600',
406
- on-light: 'pr-600-contrast',
407
595
  dark: 'pr-900',
408
- on-dark: 'pr-900-contrast',
409
596
  darker: 'pr-950',
410
- on-darker: 'pr-950-contrast',
411
597
  surface-light: 'pr-75',
412
598
  on-surface-light: 'pr-900',
413
599
  surface-light-hover: 'pr-100',
414
600
  on-surface-light-hover: 'pr-950',
415
601
  surface-medium: 'pr-200',
416
- on-surface-medium: 'pr-950',
602
+ on-surface-medium: 'pr-200-contrast',
417
603
  surface: 'pr-600',
418
604
  on-surface: 'pr-600-contrast',
419
605
  surface-hover: 'pr-700',
420
606
  on-surface-hover: 'pr-700-contrast',
607
+ surface-dark: 'pr-900',
608
+ on-surface-dark: 'pr-900-contrast',
421
609
  border: 'pr-500',
422
610
  border-light: 'pr-300',
423
611
  border-lighter: 'pr-200'
@@ -426,38 +614,32 @@ $color-state-map: (
426
614
  base: 'gr-500',
427
615
  default: 'gr-800',
428
616
  lighter: 'gr-600',
429
- on-lighter: 'gr-600-contrast',
430
617
  light: 'gr-700',
431
- on-light: 'gr-700-contrast',
432
- dark: 'gr-900',
433
- on-dark: 'gr-900-contrast',
434
- darker: 'gr-950',
435
- on-darker: 'gr-950-contrast',
618
+ dark: 'gr-900',
619
+ darker: 'gr-950',
436
620
  surface-light: 'gr-50',
437
621
  on-surface-light: 'gr-900',
438
622
  surface-light-hover: 'gr-75',
439
623
  on-surface-light-hover: 'gr-950',
440
- surface-medium: 'gr-200',
624
+ surface-medium: 'gr-100',
441
625
  on-surface-medium: 'gr-900',
442
626
  surface: 'gr-600',
443
627
  on-surface: 'gr-600-contrast',
444
628
  surface-hover: 'gr-700',
445
629
  on-surface-hover: 'gr-700-contrast',
630
+ surface-dark: 'gr-900',
631
+ on-surface-dark: 'gr-900-contrast',
446
632
  border: 'gr-500',
447
- border-light: 'gr-400',
448
- border-lighter: 'gr-300'
633
+ border-light: 'gr-300',
634
+ border-lighter: 'gr-200'
449
635
  ),
450
636
  neutral: (
451
637
  base: 'grn-500',
452
638
  default: 'grn-800',
453
639
  lighter: 'grn-600',
454
- on-lighter: 'grn-600-contrast',
455
640
  light: 'grn-700',
456
- on-light: 'grn-700-contrast',
457
- dark: 'grn-900',
458
- on-dark: 'grn-900-contrast',
459
- darker: 'grn-950',
460
- on-darker: 'grn-950-contrast',
641
+ dark: 'grn-900',
642
+ darker: 'grn-950',
461
643
  surface-light: 'grn-50',
462
644
  on-surface-light: 'grn-900',
463
645
  surface-light-hover: 'grn-75',
@@ -468,6 +650,8 @@ $color-state-map: (
468
650
  on-surface: 'grn-400-contrast',
469
651
  surface-hover: 'grn-300',
470
652
  on-surface-hover: 'grn-300-contrast',
653
+ surface-dark: 'grn-900',
654
+ on-surface-dark: 'grn-900-contrast',
471
655
  border: 'grn-500',
472
656
  border-light: 'grn-400',
473
657
  border-lighter: 'grn-300'
@@ -476,13 +660,9 @@ $color-state-map: (
476
660
  base: 'cta-400',
477
661
  default: 'cta-900',
478
662
  lighter: 'cta-400',
479
- on-lighter: 'cta-400-contrast',
480
663
  light: 'cta-500',
481
- on-light: 'cta-500-contrast',
482
664
  dark: 'cta-800',
483
- on-dark: 'cta-800-contrast',
484
665
  darker: 'cta-900',
485
- on-darker: 'cta-900-contrast',
486
666
  surface-light: 'cta-25',
487
667
  on-surface-light: 'cta-800',
488
668
  surface-light-hover: 'cta-50',
@@ -493,6 +673,8 @@ $color-state-map: (
493
673
  on-surface: 'cta-400-contrast',
494
674
  surface-hover: 'cta-500',
495
675
  on-surface-hover: 'cta-500-contrast',
676
+ surface-dark: 'cta-600',
677
+ on-surface-dark: 'cta-600-contrast',
496
678
  border: 'cta-300',
497
679
  border-light: 'cta-100',
498
680
  border-lighter: 'cta-75'
@@ -501,38 +683,32 @@ $color-state-map: (
501
683
  base: 'in-500',
502
684
  default: 'in-600',
503
685
  lighter: 'in-400',
504
- on-lighter: 'in-400-contrast',
505
686
  light: 'in-500',
506
- on-light: 'in-500-contrast',
507
687
  dark: 'in-800',
508
- on-dark: 'in-800-contrast',
509
688
  darker: 'in-900',
510
- on-darker: 'in-900-contrast',
511
- surface-light: 'in-50',
689
+ surface-light: 'in-75',
512
690
  on-surface-light: 'in-600',
513
- surface-light-hover: 'in-75',
691
+ surface-light-hover: 'in-100',
514
692
  on-surface-light-hover: 'in-800',
515
- surface-medium: 'in-100',
693
+ surface-medium: 'in-200',
516
694
  on-surface-medium: 'in-950',
517
695
  surface: 'in-600',
518
696
  on-surface: 'in-600-contrast',
519
697
  surface-hover: 'in-800',
520
698
  on-surface-hover: 'in-800-contrast',
699
+ surface-dark: 'in-800',
700
+ on-surface-dark: 'in-800-contrast',
521
701
  border: 'in-400',
522
- border-light: 'in-200',
523
- border-lighter: 'in-100'
702
+ border-light: 'in-300',
703
+ border-lighter: 'in-200'
524
704
  ),
525
705
  success: (
526
706
  base: 'su-700',
527
707
  default: 'su-900',
528
708
  lighter: 'su-700',
529
- on-lighter: 'su-700-contrast',
530
709
  light: 'su-800',
531
- on-light: 'su-800-contrast',
532
710
  dark: 'su-900',
533
- on-dark: 'su-900-contrast',
534
711
  darker: 'su-950',
535
- on-darker: 'su-950-contrast',
536
712
  surface-light: 'su-100',
537
713
  on-surface-light: 'su-950',
538
714
  surface-light-hover: 'su-200',
@@ -543,21 +719,19 @@ $color-state-map: (
543
719
  on-surface: 'su-950-contrast',
544
720
  surface-hover: 'su-950',
545
721
  on-surface-hover: 'su-950-contrast',
722
+ surface-dark: 'su-950',
723
+ on-surface-dark: 'su-950-contrast',
546
724
  border: 'su-600',
547
725
  border-light: 'su-400',
548
726
  border-lighter: 'su-300'
549
727
  ),
550
728
  warning: (
551
729
  base: 'wa-500',
552
- default: 'wa-800',
553
- lighter: 'wa-500',
554
- on-lighter: 'wa-500-contrast',
555
- light: 'wa-600',
556
- on-light: 'wa-600-contrast',
557
- dark: 'wa-900',
558
- on-dark: 'wa-900-contrast',
730
+ default: 'wa-900',
731
+ lighter: 'wa-700',
732
+ light: 'wa-800',
733
+ dark: 'wa-950',
559
734
  darker: 'wa-950',
560
- on-darker: 'wa-950-contrast',
561
735
  surface-light: 'wa-50',
562
736
  on-surface-light: 'wa-900',
563
737
  surface-light-hover: 'wa-75',
@@ -568,6 +742,8 @@ $color-state-map: (
568
742
  on-surface: 'wa-500-contrast',
569
743
  surface-hover: 'wa-600',
570
744
  on-surface-hover: 'wa-600-contrast',
745
+ surface-dark: 'wa-900',
746
+ on-surface-dark: 'wa-900-contrast',
571
747
  border: 'wa-400',
572
748
  border-light: 'wa-200',
573
749
  border-lighter: 'wa-100'
@@ -576,13 +752,9 @@ $color-state-map: (
576
752
  base: 'da-600',
577
753
  default: 'da-600',
578
754
  lighter: 'da-400',
579
- on-lighter: 'da-400-contrast',
580
755
  light: 'da-500',
581
- on-light: 'da-500-contrast',
582
756
  dark: 'da-700',
583
- on-dark: 'da-700-contrast',
584
757
  darker: 'da-800',
585
- on-darker: 'da-800-contrast',
586
758
  surface-light: 'da-75',
587
759
  on-surface-light: 'da-700',
588
760
  surface-light-hover: 'da-100',
@@ -593,6 +765,8 @@ $color-state-map: (
593
765
  on-surface: 'da-600-contrast',
594
766
  surface-hover: 'da-700',
595
767
  on-surface-hover: 'da-700-contrast',
768
+ surface-dark: 'da-800',
769
+ on-surface-dark: 'da-800-contrast',
596
770
  border: 'da-500',
597
771
  border-light: 'da-300',
598
772
  border-lighter: 'da-200'
@@ -621,54 +795,282 @@ $box-shadow-map: (
621
795
 
622
796
 
623
797
  // TYPOGRAPHY
798
+ $font-size-list: ('2xs', 'xs', 's', 'm', 'l', 'xl', '2xl', '3xl', '4xl', '5xl', '6xl', '7xl', '8xl');
624
799
 
625
- $font-size-list: (
626
- '2xs', 'xs', 's', 'm', 'l', 'xl', '2xl', '3xl', '4xl', '5xl', '6xl',
627
- '2xs-compact', 'xs-compact', 's-compact', 'm-compact', 'l-compact', 'xl-compact', '2xl-compact', '3xl-compact', '4xl-compact', '5xl-compact', '6xl-compact'
800
+ $font-size-map: (
801
+ '8xl': 3.75rem,
802
+ '7xl': 3.25rem,
803
+ '6xl': 2.5rem,
804
+ '5xl': 2.25rem,
805
+ '4xl': 2rem,
806
+ '3xl': 1.75rem,
807
+ '2xl': 1.5rem,
808
+ 'xl': 1.375rem,
809
+ 'l': 1.25rem,
810
+ 'm': 1.125rem,
811
+ 's': 1rem,
812
+ 'xs': 0.875rem,
813
+ '2xs': 0.75rem,
814
+ '3xs': 0.675rem
628
815
  );
629
816
 
630
817
  $font-line-height-map: (
631
- 2xs: 1rem,
632
- xs: 1.25rem,
633
- s: 1.25rem,
634
- m: 1.5rem,
635
- l: 1.75rem,
636
- xl: 2.25rem,
637
- 2xl: 2.5rem,
638
- 3xl: 2.75rem,
639
- 4xl: 3rem,
640
- 5xl: 3.25rem,
641
- 6xl: 3.50rem,
642
- 2xs-compact: 0.75rem,
643
- xs-compact: 1rem,
644
- s-compact: 1rem,
645
- m-compact: 1.25rem,
646
- l-compact: 1.5rem,
647
- xl-compact: 1.75rem,
648
- 2xl-compact: 2rem,
649
- 3xl-compact: 2.5rem,
650
- 4xl-compact: 2.75rem,
651
- 5xl-compact: 3rem,
652
- 6xl-compact: 3.25rem
818
+ '7xl': 3.75rem,
819
+ '6xl': 3.5rem,
820
+ '5xl': 3.25rem,
821
+ '4xl': 3rem,
822
+ '3xl': 2.75rem,
823
+ '2xl': 2.5rem,
824
+ 'xl': 2.25rem,
825
+ 'l': 2rem,
826
+ 'm': 1.75rem,
827
+ 's': 1.5rem,
828
+ 'xs': 1.25rem,
829
+ '2xs': 1rem,
830
+ '3xs': 0.875rem
653
831
  );
654
832
 
655
- $font-size-map: (
656
- 2xs: 0.675rem, // 10px
657
- xs: 0.75rem, // 12px
658
- s: 0.875rem, // 14px
659
- m: 1rem, // 16px
660
- l: 1.25rem, // 20px
661
- xl: 1.5rem, // 24px
662
- 2xl: 1.75rem, // 28px
663
- 3xl: 2rem, // 32px
664
- 4xl: 2.5rem, // 40px
665
- 5xl: 2.75rem, // 44px
666
- 6xl: 3rem // 48px
833
+ $font-map: (
834
+ 8xl: (
835
+ desktop: (
836
+ font-size: 8xl,
837
+ line-height: 7xl
838
+ ),
839
+ tablet: (
840
+ font-size: 7xl,
841
+ line-height: 6xl
842
+ ),
843
+ mobile: (
844
+ font-size: 6xl,
845
+ line-height: 3xl
846
+ ),
847
+ mobile-xs: (
848
+ font-size: 4xl,
849
+ line-height: xl
850
+ )
851
+ ),
852
+ 7xl: (
853
+ desktop: (
854
+ font-size: 7xl,
855
+ line-height: 6xl
856
+ ),
857
+ tablet: (
858
+ font-size: 6xl,
859
+ line-height: 3xl
860
+ ),
861
+ mobile: (
862
+ font-size: 5xl,
863
+ line-height: 3xl
864
+ ),
865
+ mobile-xs: (
866
+ font-size: 4xl,
867
+ line-height: xl
868
+ )
869
+ ),
870
+ 6xl: (
871
+ desktop: (
872
+ font-size: 6xl,
873
+ line-height: 4xl
874
+ ),
875
+ tablet: (
876
+ font-size: 5xl,
877
+ line-height: 3xl
878
+ ),
879
+ mobile: (
880
+ font-size: 4xl,
881
+ line-height: xl
882
+ ),
883
+ mobile-xs: (
884
+ font-size: 3xl,
885
+ line-height: xl
886
+ )
887
+ ),
888
+ 5xl: (
889
+ desktop: (
890
+ font-size: 5xl,
891
+ line-height: 3xl
892
+ ),
893
+ tablet: (
894
+ font-size: 4xl,
895
+ line-height: xl
896
+ ),
897
+ mobile: (
898
+ font-size: 3xl,
899
+ line-height: xl
900
+ ),
901
+ mobile-xs: (
902
+ font-size: 2xl,
903
+ line-height: l
904
+ )
905
+ ),
906
+ 4xl: (
907
+ desktop: (
908
+ font-size: 4xl,
909
+ line-height: xl
910
+ ),
911
+ tablet: (
912
+ font-size: 3xl,
913
+ line-height: xl
914
+ ),
915
+ mobile: (
916
+ font-size: 2xl,
917
+ line-height: l
918
+ ),
919
+ mobile-xs: (
920
+ font-size: xl,
921
+ line-height: l
922
+ )
923
+ ),
924
+ 3xl: (
925
+ desktop: (
926
+ font-size: 3xl,
927
+ line-height: xl
928
+ ),
929
+ tablet: (
930
+ font-size: 2xl,
931
+ line-height: xl
932
+ ),
933
+ mobile: (
934
+ font-size: xl,
935
+ line-height: l
936
+ ),
937
+ mobile-xs: (
938
+ font-size: l,
939
+ line-height: m
940
+ )
941
+ ),
942
+ 2xl: (
943
+ desktop: (
944
+ font-size: 2xl,
945
+ line-height: xl
946
+ ),
947
+ tablet: (
948
+ font-size: xl,
949
+ line-height: l
950
+ ),
951
+ mobile: (
952
+ font-size: l,
953
+ line-height: m
954
+ ),
955
+ mobile-xs: (
956
+ font-size: l,
957
+ line-height: m
958
+ )
959
+ ),
960
+ xl: (
961
+ desktop: (
962
+ font-size: xl,
963
+ line-height: m
964
+ ),
965
+ tablet: (
966
+ font-size: xl,
967
+ line-height: m
968
+ ),
969
+ mobile: (
970
+ font-size: l,
971
+ line-height: m
972
+ ),
973
+ mobile-xs: (
974
+ font-size: m,
975
+ line-height: s
976
+ )
977
+ ),
978
+ l: (
979
+ desktop: (
980
+ font-size: m,
981
+ line-height: s
982
+ ),
983
+ tablet: (
984
+ font-size: m,
985
+ line-height: s
986
+ ),
987
+ mobile: (
988
+ font-size: s,
989
+ line-height: s
990
+ ),
991
+ mobile-xs: (
992
+ font-size: s,
993
+ line-height: s
994
+ )
995
+ ),
996
+ m: (
997
+ desktop: (
998
+ font-size: s,
999
+ line-height: s
1000
+ ),
1001
+ tablet: (
1002
+ font-size: s,
1003
+ line-height: s
1004
+ ),
1005
+ mobile: (
1006
+ font-size: s,
1007
+ line-height: s
1008
+ ),
1009
+ mobile-xs: (
1010
+ font-size: s,
1011
+ line-height: s
1012
+ )
1013
+ ),
1014
+ s: (
1015
+ desktop: (
1016
+ font-size: xs,
1017
+ line-height: s
1018
+ ),
1019
+ tablet: (
1020
+ font-size: xs,
1021
+ line-height: s
1022
+ ),
1023
+ mobile: (
1024
+ font-size: xs,
1025
+ line-height: s
1026
+ ),
1027
+ mobile-xs: (
1028
+ font-size: xs,
1029
+ line-height: s
1030
+ )
1031
+ ),
1032
+ xs: (
1033
+ desktop: (
1034
+ font-size: 2xs,
1035
+ line-height: xs
1036
+ ),
1037
+ tablet: (
1038
+ font-size: 2xs,
1039
+ line-height: xs
1040
+ ),
1041
+ mobile: (
1042
+ font-size: 2xs,
1043
+ line-height: xs
1044
+ ),
1045
+ mobile-xs: (
1046
+ font-size: 2xs,
1047
+ line-height: xs
1048
+ )
1049
+ ),
1050
+ 2xs: (
1051
+ desktop: (
1052
+ font-size: 3xs,
1053
+ line-height: 2xs
1054
+ ),
1055
+ tablet: (
1056
+ font-size: 3xs,
1057
+ line-height: 2xs
1058
+ ),
1059
+ mobile: (
1060
+ font-size: 3xs,
1061
+ line-height: 2xs
1062
+ ),
1063
+ mobile-xs: (
1064
+ font-size: 3xs,
1065
+ line-height: 2xs
1066
+ )
1067
+ )
667
1068
  );
668
1069
 
669
1070
  $font-weight-map: (
1071
+ 'light': 300,
670
1072
  'regular': 400,
671
1073
  'medium': 500,
672
1074
  'semi-bold': 600,
673
1075
  'bold': 700
674
- );
1076
+ );
@@ -1,3 +1,4 @@
1
+ @use 'sass:map';
1
2
  @use '../01-base' as base;
2
3
  @use '../02-tokens/maps-eds-theme' as maps;
3
4
 
@@ -11,7 +12,7 @@
11
12
 
12
13
  @font-face {
13
14
  font-family: 'Inter';
14
- src: url('#{base.$eui-assets-base-path}/fonts/inter//InterVariable-Italic.woff2') format('woff2');
15
+ src: url('#{base.$eui-assets-base-path}/fonts/inter/InterVariable-Italic.woff2') format('woff2');
15
16
  font-weight: 100 900;
16
17
  font-display: swap;
17
18
  font-style: italic;
@@ -44,8 +45,8 @@
44
45
  --eui-c-white: #fff;
45
46
  --eui-c-black: #000;
46
47
 
47
- --eui-c-secondary-min: var(--eui-bc-gr-25);
48
- --eui-c-secondary-max: var(--eui-bc-gr-950);
48
+ --eui-c-secondary-min: var(--eui-bc-grn-10);
49
+ --eui-c-secondary-max: var(--eui-bc-grn-950);
49
50
 
50
51
  --eui-c-surface-page: var(--eui-bc-grn-25);
51
52
  --eui-c-surface-container: var(--eui-c-white);
@@ -69,6 +70,7 @@
69
70
  --eui-c-active: var(--eui-bc-pr-600);
70
71
  --eui-c-active-bg: var(--eui-bc-pr-200);
71
72
  --eui-c-active-bg-alt: var(--eui-bc-pr-300);
73
+ --eui-c-active-bg-light: var(--eui-bc-pr-100);
72
74
 
73
75
  --eui-c-disabled: var(--eui-bc-gr-500);
74
76
  --eui-c-disabled-bg: var(--eui-bc-gr-50);
@@ -76,8 +78,8 @@
76
78
 
77
79
  --eui-c-link: var(--eui-bc-pr-600);
78
80
 
79
- --eui-c-divider: var(--eui-bc-gr-200);
80
- --eui-c-divider-light: var(--eui-bc-gr-100);
81
+ --eui-c-divider: var(--eui-bc-gr-100);
82
+ --eui-c-divider-light: var(--eui-bc-gr-75);
81
83
 
82
84
 
83
85
 
@@ -106,6 +108,7 @@
106
108
  --eui-c-active-rgb: var(--eui-bc-pr-600-rgb);
107
109
  --eui-c-active-bg-rgb: var(--eui-bc-pr-200-rgb);
108
110
  --eui-c-active-bg-alt-rgb: var(--eui-bc-pr-300-rgb);
111
+ --eui-c-active-bg-light: var(--eui-bc-pr-100-rgb);
109
112
 
110
113
  --eui-c-disabled-rgb: var(--eui-bc-gr-500-rgb);
111
114
  --eui-c-disabled-bg-rgb: var(--eui-bc-gr-50-rgb);
@@ -113,8 +116,8 @@
113
116
 
114
117
  --eui-c-link-rgb: var(--eui-bc-pr-600-rgb);
115
118
 
116
- --eui-c-divider-rgb: var(--eui-bc-gr-200-rgb);
117
- --eui-c-divider-light-rgb: var(--eui-bc-gr-100-rgb);
119
+ --eui-c-divider-rgb: var(--eui-bc-gr-100-rgb);
120
+ --eui-c-divider-light-rgb: var(--eui-bc-gr-75-rgb);
118
121
 
119
122
 
120
123
 
@@ -145,10 +148,6 @@
145
148
  }
146
149
  }
147
150
 
148
-
149
- // TYPOGRAPHY - eui-f
150
- // ------------------
151
-
152
151
  // TYPOGRAPHY
153
152
  --eui-f-family: 'Inter', arial, sans-serif;
154
153
 
@@ -158,98 +157,73 @@
158
157
  // font sizes
159
158
  --eui-f-size-base: 16px;
160
159
 
160
+ // base line-height / scale-factor (for compact mode)
161
+ --eui-base-line-height: 1.5;
162
+ --eui-base-scale-factor: 1;
163
+
161
164
  // font aliases
162
165
  --eui-f: var(--eui-f-m);
166
+ --eui-f-light: var(--eui-f-m-light);
167
+ --eui-f-medium: var(--eui-f-m-medium);
168
+ --eui-f-semi-bold: var(--eui-f-m-semi-bold);
163
169
  --eui-f-bold: var(--eui-f-m-bold);
164
170
 
171
+ @each $size, $def in maps.$font-size-map {
172
+ --eui-f-s-r-#{$size}: #{$def};
173
+ }
165
174
 
166
- // based on new EDS specs, but not convenient, better to have a flat list of sizes rather than too much semantic and overlaps
167
- // responsive fonts
168
- // @each $font, $fontDef in maps.$font-map-responsive {
169
- // @each $size, $sizeDef in $fontDef {
170
- // $desktop: map-get($sizeDef, 'desktop');
171
- // $tablet: map-get($sizeDef, 'tablet');
172
- // $mobile: map-get($sizeDef, 'mobile');
173
-
174
- // @each $type, $def in $desktop {
175
- // --eui-f-#{$font}-#{$size}-#{$type}: #{$def};
176
- // }
177
- // @each $type, $def in $tablet {
178
- // --eui-f-#{$font}-#{$size}-tablet-#{$type}: #{$def};
179
- // }
180
- // @each $type, $def in $mobile {
181
- // --eui-f-#{$font}-#{$size}-mobile-#{$type}: #{$def};
182
- // }
183
- // --eui-f-#{$font}-#{$size}-regular: normal normal var(--eui-f-weight-regular) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
184
- // --eui-f-#{$font}-#{$size}-medium: normal normal var(--eui-f-weight-medium) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
185
- // --eui-f-#{$font}-#{$size}-semi-bold: normal normal var(--eui-f-weight-semi-bold) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
186
- // --eui-f-#{$font}-#{$size}-bold: normal normal var(--eui-f-weight-semi-bold) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
187
-
188
- // --eui-f-#{$font}-#{$size}-tablet-regular: normal normal var(--eui-f-weight-regular) var(--eui-f-#{$font}-#{$size}-tablet-size)/var(--eui-f-#{$font}-#{$size}-tablet-line-height) var(--eui-f-family);
189
- // --eui-f-#{$font}-#{$size}-tablet-medium: normal normal var(--eui-f-weight-medium) var(--eui-f-#{$font}-#{$size}-tablet-size)/var(--eui-f-#{$font}-#{$size}-tablet-line-height) var(--eui-f-family);
190
- // --eui-f-#{$font}-#{$size}-tablet-semi-bold: normal normal var(--eui-f-weight-semi-bold) var(--eui-f-#{$font}-#{$size}-tablet-size)/var(--eui-f-#{$font}-#{$size}-tablet-line-height) var(--eui-f-family);
191
- // --eui-f-#{$font}-#{$size}-tablet-bold: normal normal var(--eui-f-weight-semi-bold) var(--eui-f-#{$font}-#{$size}-tablet-size)/var(--eui-f-#{$font}-#{$size}-tablet-line-height) var(--eui-f-family);
192
-
193
- // --eui-f-#{$font}-#{$size}-mobile-regular: normal normal var(--eui-f-weight-regular) var(--eui-f-#{$font}-#{$size}-mobile-size)/var(--eui-f-#{$font}-#{$size}-mobile-line-height) var(--eui-f-family);
194
- // --eui-f-#{$font}-#{$size}-mobile-medium: normal normal var(--eui-f-weight-medium) var(--eui-f-#{$font}-#{$size}-mobile-size)/var(--eui-f-#{$font}-#{$size}-mobile-line-height) var(--eui-f-family);
195
- // --eui-f-#{$font}-#{$size}-mobile-semi-bold: normal normal var(--eui-f-weight-semi-bold) var(--eui-f-#{$font}-#{$size}-mobile-size)/var(--eui-f-#{$font}-#{$size}-mobile-line-height) var(--eui-f-family);
196
- // --eui-f-#{$font}-#{$size}-mobile-bold: normal normal var(--eui-f-weight-semi-bold) var(--eui-f-#{$font}-#{$size}-mobile-size)/var(--eui-f-#{$font}-#{$size}-mobile-line-height) var(--eui-f-family);
197
- // }
198
- // }
199
-
200
- // @include base.media(maps.$eui-bkp-tablet) {
201
- // @each $font, $fontDef in maps.$font-map-responsive {
202
- // @each $size, $sizeDef in $fontDef {
203
- // --eui-f-#{$font}-#{$size}-regular: var(--eui-f-#{$font}-#{$size}-tablet-regular);
204
- // --eui-f-#{$font}-#{$size}-medium: var(--eui-f-#{$font}-#{$size}-tablet-medium);
205
- // --eui-f-#{$font}-#{$size}-semi-bold: var(--eui-f-#{$font}-#{$size}-tablet-semi-bold);
206
- // --eui-f-#{$font}-#{$size}-bold: var(--eui-f-#{$font}-#{$size}-tablet-bold);
207
- // }
208
- // }
209
- // }
210
- // @include base.media(maps.$eui-bkp-mobile) {
211
- // @each $font, $fontDef in maps.$font-map-responsive {
212
- // @each $size, $sizeDef in $fontDef {
213
- // --eui-f-#{$font}-#{$size}-regular: var(--eui-f-#{$font}-#{$size}-mobile-regular);
214
- // --eui-f-#{$font}-#{$size}-medium: var(--eui-f-#{$font}-#{$size}-mobile-medium);
215
- // --eui-f-#{$font}-#{$size}-semi-bold: var(--eui-f-#{$font}-#{$size}-mobile-semi-bold);
216
- // --eui-f-#{$font}-#{$size}-bold: var(--eui-f-#{$font}-#{$size}-mobile-bold);
217
- // }
218
- // }
219
- // }
220
-
221
- // // normal fonts (non-responsive)
222
- // @each $font, $fontDef in maps.$font-map {
223
- // @each $size, $sizeDef in $fontDef {
224
- // @each $type, $def in $sizeDef {
225
- // --eui-f-#{$font}-#{$size}-#{$type}: #{$def};
226
- // }
227
- // --eui-f-#{$font}-#{$size}-regular: normal normal var(--eui-f-weight-regular) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
228
- // --eui-f-#{$font}-#{$size}-medium: normal normal var(--eui-f-weight-medium) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
229
- // --eui-f-#{$font}-#{$size}-semi-bold: normal normal var(--eui-f-weight-semi-bold) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
230
- // --eui-f-#{$font}-#{$size}-bold: normal normal var(--eui-f-weight-bold) var(--eui-f-#{$font}-#{$size}-size)/var(--eui-f-#{$font}-#{$size}-line-height) var(--eui-f-family);
231
- // }
232
- // }
233
-
234
- // eUI font maps
235
- @each $size in maps.$font-size-list {
236
- --eui-f-#{$size}: normal normal var(--eui-f-weight-regular) var(--eui-f-size-#{$size})/var(--eui-f-line-height-#{$size}) var(--eui-f-family);
237
- --eui-f-#{$size}-medium: normal normal var(--eui-f-weight-medium) var(--eui-f-size-#{$size})/var(--eui-f-line-height-#{$size}) var(--eui-f-family);
238
- --eui-f-#{$size}-semi-bold: normal normal var(--eui-f-weight-semi-bold) var(--eui-f-size-#{$size})/var(--eui-f-line-height-#{$size}) var(--eui-f-family);
239
- --eui-f-#{$size}-bold: normal normal var(--eui-f-weight-bold) var(--eui-f-size-#{$size})/var(--eui-f-line-height-#{$size}) var(--eui-f-family);
175
+ @each $size, $sizeDef in maps.$font-map {
176
+ $desktop: map.get($sizeDef, 'desktop');
177
+ --eui-f-#{$size}-light: normal normal var(--eui-f-w-light) var(--eui-f-s-r-#{map.get($desktop, 'font-size')})/var(--eui-f-lh-#{map.get($desktop, 'line-height')}) var(--eui-f-family);
178
+ --eui-f-#{$size}: normal normal var(--eui-f-w-regular) var(--eui-f-s-r-#{map.get($desktop, 'font-size')})/var(--eui-f-lh-#{map.get($desktop, 'line-height')}) var(--eui-f-family);
179
+ --eui-f-#{$size}-medium: normal normal var(--eui-f-w-medium) var(--eui-f-s-r-#{map.get($desktop, 'font-size')})/var(--eui-f-lh-#{map.get($desktop, 'line-height')}) var(--eui-f-family);
180
+ --eui-f-#{$size}-semi-bold: normal normal var(--eui-f-w-semi-bold) var(--eui-f-s-r-#{map.get($desktop, 'font-size')})/var(--eui-f-lh-#{map.get($desktop, 'line-height')}) var(--eui-f-family);
181
+ --eui-f-#{$size}-bold: normal normal var(--eui-f-w-bold) var(--eui-f-s-r-#{map.get($desktop, 'font-size')})/var(--eui-f-lh-#{map.get($desktop, 'line-height')}) var(--eui-f-family);
182
+ --eui-f-s-#{$size}: var(--eui-f-s-r-#{map.get($desktop, 'font-size')});
240
183
  }
241
184
 
242
- @each $size, $def in maps.$font-size-map {
243
- --eui-f-size-#{$size}: #{$def};
244
- --eui-f-size-#{$size}-compact: #{$def};
185
+ @include base.media(maps.$eui-bkp-tablet) {
186
+ @each $size, $sizeDef in maps.$font-map {
187
+ $tablet: map.get($sizeDef, 'tablet');
188
+ --eui-f-#{$size}-light: normal normal var(--eui-f-w-light) var(--eui-f-s-r-#{map.get($tablet, 'font-size')})/var(--eui-f-lh-#{map.get($tablet, 'line-height')}) var(--eui-f-family);
189
+ --eui-f-#{$size}: normal normal var(--eui-f-w-regular) var(--eui-f-s-r-#{map.get($tablet, 'font-size')})/var(--eui-f-lh-#{map.get($tablet, 'line-height')}) var(--eui-f-family);
190
+ --eui-f-#{$size}-medium: normal normal var(--eui-f-w-medium) var(--eui-f-s-r-#{map.get($tablet, 'font-size')})/var(--eui-f-lh-#{map.get($tablet, 'line-height')}) var(--eui-f-family);
191
+ --eui-f-#{$size}-semi-bold: normal normal var(--eui-f-w-semi-bold) var(--eui-f-s-r-#{map.get($tablet, 'font-size')})/var(--eui-f-lh-#{map.get($tablet, 'line-height')}) var(--eui-f-family);
192
+ --eui-f-#{$size}-bold: normal normal var(--eui-f-w-bold) var(--eui-f-s-r-#{map.get($tablet, 'font-size')})/var(--eui-f-lh-#{map.get($tablet, 'line-height')}) var(--eui-f-family);
193
+ --eui-f-s-#{$size}: var(--eui-f-s-r-#{map.get($tablet, 'font-size')});
194
+ }
195
+ }
196
+
197
+ @include base.media(maps.$eui-bkp-mobile-s) {
198
+ @each $size, $sizeDef in maps.$font-map {
199
+ $mobile: map.get($sizeDef, 'mobile');
200
+ --eui-f-#{$size}-light: normal normal var(--eui-f-w-light) var(--eui-f-s-r-#{map.get($mobile, 'font-size')})/var(--eui-f-lh-#{map.get($mobile, 'line-height')}) var(--eui-f-family);
201
+ --eui-f-#{$size}: normal normal var(--eui-f-w-regular) var(--eui-f-s-r-#{map.get($mobile, 'font-size')})/var(--eui-f-lh-#{map.get($mobile, 'line-height')}) var(--eui-f-family);
202
+ --eui-f-#{$size}-medium: normal normal var(--eui-f-w-medium) var(--eui-f-s-r-#{map.get($mobile, 'font-size')})/var(--eui-f-lh-#{map.get($mobile, 'line-height')}) var(--eui-f-family);
203
+ --eui-f-#{$size}-semi-bold: normal normal var(--eui-f-w-semi-bold) var(--eui-f-s-r-#{map.get($mobile, 'font-size')})/var(--eui-f-lh-#{map.get($mobile, 'line-height')}) var(--eui-f-family);
204
+ --eui-f-#{$size}-bold: normal normal var(--eui-f-w-bold) var(--eui-f-s-r-#{map.get($mobile, 'font-size')})/var(--eui-f-lh-#{map.get($mobile, 'line-height')}) var(--eui-f-family);
205
+ --eui-f-s-#{$size}: var(--eui-f-s-r-#{map.get($mobile, 'font-size')});
206
+ }
207
+ }
208
+
209
+ @include base.media(maps.$eui-bkp-mobile-xs) {
210
+ @each $size, $sizeDef in maps.$font-map {
211
+ $mobilexs: map.get($sizeDef, 'mobile-xs');
212
+ --eui-f-#{$size}-light: normal normal var(--eui-f-w-light) var(--eui-f-s-r-#{map.get($mobilexs, 'font-size')})/var(--eui-f-lh-#{map.get($mobilexs, 'line-height')}) var(--eui-f-family);
213
+ --eui-f-#{$size}: normal normal var(--eui-f-w-regular) var(--eui-f-s-r-#{map.get($mobilexs, 'font-size')})/var(--eui-f-lh-#{map.get($mobilexs, 'line-height')}) var(--eui-f-family);
214
+ --eui-f-#{$size}-medium: normal normal var(--eui-f-w-medium) var(--eui-f-s-r-#{map.get($mobilexs, 'font-size')})/var(--eui-f-lh-#{map.get($mobilexs, 'line-height')}) var(--eui-f-family);
215
+ --eui-f-#{$size}-semi-bold: normal normal var(--eui-f-w-semi-bold) var(--eui-f-s-r-#{map.get($mobilexs, 'font-size')})/var(--eui-f-lh-#{map.get($mobilexs, 'line-height')}) var(--eui-f-family);
216
+ --eui-f-#{$size}-bold: normal normal var(--eui-f-w-bold) var(--eui-f-s-r-#{map.get($mobilexs, 'font-size')})/var(--eui-f-lh-#{map.get($mobilexs, 'line-height')}) var(--eui-f-family);
217
+ --eui-f-s-#{$size}: var(--eui-f-s-r-#{map.get($mobilexs, 'font-size')});
218
+ }
245
219
  }
246
220
 
247
221
  @each $size, $def in maps.$font-line-height-map {
248
- --eui-f-line-height-#{$size}: #{$def};
222
+ --eui-f-lh-#{$size}: #{$def};
249
223
  }
250
224
 
251
225
  @each $size, $def in maps.$font-weight-map {
252
- --eui-f-weight-#{$size}: #{$def};
226
+ --eui-f-w-#{$size}: #{$def};
253
227
  }
254
228
 
255
229
 
@@ -316,7 +290,6 @@
316
290
  --eui-zi-#{$idx}: #{$value};
317
291
  }
318
292
 
319
-
320
293
  // OTHERS
321
294
  // ------
322
295
  --eui-internal-icon-checkmark-path: url('#{base.$eui-assets-base-path}/icons/eui-internals/check.svg');
package/package.json CHANGED
@@ -17,8 +17,8 @@
17
17
  "yarn": ">=1.22.4 <2"
18
18
  },
19
19
  "license": "EUPL-1.1",
20
- "version": "19.3.9",
21
- "tag": "latest",
20
+ "version": "19.3.10-snapshot-1764669601570",
21
+ "tag": "snapshot",
22
22
  "dependencies": {},
23
23
  "resolutions": {}
24
24
  }