@sumup-oss/design-tokens 8.2.0 → 9.0.0-next.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/dynamic.css CHANGED
@@ -224,7 +224,242 @@
224
224
  --cui-z-index-default: 0;
225
225
  --cui-z-index-absolute: 1;
226
226
  --cui-z-index-input: 20;
227
- --cui-z-index-popover: 30;
227
+ --cui-z-index-popover: 1000;
228
+ --cui-z-index-tooltip: 40;
229
+ --cui-z-index-header: 600;
230
+ --cui-z-index-backdrop: 700;
231
+ --cui-z-index-navigation: 800;
232
+ --cui-z-index-modal: 1000;
233
+ --cui-z-index-toast: 1100;
234
+ }
235
+
236
+ ::backdrop {
237
+ --lightningcss-light: initial;
238
+ --lightningcss-dark: ;
239
+ color-scheme: light;
240
+ --cui-bg-normal: #fff;
241
+ --cui-bg-normal-hovered: #e9edf2;
242
+ --cui-bg-normal-pressed: #bfc6cf;
243
+ --cui-bg-normal-disabled: rgba(255, 255, 255, .4);
244
+ --cui-bg-subtle: #f0f1f5;
245
+ --cui-bg-subtle-hovered: #e0e2ea;
246
+ --cui-bg-subtle-pressed: #9da7b1;
247
+ --cui-bg-subtle-disabled: rgba(227, 231, 235, .4);
248
+ --cui-bg-highlight: #e3e7eb;
249
+ --cui-bg-highlight-hovered: #c2c9d1;
250
+ --cui-bg-highlight-pressed: #9da7b1;
251
+ --cui-bg-highlight-disabled: rgba(15, 19, 26, .08);
252
+ --cui-bg-strong: #000;
253
+ --cui-bg-strong-hovered: #313941;
254
+ --cui-bg-strong-pressed: #4f5a65;
255
+ --cui-bg-strong-disabled: rgba(23, 29, 36, .4);
256
+ --cui-bg-accent: #eef0f2;
257
+ --cui-bg-accent-hovered: #e3e7eb;
258
+ --cui-bg-accent-pressed: #c2c9d1;
259
+ --cui-bg-accent-disabled: rgba(238, 240, 242, .4);
260
+ --cui-bg-accent-strong: #0f131a;
261
+ --cui-bg-accent-strong-hovered: #3b3f46;
262
+ --cui-bg-accent-strong-pressed: #6a737c;
263
+ --cui-bg-accent-strong-disabled: rgba(15, 19, 26, .4);
264
+ --cui-bg-success: #e9fbe9;
265
+ --cui-bg-success-hovered: #d7f8d7;
266
+ --cui-bg-success-pressed: #c1e8c1;
267
+ --cui-bg-success-disabled: rgba(233, 251, 233, .4);
268
+ --cui-bg-success-strong: #018850;
269
+ --cui-bg-success-strong-hovered: #007a4e;
270
+ --cui-bg-success-strong-pressed: #016c26;
271
+ --cui-bg-success-strong-disabled: rgba(1, 136, 80, .4);
272
+ --cui-bg-warning: #fdf4db;
273
+ --cui-bg-warning-hovered: #faeec6;
274
+ --cui-bg-warning-pressed: #f5dea3;
275
+ --cui-bg-warning-disabled: rgba(253, 244, 219, .4);
276
+ --cui-bg-warning-strong: #e87c00;
277
+ --cui-bg-warning-strong-hovered: #cc6d00;
278
+ --cui-bg-warning-strong-pressed: #b25c00;
279
+ --cui-bg-warning-strong-disabled: rgba(232, 124, 0, .4);
280
+ --cui-bg-danger: #fbe9e7;
281
+ --cui-bg-danger-hovered: #fcddd9;
282
+ --cui-bg-danger-pressed: #f2bbb5;
283
+ --cui-bg-danger-disabled: rgba(251, 233, 231, .64);
284
+ --cui-bg-danger-strong: #de331d;
285
+ --cui-bg-danger-strong-hovered: #bd2c19;
286
+ --cui-bg-danger-strong-pressed: #9e2415;
287
+ --cui-bg-danger-strong-disabled: rgba(222, 51, 29, .4);
288
+ --cui-bg-promo: #f5edfe;
289
+ --cui-bg-promo-hovered: #ede0fc;
290
+ --cui-bg-promo-pressed: #e0c9f8;
291
+ --cui-bg-promo-disabled: rgba(245, 237, 254, .4);
292
+ --cui-bg-promo-strong: #9e33e0;
293
+ --cui-bg-promo-strong-hovered: #8a1ecc;
294
+ --cui-bg-promo-strong-pressed: #7219a9;
295
+ --cui-bg-promo-strong-disabled: rgba(158, 51, 224, .4);
296
+ --cui-fg-normal: #0f131a;
297
+ --cui-fg-normal-hovered: #0f131a;
298
+ --cui-fg-normal-pressed: #0f131a;
299
+ --cui-fg-normal-disabled: rgba(15, 19, 26, .4);
300
+ --cui-fg-subtle: #6a737c;
301
+ --cui-fg-subtle-hovered: #6a737c;
302
+ --cui-fg-subtle-pressed: #6a737c;
303
+ --cui-fg-subtle-disabled: rgba(106, 115, 124, .4);
304
+ --cui-fg-placeholder: #929396;
305
+ --cui-fg-placeholder-hovered: #787a7c;
306
+ --cui-fg-placeholder-pressed: #484a51;
307
+ --cui-fg-placeholder-disabled: rgba(146, 147, 150, .4);
308
+ --cui-fg-on-strong: #fff;
309
+ --cui-fg-on-strong-hovered: #fff;
310
+ --cui-fg-on-strong-pressed: #fff;
311
+ --cui-fg-on-strong-disabled: rgba(255, 255, 255, .4);
312
+ --cui-fg-on-strong-subtle: rgba(255, 255, 255, .7);
313
+ --cui-fg-on-strong-subtle-hovered: rgba(255, 255, 255, .7);
314
+ --cui-fg-on-strong-subtle-pressed: rgba(255, 255, 255, .7);
315
+ --cui-fg-on-strong-subtle-disabled: rgba(255, 255, 255, .3);
316
+ --cui-fg-accent: #0f131a;
317
+ --cui-fg-accent-hovered: #52565d;
318
+ --cui-fg-accent-pressed: #676e7a;
319
+ --cui-fg-accent-disabled: rgba(15, 19, 26, .4);
320
+ --cui-fg-success: #018850;
321
+ --cui-fg-success-hovered: #007a4e;
322
+ --cui-fg-success-pressed: #016c26;
323
+ --cui-fg-success-disabled: rgba(1, 136, 80, .4);
324
+ --cui-fg-warning: #e27900;
325
+ --cui-fg-warning-hovered: #cc6d00;
326
+ --cui-fg-warning-pressed: #b25c00;
327
+ --cui-fg-warning-disabled: rgba(226, 121, 0, .4);
328
+ --cui-fg-danger: #de331d;
329
+ --cui-fg-danger-hovered: #bd2c19;
330
+ --cui-fg-danger-pressed: #9e2415;
331
+ --cui-fg-danger-disabled: rgba(222, 51, 29, .64);
332
+ --cui-fg-promo: #9e33e0;
333
+ --cui-fg-promo-hovered: #8a1ecc;
334
+ --cui-fg-promo-pressed: #7219a9;
335
+ --cui-fg-promo-disabled: rgba(158, 51, 224, .4);
336
+ --cui-border-normal: #aeb6be;
337
+ --cui-border-normal-hovered: #85919e;
338
+ --cui-border-normal-pressed: #687686;
339
+ --cui-border-normal-disabled: rgba(194, 201, 209, .4);
340
+ --cui-border-subtle: #e3e7ec;
341
+ --cui-border-subtle-hovered: #c2c9d1;
342
+ --cui-border-subtle-pressed: #9da7b1;
343
+ --cui-border-subtle-disabled: rgba(230, 230, 230, .4);
344
+ --cui-border-divider: #e3e7eb;
345
+ --cui-border-divider-hovered: #9da7b1;
346
+ --cui-border-divider-pressed: #6a737c;
347
+ --cui-border-divider-disabled: rgba(194, 201, 209, .4);
348
+ --cui-border-strong: #0f131a;
349
+ --cui-border-strong-hovered: #494a4a;
350
+ --cui-border-strong-pressed: #696969;
351
+ --cui-border-strong-disabled: rgba(15, 19, 26, .4);
352
+ --cui-border-accent: #0f131a;
353
+ --cui-border-accent-hovered: #52565d;
354
+ --cui-border-accent-pressed: #676e7a;
355
+ --cui-border-accent-disabled: rgba(15, 19, 26, .4);
356
+ --cui-border-success: #018850;
357
+ --cui-border-success-hovered: #007a4e;
358
+ --cui-border-success-pressed: #016c26;
359
+ --cui-border-success-disabled: rgba(1, 136, 80, .4);
360
+ --cui-border-warning: #e87c00;
361
+ --cui-border-warning-hovered: #cc6d00;
362
+ --cui-border-warning-pressed: #b25c00;
363
+ --cui-border-warning-disabled: rgba(226, 121, 0, .4);
364
+ --cui-border-danger: #de331d;
365
+ --cui-border-danger-hovered: #bd2c19;
366
+ --cui-border-danger-pressed: #9e2415;
367
+ --cui-border-danger-disabled: rgba(222, 51, 29, .4);
368
+ --cui-border-promo: #9e33e0;
369
+ --cui-border-promo-hovered: #8a1ecc;
370
+ --cui-border-promo-pressed: #7219a9;
371
+ --cui-border-promo-disabled: rgba(158, 51, 224, .4);
372
+ --cui-bg-overlay: rgba(0, 0, 0, .4);
373
+ --cui-bg-elevated: #fff;
374
+ --cui-border-focus: #0f131a;
375
+ --cui-border-radius-bit: 4px;
376
+ --cui-border-radius-byte: 8px;
377
+ --cui-border-radius-kilo: 12px;
378
+ --cui-border-radius-mega: 16px;
379
+ --cui-border-radius-circle: 100%;
380
+ --cui-border-radius-pill: 999999px;
381
+ --cui-border-width-kilo: 1px;
382
+ --cui-border-width-mega: 2px;
383
+ --cui-font-stack-default: "Inter", "Inter-Fallback", Arial, system-ui, sans-serif, "Segoe UI", Roboto, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
384
+ --cui-font-stack-mono: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
385
+ --cui-font-weight-regular: 375;
386
+ --cui-font-weight-semibold: 560;
387
+ --cui-font-weight-bold: 630;
388
+ --cui-letter-spacing: -.01375rem;
389
+ --cui-letter-spacing-tight: -.08rem;
390
+ --cui-icon-sizes-kilo: 16px;
391
+ --cui-icon-sizes-mega: 24px;
392
+ --cui-icon-sizes-giga: 32px;
393
+ --cui-icon-sizes-tera: 48px;
394
+ --cui-spacings-bit: 4px;
395
+ --cui-spacings-byte: 8px;
396
+ --cui-spacings-kilo: 12px;
397
+ --cui-spacings-mega: 16px;
398
+ --cui-spacings-giga: 24px;
399
+ --cui-spacings-tera: 32px;
400
+ --cui-spacings-peta: 40px;
401
+ --cui-spacings-exa: 48px;
402
+ --cui-spacings-zetta: 56px;
403
+ --cui-transitions-default: .12s ease-in-out;
404
+ --cui-transitions-slow: .3s ease-in-out;
405
+ --cui-display-l-font-size: 4rem;
406
+ --cui-display-l-line-height: 4.5rem;
407
+ --cui-display-m-font-size: 3rem;
408
+ --cui-display-m-line-height: 3.5rem;
409
+ --cui-display-s-font-size: 2.5rem;
410
+ --cui-display-s-line-height: 2.875rem;
411
+ --cui-headline-l-font-size: 2rem;
412
+ --cui-headline-l-line-height: 2.25rem;
413
+ --cui-headline-m-font-size: 1.5rem;
414
+ --cui-headline-m-line-height: 1.625rem;
415
+ --cui-headline-s-font-size: 1.125rem;
416
+ --cui-headline-s-line-height: 1.375rem;
417
+ --cui-body-l-font-size: 1.25rem;
418
+ --cui-body-l-line-height: 1.5rem;
419
+ --cui-body-m-font-size: 1rem;
420
+ --cui-body-m-line-height: 1.375rem;
421
+ --cui-body-s-font-size: .875rem;
422
+ --cui-body-s-line-height: 1.25rem;
423
+ --cui-compact-l-font-size: 1.125rem;
424
+ --cui-compact-l-line-height: 1.5rem;
425
+ --cui-compact-m-font-size: .9375rem;
426
+ --cui-compact-m-line-height: 1.0625rem;
427
+ --cui-compact-s-font-size: .8125rem;
428
+ --cui-compact-s-line-height: .9375rem;
429
+ --cui-numeral-l-font-size: 3rem;
430
+ --cui-numeral-l-line-height: 3.375rem;
431
+ --cui-numeral-m-font-size: 1.5rem;
432
+ --cui-numeral-m-line-height: 1.75rem;
433
+ --cui-numeral-s-font-size: 1rem;
434
+ --cui-numeral-s-line-height: 1.375rem;
435
+ --cui-typography-headline-one-font-size: 2rem;
436
+ --cui-typography-headline-one-line-height: 2.25rem;
437
+ --cui-typography-headline-two-font-size: 1.375rem;
438
+ --cui-typography-headline-two-line-height: 1.625rem;
439
+ --cui-typography-headline-three-font-size: 1.375rem;
440
+ --cui-typography-headline-three-line-height: 1.625rem;
441
+ --cui-typography-headline-four-font-size: 1.125rem;
442
+ --cui-typography-headline-four-line-height: 1.375rem;
443
+ --cui-typography-title-one-font-size: 4rem;
444
+ --cui-typography-title-one-line-height: 4.5rem;
445
+ --cui-typography-title-two-font-size: 3rem;
446
+ --cui-typography-title-two-line-height: 3.5rem;
447
+ --cui-typography-title-three-font-size: 3rem;
448
+ --cui-typography-title-three-line-height: 3.5rem;
449
+ --cui-typography-title-four-font-size: 2.5rem;
450
+ --cui-typography-title-four-line-height: 2.875rem;
451
+ --cui-typography-sub-headline-font-size: 1.125rem;
452
+ --cui-typography-sub-headline-line-height: 1.375rem;
453
+ --cui-typography-body-one-font-size: 1rem;
454
+ --cui-typography-body-one-line-height: 1.375rem;
455
+ --cui-typography-body-two-font-size: .875rem;
456
+ --cui-typography-body-two-line-height: 1.25rem;
457
+ --cui-typography-body-large-font-size: 1.25rem;
458
+ --cui-typography-body-large-line-height: 1.5rem;
459
+ --cui-z-index-default: 0;
460
+ --cui-z-index-absolute: 1;
461
+ --cui-z-index-input: 20;
462
+ --cui-z-index-popover: 1000;
228
463
  --cui-z-index-tooltip: 40;
229
464
  --cui-z-index-header: 600;
230
465
  --cui-z-index-backdrop: 700;
@@ -374,6 +609,147 @@
374
609
  --cui-bg-elevated: #2f3438;
375
610
  --cui-border-focus: #fff;
376
611
  }
