@oxide/design-system 6.2.0 → 6.2.1-canary.8497cc1

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/asciidoc.css CHANGED
@@ -68,7 +68,7 @@
68
68
 
69
69
  /* Remove top spacing from the first heading in a document */
70
70
  #preamble .sectionbody > *:first-child,
71
- #content > .sect1:first-of-type > :is(h1, h2, h3, h4, h5) {
71
+ & > .sect1:first-of-type > :is(h1, h2, h3, h4, h5) {
72
72
  margin-top: 0;
73
73
  }
74
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxide/design-system",
3
- "version": "6.2.0",
3
+ "version": "6.2.1-canary.8497cc1",
4
4
  "description": "Home of reusable design assets and token for oxide internal sites",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/styles/main.css CHANGED
@@ -412,7 +412,7 @@
412
412
  font-weight: 400;
413
413
  line-height: 1rem;
414
414
  font-size: 0.75rem;
415
- letter-spacing: 0.04rem;
415
+ letter-spacing: 0.01rem;
416
416
  }
417
417
  /* @figma sans/regular/md */
418
418
  @utility text-sans-md {
@@ -420,7 +420,7 @@
420
420
  font-weight: 400;
421
421
  line-height: 1.125rem;
422
422
  font-size: 0.875rem;
423
- letter-spacing: 0.03rem;
423
+ letter-spacing: 0.01rem;
424
424
  }
425
425
  /* @figma sans/regular/lg */
426
426
  @utility text-sans-lg {
@@ -428,7 +428,7 @@
428
428
  font-weight: 400;
429
429
  line-height: 1.375rem;
430
430
  font-size: 1rem;
431
- letter-spacing: 0.0175rem;
431
+ letter-spacing: 0.01rem;
432
432
  }
433
433
  /* @figma sans/regular/xl */
434
434
  @utility text-sans-xl {
@@ -436,7 +436,7 @@
436
436
  font-weight: 400;
437
437
  line-height: 1.5rem;
438
438
  font-size: 1.125rem;
439
- letter-spacing: 0.0125rem;
439
+ letter-spacing: 0rem;
440
440
  }
441
441
  /* @figma sans/regular/2xl */
442
442
  @utility text-sans-2xl {
@@ -444,7 +444,7 @@
444
444
  font-weight: 400;
445
445
  line-height: 2rem;
446
446
  font-size: 1.5625rem;
447
- letter-spacing: 0.015rem;
447
+ letter-spacing: 0rem;
448
448
  }
449
449
  /* @figma sans/regular/3xl */
450
450
  @utility text-sans-3xl {
@@ -452,7 +452,7 @@
452
452
  font-weight: 400;
453
453
  line-height: 2.625rem;
454
454
  font-size: 2.25rem;
455
- letter-spacing: 0.005rem;
455
+ letter-spacing: -0.01rem;
456
456
  }
457
457
  /* @figma sans/regular/4xl */
458
458
  @utility text-sans-4xl {
@@ -460,7 +460,58 @@
460
460
  font-weight: 400;
461
461
  line-height: 3.625rem;
462
462
  font-size: 3.25rem;
463
- letter-spacing: -0.01rem;
463
+ letter-spacing: -0.02rem;
464
+ }
465
+ /* @figma sans/regular/5xl */
466
+ @utility text-sans-5xl {
467
+ font-family: var(--font-sans);
468
+ font-weight: 400;
469
+ line-height: 3.65625rem;
470
+ font-size: 4.0625rem;
471
+ letter-spacing: -0.03rem;
472
+ }
473
+ /* Responsive heading semantic tokens
474
+ *
475
+ * heading-display text-sans-3xl → 4xl@800 → 65@1000 hero / banner titles
476
+ * heading-xl text-sans-2xl → 3xl@600 → 4xl@1000 primary section h2s
477
+ * heading-lg text-sans-xl → 2xl@600 → 3xl@1000 secondary headings (h3)
478
+ * heading-md text-sans-lg → xl@600 → 2xl@1000 subsection headings (h4)
479
+ */
480
+ @utility heading-display {
481
+ @apply text-sans-3xl;
482
+ @media (min-width: 800px) {
483
+ @apply text-sans-4xl;
484
+ }
485
+ @media (min-width: 1000px) {
486
+ @apply text-sans-5xl;
487
+ }
488
+ }
489
+ @utility heading-xl {
490
+ @apply text-sans-2xl;
491
+ @media (min-width: 600px) {
492
+ @apply text-sans-3xl;
493
+ }
494
+ @media (min-width: 1000px) {
495
+ @apply text-sans-4xl;
496
+ }
497
+ }
498
+ @utility heading-lg {
499
+ @apply text-sans-xl;
500
+ @media (min-width: 600px) {
501
+ @apply text-sans-2xl;
502
+ }
503
+ @media (min-width: 1000px) {
504
+ @apply text-sans-3xl;
505
+ }
506
+ }
507
+ @utility heading-md {
508
+ @apply text-sans-lg;
509
+ @media (min-width: 600px) {
510
+ @apply text-sans-xl;
511
+ }
512
+ @media (min-width: 1000px) {
513
+ @apply text-sans-2xl;
514
+ }
464
515
  }
465
516
  /* @figma sans/semi/sm */
466
517
  @utility text-sans-semi-sm {