612
+
613
+ ::backdrop {
614
+ --lightningcss-light: ;
615
+ --lightningcss-dark: initial;
616
+ color-scheme: dark;
617
+ --cui-bg-normal: #171d24;
618
+ --cui-bg-normal-hovered: #212831;
619
+ --cui-bg-normal-pressed: #28313c;
620
+ --cui-bg-normal-disabled: rgba(216, 232, 248, .08);
621
+ --cui-bg-subtle: #0c0f12;
622
+ --cui-bg-subtle-hovered: #212b31;
623
+ --cui-bg-subtle-pressed: #36434a;
624
+ --cui-bg-subtle-disabled: rgba(216, 232, 248, .08);
625
+ --cui-bg-highlight: #363c41;
626
+ --cui-bg-highlight-hovered: #3d4249;
627
+ --cui-bg-highlight-pressed: #424950;
628
+ --cui-bg-highlight-disabled: rgba(216, 232, 248, .08);
629
+ --cui-bg-strong: #fff;
630
+ --cui-bg-strong-hovered: #f6f8f9;
631
+ --cui-bg-strong-pressed: #e3e7eb;
632
+ --cui-bg-strong-disabled: rgba(216, 232, 248, .08);
633
+ --cui-bg-accent: #0c0f12;
634
+ --cui-bg-accent-hovered: #20292e;
635
+ --cui-bg-accent-pressed: #313d43;
636
+ --cui-bg-accent-disabled: rgba(216, 232, 248, .08);
637
+ --cui-bg-accent-strong: #e1e7ef;
638
+ --cui-bg-accent-strong-hovered: #fff;
639
+ --cui-bg-accent-strong-pressed: #fff;
640
+ --cui-bg-accent-strong-disabled: rgba(216, 232, 248, .08);
641
+ --cui-bg-success: rgba(12, 211, 104, .2);
642
+ --cui-bg-success-hovered: rgba(12, 211, 104, .25);
643
+ --cui-bg-success-pressed: rgba(12, 211, 104, .3);
644
+ --cui-bg-success-disabled: rgba(216, 232, 248, .08);
645
+ --cui-bg-success-strong: #0cd368;
646
+ --cui-bg-success-strong-hovered: #13e072;
647
+ --cui-bg-success-strong-pressed: #25e980;
648
+ --cui-bg-success-strong-disabled: rgba(216, 232, 248, .08);
649
+ --cui-bg-warning: rgba(245, 158, 28, .2);
650
+ --cui-bg-warning-hovered: rgba(245, 158, 28, .25);
651
+ --cui-bg-warning-pressed: rgba(245, 158, 28, .3);
652
+ --cui-bg-warning-disabled: rgba(216, 232, 248, .08);
653
+ --cui-bg-warning-strong: #f5b81c;
654
+ --cui-bg-warning-strong-hovered: #f7c440;
655
+ --cui-bg-warning-strong-pressed: #f7cb59;
656
+ --cui-bg-warning-strong-disabled: rgba(216, 232, 248, .08);
657
+ --cui-bg-danger: rgba(255, 76, 53, .2);
658
+ --cui-bg-danger-hovered: rgba(255, 76, 53, .2);
659
+ --cui-bg-danger-pressed: rgba(255, 76, 53, .4);
660
+ --cui-bg-danger-disabled: rgba(255, 69, 60, .13);
661
+ --cui-bg-danger-strong: #ff4e37;
662
+ --cui-bg-danger-strong-hovered: #ff6259;
663
+ --cui-bg-danger-strong-pressed: #ff827b;
664
+ --cui-bg-danger-strong-disabled: rgba(216, 232, 248, .08);
665
+ --cui-bg-promo: rgba(195, 83, 247, .2);
666
+ --cui-bg-promo-hovered: rgba(195, 83, 247, .25);
667
+ --cui-bg-promo-pressed: rgba(195, 83, 247, .3);
668
+ --cui-bg-promo-disabled: rgba(216, 232, 248, .08);
669
+ --cui-bg-promo-strong: #c353f7;
670
+ --cui-bg-promo-strong-hovered: #c768f3;
671
+ --cui-bg-promo-strong-pressed: #ce72f8;
672
+ --cui-bg-promo-strong-disabled: rgba(216, 232, 248, .08);
673
+ --cui-fg-normal: #fff;
674
+ --cui-fg-normal-hovered: rgba(255, 255, 255, .8);
675
+ --cui-fg-normal-pressed: #e3e7eb;
676
+ --cui-fg-normal-disabled: rgba(230, 224, 233, .2);
677
+ --cui-fg-subtle: rgba(223, 232, 241, .6);
678
+ --cui-fg-subtle-hovered: rgba(223, 232, 241, .7);
679
+ --cui-fg-subtle-pressed: rgba(223, 232, 241, .8);
680
+ --cui-fg-subtle-disabled: rgba(216, 232, 248, .2);
681
+ --cui-fg-placeholder: #555d62;
682
+ --cui-fg-placeholder-hovered: #687278;
683
+ --cui-fg-placeholder-pressed: #7c878d;
684
+ --cui-fg-placeholder-disabled: rgba(85, 93, 98, .5);
685
+ --cui-fg-on-strong: #0f131a;
686
+ --cui-fg-on-strong-hovered: #0f131a;
687
+ --cui-fg-on-strong-pressed: #0f131a;
688
+ --cui-fg-on-strong-disabled: rgba(216, 232, 248, .3);
689
+ --cui-fg-on-strong-subtle: rgba(15, 19, 26, .7);
690
+ --cui-fg-on-strong-subtle-hovered: rgba(15, 19, 26, .7);
691
+ --cui-fg-on-strong-subtle-pressed: rgba(15, 19, 26, .7);
692
+ --cui-fg-on-strong-subtle-disabled: rgba(216, 232, 248, .2);
693
+ --cui-fg-accent: #e1e7ef;
694
+ --cui-fg-accent-hovered: #fff;
695
+ --cui-fg-accent-pressed: #fff;
696
+ --cui-fg-accent-disabled: rgba(216, 232, 248, .3);
697
+ --cui-fg-success: #17db72;
698
+ --cui-fg-success-hovered: #13e072;
699
+ --cui-fg-success-pressed: #25e980;
700
+ --cui-fg-success-disabled: rgba(216, 232, 248, .3);
701
+ --cui-fg-warning: #f5b81c;
702
+ --cui-fg-warning-hovered: #f7c440;
703
+ --cui-fg-warning-pressed: #f7cb59;
704
+ --cui-fg-warning-disabled: rgba(216, 232, 248, .3);
705
+ --cui-fg-danger: #ff634e;
706
+ --cui-fg-danger-hovered: #ff5c47;
707
+ --cui-fg-danger-pressed: #ff6a57;
708
+ --cui-fg-danger-disabled: rgba(255, 178, 167, .7);
709
+ --cui-fg-promo: #cf7bf6;
710
+ --cui-fg-promo-hovered: #c768f3;
711
+ --cui-fg-promo-pressed: #ce72f8;
712
+ --cui-fg-promo-disabled: rgba(216, 232, 248, .3);
713
+ --cui-border-normal: rgba(223, 232, 241, .3);
714
+ --cui-border-normal-hovered: rgba(223, 232, 241, .35);
715
+ --cui-border-normal-pressed: rgba(223, 232, 241, .45);
716
+ --cui-border-normal-disabled: rgba(216, 232, 248, .3);
717
+ --cui-border-subtle: rgba(223, 232, 241, .15);
718
+ --cui-border-subtle-hovered: rgba(223, 232, 241, .2);
719
+ --cui-border-subtle-pressed: rgba(223, 232, 241, .3);
720
+ --cui-border-subtle-disabled: rgba(216, 232, 248, .1);
721
+ --cui-border-divider: rgba(216, 232, 248, .3);
722
+ --cui-border-divider-hovered: rgba(223, 232, 241, .35);
723
+ --cui-border-divider-pressed: rgba(223, 232, 241, .45);
724
+ --cui-border-divider-disabled: rgba(216, 232, 248, .15);
725
+ --cui-border-strong: #fff;
726
+ --cui-border-strong-hovered: #f6f8f9;
727
+ --cui-border-strong-pressed: #e3e7eb;
728
+ --cui-border-strong-disabled: rgba(216, 232, 248, .15);
729
+ --cui-border-accent: #fff;
730
+ --cui-border-accent-hovered: #f6f8f9;
731
+ --cui-border-accent-pressed: #e3e7eb;
732
+ --cui-border-accent-disabled: rgba(216, 232, 248, .15);
733
+ --cui-border-success: #0cd368;
734
+ --cui-border-success-hovered: #13e072;
735
+ --cui-border-success-pressed: #25e980;
736
+ --cui-border-success-disabled: rgba(216, 232, 248, .15);
737
+ --cui-border-warning: #f5b81c;
738
+ --cui-border-warning-hovered: #f7c440;
739
+ --cui-border-warning-pressed: #f7cb59;
740
+ --cui-border-warning-disabled: rgba(216, 232, 248, .15);
741
+ --cui-border-danger: #ff634e;
742
+ --cui-border-danger-hovered: #ff5c47;
743
+ --cui-border-danger-pressed: #ff6a57;
744
+ --cui-border-danger-disabled: rgba(255, 178, 167, .7);
745
+ --cui-border-promo: #c353f7;
746
+ --cui-border-promo-hovered: #c768f3;
747
+ --cui-border-promo-pressed: #ce72f8;
748
+ --cui-border-promo-disabled: rgba(216, 232, 248, .15);
749
+ --cui-bg-overlay: rgba(0, 0, 0, .7);
750
+ --cui-bg-elevated: #2f3438;
751
+ --cui-border-focus: #fff;
752
+ }
377
753
  }
378
754
 
379
755
  [data-color-scheme="light"] {
package/light.css CHANGED
@@ -224,7 +224,242 @@
224
224
  --cui-z-index-default: 0;
225
225
  --cui-z-index-absolute: 1;
226
226
  --cui-z-index-input: 20;
227
- --cui-z-index-popover: 30;
227
+ --cui-z-index-popover: 1000;
228
+ --cui-z-index-tooltip: 40;
229
+ --cui-z-index-header: 600;
230
+ --cui-z-index-backdrop: 700;
231
+ --cui-z-index-navigation: 800;
232
+ --cui-z-index-modal: 1000;
233
+ --cui-z-index-toast: 1100;
234
+ }
235
+
236
+ ::backdrop {
237
+ --lightningcss-light: initial;
238
+ --lightningcss-dark: ;
239
+ color-scheme: light;
240
+ --cui-bg-normal: #fff;
241
+ --cui-bg-normal-hovered: #e9edf2;
242
+ --cui-bg-normal-pressed: #bfc6cf;
243
+ --cui-bg-normal-disabled: rgba(255, 255, 255, .4);
244
+ --cui-bg-subtle: #f0f1f5;
245
+ --cui-bg-subtle-hovered: #e0e2ea;
246
+ --cui-bg-subtle-pressed: #9da7b1;
247
+ --cui-bg-subtle-disabled: rgba(227, 231, 235, .4);
248
+ --cui-bg-highlight: #e3e7eb;
249
+ --cui-bg-highlight-hovered: #c2c9d1;
250
+ --cui-bg-highlight-pressed: #9da7b1;
251
+ --cui-bg-highlight-disabled: rgba(15, 19, 26, .08);
252
+ --cui-bg-strong: #000;
253
+ --cui-bg-strong-hovered: #313941;
254
+ --cui-bg-strong-pressed: #4f5a65;
255
+ --cui-bg-strong-disabled: rgba(23, 29, 36, .4);
256
+ --cui-bg-accent: #eef0f2;
257
+ --cui-bg-accent-hovered: #e3e7eb;
258
+ --cui-bg-accent-pressed: #c2c9d1;
259
+ --cui-bg-accent-disabled: rgba(238, 240, 242, .4);
260
+ --cui-bg-accent-strong: #0f131a;
261
+ --cui-bg-accent-strong-hovered: #3b3f46;
262
+ --cui-bg-accent-strong-pressed: #6a737c;
263
+ --cui-bg-accent-strong-disabled: rgba(15, 19, 26, .4);
264
+ --cui-bg-success: #e9fbe9;
265
+ --cui-bg-success-hovered: #d7f8d7;
266
+ --cui-bg-success-pressed: #c1e8c1;
267
+ --cui-bg-success-disabled: rgba(233, 251, 233, .4);
268
+ --cui-bg-success-strong: #018850;
269
+ --cui-bg-success-strong-hovered: #007a4e;
270
+ --cui-bg-success-strong-pressed: #016c26;
271
+ --cui-bg-success-strong-disabled: rgba(1, 136, 80, .4);
272
+ --cui-bg-warning: #fdf4db;
273
+ --cui-bg-warning-hovered: #faeec6;
274
+ --cui-bg-warning-pressed: #f5dea3;
275
+ --cui-bg-warning-disabled: rgba(253, 244, 219, .4);
276
+ --cui-bg-warning-strong: #e87c00;
277
+ --cui-bg-warning-strong-hovered: #cc6d00;
278
+ --cui-bg-warning-strong-pressed: #b25c00;
279
+ --cui-bg-warning-strong-disabled: rgba(232, 124, 0, .4);
280
+ --cui-bg-danger: #fbe9e7;
281
+ --cui-bg-danger-hovered: #fcddd9;
282
+ --cui-bg-danger-pressed: #f2bbb5;
283
+ --cui-bg-danger-disabled: rgba(251, 233, 231, .64);
284
+ --cui-bg-danger-strong: #de331d;
285
+ --cui-bg-danger-strong-hovered: #bd2c19;
286
+ --cui-bg-danger-strong-pressed: #9e2415;
287
+ --cui-bg-danger-strong-disabled: rgba(222, 51, 29, .4);
288
+ --cui-bg-promo: #f5edfe;
289
+ --cui-bg-promo-hovered: #ede0fc;
290
+ --cui-bg-promo-pressed: #e0c9f8;
291
+ --cui-bg-promo-disabled: rgba(245, 237, 254, .4);
292
+ --cui-bg-promo-strong: #9e33e0;
293
+ --cui-bg-promo-strong-hovered: #8a1ecc;
294
+ --cui-bg-promo-strong-pressed: #7219a9;
295
+ --cui-bg-promo-strong-disabled: rgba(158, 51, 224, .4);
296
+ --cui-fg-normal: #0f131a;
297
+ --cui-fg-normal-hovered: #0f131a;
298
+ --cui-fg-normal-pressed: #0f131a;
299
+ --cui-fg-normal-disabled: rgba(15, 19, 26, .4);
300
+ --cui-fg-subtle: #6a737c;
301
+ --cui-fg-subtle-hovered: #6a737c;
302
+ --cui-fg-subtle-pressed: #6a737c;
303
+ --cui-fg-subtle-disabled: rgba(106, 115, 124, .4);
304
+ --cui-fg-placeholder: #929396;
305
+ --cui-fg-placeholder-hovered: #787a7c;
306
+ --cui-fg-placeholder-pressed: #484a51;
307
+ --cui-fg-placeholder-disabled: rgba(146, 147, 150, .4);
308
+ --cui-fg-on-strong: #fff;
309
+ --cui-fg-on-strong-hovered: #fff;
310
+ --cui-fg-on-strong-pressed: #fff;
311
+ --cui-fg-on-strong-disabled: rgba(255, 255, 255, .4);
312
+ --cui-fg-on-strong-subtle: rgba(255, 255, 255, .7);
313
+ --cui-fg-on-strong-subtle-hovered: rgba(255, 255, 255, .7);
314
+ --cui-fg-on-strong-subtle-pressed: rgba(255, 255, 255, .7);
315
+ --cui-fg-on-strong-subtle-disabled: rgba(255, 255, 255, .3);
316
+ --cui-fg-accent: #0f131a;
317
+ --cui-fg-accent-hovered: #52565d;
318
+ --cui-fg-accent-pressed: #676e7a;
319
+ --cui-fg-accent-disabled: rgba(15, 19, 26, .4);
320
+ --cui-fg-success: #018850;
321
+ --cui-fg-success-hovered: #007a4e;
322
+ --cui-fg-success-pressed: #016c26;
323
+ --cui-fg-success-disabled: rgba(1, 136, 80, .4);
324
+ --cui-fg-warning: #e27900;
325
+ --cui-fg-warning-hovered: #cc6d00;
326
+ --cui-fg-warning-pressed: #b25c00;
327
+ --cui-fg-warning-disabled: rgba(226, 121, 0, .4);
328
+ --cui-fg-danger: #de331d;
329
+ --cui-fg-danger-hovered: #bd2c19;
330
+ --cui-fg-danger-pressed: #9e2415;
331
+ --cui-fg-danger-disabled: rgba(222, 51, 29, .64);
332
+ --cui-fg-promo: #9e33e0;
333
+ --cui-fg-promo-hovered: #8a1ecc;
334
+ --cui-fg-promo-pressed: #7219a9;
335
+ --cui-fg-promo-disabled: rgba(158, 51, 224, .4);
336
+ --cui-border-normal: #aeb6be;
337
+ --cui-border-normal-hovered: #85919e;
338
+ --cui-border-normal-pressed: #687686;
339
+ --cui-border-normal-disabled: rgba(194, 201, 209, .4);
340
+ --cui-border-subtle: #e3e7ec;
341
+ --cui-border-subtle-hovered: #c2c9d1;
342
+ --cui-border-subtle-pressed: #9da7b1;
343
+ --cui-border-subtle-disabled: rgba(230, 230, 230, .4);
344
+ --cui-border-divider: #e3e7eb;
345
+ --cui-border-divider-hovered: #9da7b1;
346
+ --cui-border-divider-pressed: #6a737c;
347
+ --cui-border-divider-disabled: rgba(194, 201, 209, .4);
348
+ --cui-border-strong: #0f131a;
349
+ --cui-border-strong-hovered: #494a4a;
350
+ --cui-border-strong-pressed: #696969;
351
+ --cui-border-strong-disabled: rgba(15, 19, 26, .4);
352
+ --cui-border-accent: #0f131a;
353
+ --cui-border-accent-hovered: #52565d;
354
+ --cui-border-accent-pressed: #676e7a;
355
+ --cui-border-accent-disabled: rgba(15, 19, 26, .4);
356
+ --cui-border-success: #018850;
357
+ --cui-border-success-hovered: #007a4e;
358
+ --cui-border-success-pressed: #016c26;
359
+ --cui-border-success-disabled: rgba(1, 136, 80, .4);
360
+ --cui-border-warning: #e87c00;
361
+ --cui-border-warning-hovered: #cc6d00;
362
+ --cui-border-warning-pressed: #b25c00;
363
+ --cui-border-warning-disabled: rgba(226, 121, 0, .4);
364
+ --cui-border-danger: #de331d;
365
+ --cui-border-danger-hovered: #bd2c19;
366
+ --cui-border-danger-pressed: #9e2415;
367
+ --cui-border-danger-disabled: rgba(222, 51, 29, .4);
368
+ --cui-border-promo: #9e33e0;
369
+ --cui-border-promo-hovered: #8a1ecc;
370
+ --cui-border-promo-pressed: #7219a9;
371
+ --cui-border-promo-disabled: rgba(158, 51, 224, .4);
372
+ --cui-bg-overlay: rgba(0, 0, 0, .4);
373
+ --cui-bg-elevated: #fff;
374
+ --cui-border-focus: #0f131a;
375
+ --cui-border-radius-bit: 4px;
376
+ --cui-border-radius-byte: 8px;
377
+ --cui-border-radius-kilo: 12px;
378
+ --cui-border-radius-mega: 16px;
379
+ --cui-border-radius-circle: 100%;
380
+ --cui-border-radius-pill: 999999px;
381
+ --cui-border-width-kilo: 1px;
382
+ --cui-border-width-mega: 2px;
383
+ --cui-font-stack-default: "Inter", "Inter-Fallback", Arial, system-ui, sans-serif, "Segoe UI", Roboto, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
384
+ --cui-font-stack-mono: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
385
+ --cui-font-weight-regular: 375;
386
+ --cui-font-weight-semibold: 560;
387
+ --cui-font-weight-bold: 630;
388
+ --cui-letter-spacing: -.01375rem;
389
+ --cui-letter-spacing-tight: -.08rem;
390
+ --cui-icon-sizes-kilo: 16px;
391
+ --cui-icon-sizes-mega: 24px;
392
+ --cui-icon-sizes-giga: 32px;
393
+ --cui-icon-sizes-tera: 48px;
394
+ --cui-spacings-bit: 4px;
395
+ --cui-spacings-byte: 8px;
396
+ --cui-spacings-kilo: 12px;
397
+ --cui-spacings-mega: 16px;
398
+ --cui-spacings-giga: 24px;
399
+ --cui-spacings-tera: 32px;
400
+ --cui-spacings-peta: 40px;
401
+ --cui-spacings-exa: 48px;
402
+ --cui-spacings-zetta: 56px;
403
+ --cui-transitions-default: .12s ease-in-out;
404
+ --cui-transitions-slow: .3s ease-in-out;
405
+ --cui-display-l-font-size: 4rem;
406
+ --cui-display-l-line-height: 4.5rem;
407
+ --cui-display-m-font-size: 3rem;
408
+ --cui-display-m-line-height: 3.5rem;
409
+ --cui-display-s-font-size: 2.5rem;
410
+ --cui-display-s-line-height: 2.875rem;
411
+ --cui-headline-l-font-size: 2rem;
412
+ --cui-headline-l-line-height: 2.25rem;
413
+ --cui-headline-m-font-size: 1.5rem;
414
+ --cui-headline-m-line-height: 1.625rem;
415
+ --cui-headline-s-font-size: 1.125rem;
416
+ --cui-headline-s-line-height: 1.375rem;
417
+ --cui-body-l-font-size: 1.25rem;
418
+ --cui-body-l-line-height: 1.5rem;
419
+ --cui-body-m-font-size: 1rem;
420
+ --cui-body-m-line-height: 1.375rem;
421
+ --cui-body-s-font-size: .875rem;
422
+ --cui-body-s-line-height: 1.25rem;
423
+ --cui-compact-l-font-size: 1.125rem;
424
+ --cui-compact-l-line-height: 1.5rem;
425
+ --cui-compact-m-font-size: .9375rem;
426
+ --cui-compact-m-line-height: 1.0625rem;
427
+ --cui-compact-s-font-size: .8125rem;
428
+ --cui-compact-s-line-height: .9375rem;
429
+ --cui-numeral-l-font-size: 3rem;
430
+ --cui-numeral-l-line-height: 3.375rem;
431
+ --cui-numeral-m-font-size: 1.5rem;
432
+ --cui-numeral-m-line-height: 1.75rem;
433
+ --cui-numeral-s-font-size: 1rem;
434
+ --cui-numeral-s-line-height: 1.375rem;
435
+ --cui-typography-headline-one-font-size: 2rem;
436
+ --cui-typography-headline-one-line-height: 2.25rem;
437
+ --cui-typography-headline-two-font-size: 1.375rem;
438
+ --cui-typography-headline-two-line-height: 1.625rem;
439
+ --cui-typography-headline-three-font-size: 1.375rem;
440
+ --cui-typography-headline-three-line-height: 1.625rem;
441
+ --cui-typography-headline-four-font-size: 1.125rem;
442
+ --cui-typography-headline-four-line-height: 1.375rem;
443
+ --cui-typography-title-one-font-size: 4rem;
444
+ --cui-typography-title-one-line-height: 4.5rem;
445
+ --cui-typography-title-two-font-size: 3rem;
446
+ --cui-typography-title-two-line-height: 3.5rem;
447
+ --cui-typography-title-three-font-size: 3rem;
448
+ --cui-typography-title-three-line-height: 3.5rem;
449
+ --cui-typography-title-four-font-size: 2.5rem;
450
+ --cui-typography-title-four-line-height: 2.875rem;
451
+ --cui-typography-sub-headline-font-size: 1.125rem;
452
+ --cui-typography-sub-headline-line-height: 1.375rem;
453
+ --cui-typography-body-one-font-size: 1rem;
454
+ --cui-typography-body-one-line-height: 1.375rem;
455
+ --cui-typography-body-two-font-size: .875rem;
456
+ --cui-typography-body-two-line-height: 1.25rem;
457
+ --cui-typography-body-large-font-size: 1.25rem;
458
+ --cui-typography-body-large-line-height: 1.5rem;
459
+ --cui-z-index-default: 0;
460
+ --cui-z-index-absolute: 1;
461
+ --cui-z-index-input: 20;
462
+ --cui-z-index-popover: 1000;
228
463
  --cui-z-index-tooltip: 40;
229
464
  --cui-z-index-header: 600;
230
465
  --cui-z-index-backdrop: 700;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/design-tokens",
3
- "version": "8.2.0",
3
+ "version": "9.0.0-next.1",
4
4
  "description": "Visual primitives such as typography, color, and spacing that are shared across platforms.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/es/index.js",
@@ -30,15 +30,11 @@
30
30
  "lint:fix": "npm run lint -- --fix",
31
31
  "test": "vitest"
32
32
  },
33
- "dependencies": {
34
- "browserslist": "^4.24.4",
35
- "lightningcss": "^1.29.1",
36
- "prop-types": "^15.8.1"
37
- },
38
33
  "devDependencies": {
39
- "@types/node": "^22.10.7",
40
- "@types/prop-types": "^15.7.13",
41
- "tsx": "^4.19.2",
42
- "typescript": "^5.7.3"
34
+ "@types/node": "^22.13.11",
35
+ "browserslist": "^4.24.4",
36
+ "lightningcss": "^1.29.3",
37
+ "tsx": "^4.19.3",
38
+ "typescript": "^5.8.2"
43
39
  }
44
40
  }