@kiva/kv-tokens 4.1.0 → 4.3.0

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.
@@ -6,7 +6,6 @@ const {
6
6
  fontSizes,
7
7
  fontWeights,
8
8
  letterSpacings,
9
- lineHeights,
10
9
  lineHeightsAbsolute,
11
10
  radii,
12
11
  semanticFontSizes,
@@ -288,99 +287,6 @@ export const textBaseColor = 'rgb(var(--text-primary))';
288
287
  REUSABLE TYPE STYLES
289
288
  */
290
289
  export const textStyles = (() => {
291
- const textJumbo = {
292
- fontFamily: fonts.serif,
293
- fontWeight: fontWeights.medium,
294
- fontSize: rem(fontSizes.jumbo.sm),
295
- letterSpacing: letterSpacings['-1'],
296
- lineHeight: lineHeights.tight,
297
- '@screen md': {
298
- fontSize: rem(fontSizes.jumbo.md),
299
- },
300
- '@screen lg': {
301
- fontSize: rem(fontSizes.jumbo.lg),
302
- },
303
- };
304
-
305
- const textH1 = {
306
- fontFamily: fonts.serif,
307
- fontSize: rem(fontSizes.h1.sm),
308
- fontWeight: fontWeights.medium,
309
- letterSpacing: em(letterSpacings['-0.5'], fontSizes.h1.md),
310
- lineHeight: lineHeights.tight,
311
- '@screen md': {
312
- fontSize: rem(fontSizes.h1.md),
313
- },
314
- '@screen lg': {
315
- fontSize: rem(fontSizes.h1.lg),
316
- },
317
- };
318
-
319
- const textH2 = {
320
- fontFamily: fonts.serif,
321
- fontSize: rem(fontSizes.h2.sm),
322
- fontWeight: fontWeights.medium,
323
- letterSpacing: em(letterSpacings.normal, fontSizes.h2.sm),
324
- lineHeight: lineHeights.tight,
325
- '@screen md': {
326
- fontSize: rem(fontSizes.h2.md),
327
- letterSpacing: em(letterSpacings['-0.3'], fontSizes.h2.md),
328
- },
329
- '@screen lg': {
330
- fontSize: rem(fontSizes.h2.lg),
331
- letterSpacing: em(letterSpacings['-0.3'], fontSizes.h2.lg),
332
- lineHeight: lineHeights['nearly-none'],
333
- },
334
- };
335
-
336
- const textH3 = {
337
- fontSize: rem(fontSizes.h3.sm),
338
- fontWeight: fontWeights.normal,
339
- letterSpacing: em(letterSpacings['-1'], fontSizes.h3.sm),
340
- lineHeight: lineHeights.tight,
341
- '@screen md': {
342
- fontSize: rem(fontSizes.h3.md),
343
- },
344
- '@screen lg': {
345
- fontSize: rem(fontSizes.h3.lg),
346
- },
347
- };
348
-
349
- const textH4 = {
350
- fontSize: rem(fontSizes.h4.sm),
351
- fontWeight: fontWeights.normal,
352
- lineHeight: lineHeights.normal,
353
- textTransform: 'uppercase',
354
- '@screen md': {
355
- fontSize: rem(fontSizes.h4.md),
356
- },
357
- '@screen lg': {
358
- fontSize: rem(fontSizes.h4.lg),
359
- },
360
- };
361
-
362
- const textH5 = {
363
- fontFamily: fonts.sans,
364
- fontSize: rem(fontSizes.h4.sm),
365
- fontWeight: fontWeights.normal,
366
- letterSpacing: em(letterSpacings.normal, fontSizes.subhead.sm),
367
- lineHeight: lineHeights['nearly-none'],
368
- };
369
-
370
- const textSubhead = {
371
- fontFamily: fonts.sans,
372
- fontSize: rem(fontSizes.subhead.sm),
373
- fontWeight: fontWeights.light,
374
- letterSpacing: em(letterSpacings.normal, fontSizes.subhead.sm),
375
- lineHeight: lineHeights.tight,
376
- '@screen md': {
377
- fontSize: rem(fontSizes.subhead.md),
378
- },
379
- '@screen lg': {
380
- fontSize: rem(fontSizes.subhead.lg),
381
- },
382
- };
383
-
384
290
  const textBase = {
385
291
  fontWeight: fontWeights.light,
386
292
  fontSize: rem(fontSizes.base.sm),
@@ -409,21 +315,6 @@ export const textStyles = (() => {
409
315
  fontWeight: fontWeights.light,
410
316
  };
411
317
 
412
- const textBlockquote = {
413
- fontFamily: fonts.serif,
414
- fontSize: rem(fontSizes.h2.sm),
415
- fontStyle: 'italic',
416
- fontWeight: fontWeights.medium,
417
- letterSpacing: em(letterSpacings['-0.5'], fontSizes.h2.sm),
418
- lineHeight: lineHeights.tight,
419
- '@screen md': {
420
- fontSize: rem(fontSizes.h2.md),
421
- },
422
- '@screen lg': {
423
- fontSize: rem(fontSizes.h2.lg),
424
- },
425
- };
426
-
427
318
  const textDisplay = {
428
319
  fontFamily: fonts.serif,
429
320
  fontWeight: fontWeights.medium,
@@ -442,6 +333,8 @@ export const textStyles = (() => {
442
333
  },
443
334
  };
444
335
 
336
+ const textJumbo = { ...textDisplay };
337
+
445
338
  const textHeadline = {
446
339
  fontFamily: fonts.serif,
447
340
  fontWeight: fontWeights.medium,
@@ -451,6 +344,7 @@ export const textStyles = (() => {
451
344
  '@screen md': {
452
345
  fontSize: rem(semanticFontSizes.h1.md),
453
346
  letterSpacing: em(letterSpacings['-200'], semanticFontSizes.h1.md),
347
+ lineHeight: em(lineHeightsAbsolute.h1.md, semanticFontSizes.h1.md),
454
348
  },
455
349
  '@screen lg': {
456
350
  fontSize: rem(semanticFontSizes.h1.lg),
@@ -459,6 +353,8 @@ export const textStyles = (() => {
459
353
  },
460
354
  };
461
355
 
356
+ const textH1 = { ...textHeadline };
357
+
462
358
  const textHeadlineTwo = {
463
359
  fontFamily: fonts.serif,
464
360
  fontWeight: fontWeights.medium,
@@ -468,6 +364,7 @@ export const textStyles = (() => {
468
364
  '@screen md': {
469
365
  fontSize: rem(semanticFontSizes.h2.md),
470
366
  letterSpacing: em(letterSpacings['-200'], semanticFontSizes.h2.md),
367
+ lineHeight: em(lineHeightsAbsolute.h2.md, semanticFontSizes.h2.md),
471
368
  },
472
369
  '@screen lg': {
473
370
  fontSize: rem(semanticFontSizes.h2.lg),
@@ -476,6 +373,13 @@ export const textStyles = (() => {
476
373
  },
477
374
  };
478
375
 
376
+ const textH2 = { ...textHeadlineTwo };
377
+
378
+ const textBlockquote = {
379
+ ...textHeadlineTwo,
380
+ fontStyle: 'italic',
381
+ };
382
+
479
383
  const textSubheadline = {
480
384
  fontFamily: fonts.sans,
481
385
  fontWeight: fontWeights.light,
@@ -484,13 +388,19 @@ export const textStyles = (() => {
484
388
  lineHeight: em(lineHeightsAbsolute.h3.sm, semanticFontSizes.h3.sm),
485
389
  '@screen md': {
486
390
  fontSize: rem(semanticFontSizes.h3.md),
391
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.md),
392
+ lineHeight: em(lineHeightsAbsolute.h3.md, semanticFontSizes.h3.md),
487
393
  },
488
394
  '@screen lg': {
489
395
  fontSize: rem(semanticFontSizes.h3.lg),
396
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.lg),
490
397
  lineHeight: em(lineHeightsAbsolute.h3.lg, semanticFontSizes.h3.lg),
491
398
  },
492
399
  };
493
400
 
401
+ const textH3 = { ...textSubheadline };
402
+ const textSubhead = { ...textSubheadline };
403
+
494
404
  const textTitle = {
495
405
  fontFamily: fonts.sans,
496
406
  fontWeight: fontWeights.normal,
@@ -499,13 +409,20 @@ export const textStyles = (() => {
499
409
  lineHeight: em(lineHeightsAbsolute.h3.sm, semanticFontSizes.h3.sm),
500
410
  '@screen md': {
501
411
  fontSize: rem(semanticFontSizes.h3.md),
412
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.md),
413
+ lineHeight: em(lineHeightsAbsolute.h3.md, semanticFontSizes.h3.md),
502
414
  },
503
415
  '@screen lg': {
504
416
  fontSize: rem(semanticFontSizes.h3.lg),
417
+ letterSpacing: em(letterSpacings.normal, semanticFontSizes.h3.lg),
505
418
  lineHeight: em(lineHeightsAbsolute.h3.lg, semanticFontSizes.h3.lg),
506
419
  },
507
420
  };
508
421
 
422
+ const textH4 = { ...textTitle };
423
+
424
+ const textH5 = { ...textBase };
425
+
509
426
  const textButtonLink = {
510
427
  fontFamily: fonts.sans,
511
428
  fontWeight: fontWeights.medium,
@@ -540,27 +457,27 @@ export const textStyles = (() => {
540
457
  };
541
458
 
542
459
  return {
460
+ textDisplay,
543
461
  textJumbo,
462
+ textHeadline,
544
463
  textH1,
464
+ textHeadlineTwo,
545
465
  textH2,
466
+ textBlockquote,
467
+ textSubheadline,
468
+ textSubhead,
546
469
  textH3,
470
+ textTitle,
547
471
  textH4,
548
472
  textH5,
549
- textSubhead,
550
473
  textBase,
551
474
  textSmall,
475
+ textCaption,
552
476
  textLink,
553
- textPlaceholder,
554
- textBlockquote,
555
- textDisplay,
556
- textHeadline,
557
- textHeadlineTwo,
558
- textSubheadline,
559
- textTitle,
560
477
  textButtonLink,
561
478
  textUpper,
562
479
  textLabel,
563
- textCaption,
480
+ textPlaceholder,
564
481
  };
565
482
  })();
566
483
 
@@ -617,9 +534,16 @@ export const proseOverrides = () => ({
617
534
  h2: false,
618
535
  h3: false,
619
536
  h4: false,
537
+ caption: {
538
+ ...textStyles.textCaption,
539
+ },
620
540
  figcaption: {
621
- fontSize: false,
622
- lineHeight: false,
541
+ // fontSize: false,
542
+ // lineHeight: false,
543
+ ...textStyles.textCaption,
544
+ },
545
+ label: {
546
+ ...textStyles.textLabel,
623
547
  },
624
548
  code: {
625
549
  color: false,
@@ -636,39 +560,47 @@ export const proseOverrides = () => ({
636
560
  marginBottom: rem(space[2]),
637
561
  },
638
562
  blockquote: {
563
+ ...textStyles?.textBlockquote,
639
564
  marginTop: rem(space[2]),
640
565
  marginBottom: rem(space[2]),
641
566
  padding: `0 0 0 ${rem(space['6'])}`,
642
567
  },
643
568
  h1: {
644
- fontSize: false,
645
- letterSpacing: false,
569
+ ...textStyles?.textDisplay,
570
+ // fontSize: false,
571
+ // letterSpacing: false,
646
572
  marginTop: '0',
647
573
  marginBottom: rem(space[2]),
648
574
  color: textBaseColor,
649
575
  },
650
576
  h2: {
651
- fontSize: false,
652
- letterSpacing: false,
577
+ // fontSize: false,
578
+ // letterSpacing: false,
579
+ ...textStyles?.textHeadline,
653
580
  marginTop: rem(space[2]),
654
581
  marginBottom: rem(space[2]),
655
582
  color: textBaseColor,
656
583
  },
657
584
  h3: {
658
- fontSize: false,
659
- letterSpacing: false,
585
+ // fontSize: false,
586
+ // letterSpacing: false,
587
+ ...textStyles?.textHeadlineTwo,
660
588
  marginTop: rem(space[2]),
661
589
  marginBottom: rem(space[2]),
662
590
  color: textBaseColor,
663
591
  },
664
592
  h4: {
665
- letterSpacing: false,
593
+ // fontSize: false,
594
+ // letterSpacing: false,
595
+ ...textStyles?.textSubheadline,
666
596
  marginTop: false,
667
597
  marginBottom: rem(space[2]),
668
598
  color: textBaseColor,
669
599
  },
670
600
  h5: {
671
- letterSpacing: false,
601
+ // fontSize: false,
602
+ // letterSpacing: false,
603
+ ...textStyles?.textTitle,
672
604
  marginTop: false,
673
605
  marginBottom: rem(space[2]),
674
606
  color: textBaseColor,
@@ -215,7 +215,9 @@ export default {
215
215
  fontSize: '0.875em',
216
216
  },
217
217
  blockquote: textStyles.textBlockquote,
218
- 'figure figcaption': textStyles.textBase,
218
+ 'figure figcaption': textStyles.textCaption,
219
+ caption: textStyles.textCaption,
220
+ label: textStyles.textLabel,
219
221
  'button:focus': {
220
222
  outline: 'revert', // undo tailwind button focus styling
221
223
  },
@@ -815,7 +815,7 @@
815
815
  "button": {
816
816
  "button": {
817
817
  "$type": "number",
818
- "$value": 17
818
+ "$value": 16
819
819
  }
820
820
  },
821
821
  "caption": {
@@ -881,7 +881,7 @@
881
881
  "jumbo": {
882
882
  "sm": {
883
883
  "$type": "number",
884
- "$value": 47
884
+ "$value": 52
885
885
  },
886
886
  "md": {
887
887
  "$type": "number",
package/dist/js/tokens.js CHANGED
@@ -156,7 +156,7 @@ export const semanticFontSizeH3Sm = 18;
156
156
  export const semanticFontSizeH3Md = 18;
157
157
  export const semanticFontSizeH3Lg = 20;
158
158
  export const semanticFontSizeBaseBase = 16;
159
- export const semanticFontSizeButtonButton = 17;
159
+ export const semanticFontSizeButtonButton = 16;
160
160
  export const semanticFontSizeCaptionSmall = 14;
161
161
  export const semanticFontSizeLabelSmall = 14;
162
162
  export const semanticFontSizeSmallSmall = 14;
@@ -169,7 +169,7 @@ export const lineHeight150 = 1.5;
169
169
  export const lineHeightNearlyNone = 1.05;
170
170
  export const lineHeightTight = 1.25;
171
171
  export const lineHeightNormal = 1.5;
172
- export const lineHeightAbsoluteJumboSm = 47;
172
+ export const lineHeightAbsoluteJumboSm = 52;
173
173
  export const lineHeightAbsoluteJumboMd = 52;
174
174
  export const lineHeightAbsoluteJumboLg = 57;
175
175
  export const lineHeightAbsoluteH1Sm = 31;
@@ -987,7 +987,7 @@ const tokens = {
987
987
  "base": 16
988
988
  },
989
989
  "button": {
990
- "button": 17
990
+ "button": 16
991
991
  },
992
992
  "caption": {
993
993
  "small": 14
@@ -1014,7 +1014,7 @@ const tokens = {
1014
1014
  },
1015
1015
  "lineHeightsAbsolute": {
1016
1016
  "jumbo": {
1017
- "sm": 47,
1017
+ "sm": 52,
1018
1018
  "md": 52,
1019
1019
  "lg": 57
1020
1020
  },
@@ -602,99 +602,112 @@ button {
602
602
 
603
603
  h1 {
604
604
  font-family: dovetail-mvb, dovetail-mvb-fallback, ui-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Palatino', Georgia, 'Times New Roman', serif;
605
- font-size: 2.25rem;
606
605
  font-weight: 500;
607
- letter-spacing: -0.0125em;
608
- line-height: 1.25;
606
+ font-size: 1.375rem;
607
+ letter-spacing: -0.01em;
608
+ line-height: 1.4090909em;
609
609
  }
610
610
 
611
611
  @media (min-width: 45.875rem) {
612
612
 
613
613
  h1 {
614
- font-size: 2.5rem;
614
+ font-size: 1.375rem;
615
+ letter-spacing: -0.01em;
616
+ line-height: 1.4090909em;
615
617
  }
616
618
  }
617
619
 
618
620
  @media (min-width: 64rem) {
619
621
 
620
622
  h1 {
621
- font-size: 3rem;
623
+ font-size: 1.625rem;
624
+ letter-spacing: -0.02em;
625
+ line-height: 1.3846154em;
622
626
  }
623
627
  }
624
628
 
625
629
  h2 {
626
630
  font-family: dovetail-mvb, dovetail-mvb-fallback, ui-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Palatino', Georgia, 'Times New Roman', serif;
627
- font-size: 1.75rem;
628
631
  font-weight: 500;
629
- letter-spacing: 0em;
630
- line-height: 1.25;
632
+ font-size: 1.25rem;
633
+ letter-spacing: -0.011em;
634
+ line-height: 1.3em;
631
635
  }
632
636
 
633
637
  @media (min-width: 45.875rem) {
634
638
 
635
639
  h2 {
636
- font-size: 1.75rem;
637
- letter-spacing: -0.0107143em;
640
+ font-size: 1.25rem;
641
+ letter-spacing: -0.011em;
642
+ line-height: 1.3em;
638
643
  }
639
644
  }
640
645
 
641
646
  @media (min-width: 64rem) {
642
647
 
643
648
  h2 {
644
- font-size: 2rem;
645
- letter-spacing: -0.009375em;
646
- line-height: 1.05;
649
+ font-size: 1.375rem;
650
+ letter-spacing: -0.0236364em;
651
+ line-height: 1.4090909em;
647
652
  }
648
653
  }
649
654
 
650
655
  h3 {
651
- font-size: 1.375rem;
652
- font-weight: 400;
653
- letter-spacing: -0.0454545em;
654
- line-height: 1.25;
656
+ font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
657
+ font-weight: 300;
658
+ font-size: 1.125rem;
659
+ letter-spacing: 0em;
660
+ line-height: 1.2777778em;
655
661
  }
656
662
 
657
663
  @media (min-width: 45.875rem) {
658
664
 
659
665
  h3 {
660
- font-size: 1.375rem;
666
+ font-size: 1.125rem;
667
+ letter-spacing: 0em;
668
+ line-height: 1.2777778em;
661
669
  }
662
670
  }
663
671
 
664
672
  @media (min-width: 64rem) {
665
673
 
666
674
  h3 {
667
- font-size: 1.5rem;
675
+ font-size: 1.25rem;
676
+ letter-spacing: 0em;
677
+ line-height: 1.3em;
668
678
  }
669
679
  }
670
680
 
671
681
  h4 {
672
- font-size: 0.875rem;
682
+ font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
673
683
  font-weight: 400;
674
- line-height: 1.5;
675
- text-transform: uppercase;
684
+ font-size: 1.125rem;
685
+ letter-spacing: 0em;
686
+ line-height: 1.2777778em;
676
687
  }
677
688
 
678
689
  @media (min-width: 45.875rem) {
679
690
 
680
691
  h4 {
681
- font-size: 0.875rem;
692
+ font-size: 1.125rem;
693
+ letter-spacing: 0em;
694
+ line-height: 1.2777778em;
682
695
  }
683
696
  }
684
697
 
685
698
  @media (min-width: 64rem) {
686
699
 
687
700
  h4 {
688
- font-size: 0.875rem;
701
+ font-size: 1.25rem;
702
+ letter-spacing: 0em;
703
+ line-height: 1.3em;
689
704
  }
690
705
  }
691
706
 
692
707
  h5 {
693
- font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
694
- font-size: 0.875rem;
695
- font-weight: 400;
696
- letter-spacing: 0em;
697
- line-height: 1.05;
708
+ font-weight: 300;
709
+ font-size: 1rem;
710
+ line-height: 1.375em;
698
711
  }
699
712
 
700
713
  small {
@@ -710,31 +723,56 @@ code {
710
723
 
711
724
  blockquote {
712
725
  font-family: dovetail-mvb, dovetail-mvb-fallback, ui-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Palatino', Georgia, 'Times New Roman', serif;
713
- font-size: 1.75rem;
714
- font-style: italic;
715
726
  font-weight: 500;
716
- letter-spacing: -0.0178571em;
717
- line-height: 1.25;
727
+ font-size: 1.25rem;
728
+ letter-spacing: -0.011em;
729
+ line-height: 1.3em;
718
730
  }
719
731
 
720
732
  @media (min-width: 45.875rem) {
721
733
 
722
734
  blockquote {
723
- font-size: 1.75rem;
735
+ font-size: 1.25rem;
736
+ letter-spacing: -0.011em;
737
+ line-height: 1.3em;
724
738
  }
725
739
  }
726
740
 
727
741
  @media (min-width: 64rem) {
728
742
 
729
743
  blockquote {
730
- font-size: 2rem;
744
+ font-size: 1.375rem;
745
+ letter-spacing: -0.0236364em;
746
+ line-height: 1.4090909em;
731
747
  }
732
748
  }
733
749
 
750
+ blockquote {
751
+ font-style: italic;
752
+ }
753
+
734
754
  figure figcaption {
755
+ font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
735
756
  font-weight: 300;
736
- font-size: 1rem;
737
- line-height: 1.375em;
757
+ font-size: 0.875rem;
758
+ letter-spacing: 0em;
759
+ line-height: 1.2857143em;
760
+ }
761
+
762
+ caption {
763
+ font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
764
+ font-weight: 300;
765
+ font-size: 0.875rem;
766
+ letter-spacing: 0em;
767
+ line-height: 1.2857143em;
768
+ }
769
+
770
+ label {
771
+ font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
772
+ font-weight: 500;
773
+ font-size: 0.875rem;
774
+ letter-spacing: 0em;
775
+ line-height: 1.2857143em;
738
776
  }
739
777
 
740
778
  button:focus {
@@ -4387,124 +4425,145 @@ input::placeholder, textarea::placeholder {
4387
4425
  }
4388
4426
  .tw-text-h1 {
4389
4427
  font-family: dovetail-mvb, dovetail-mvb-fallback, ui-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Palatino', Georgia, 'Times New Roman', serif;
4390
- font-size: 2.25rem;
4391
4428
  font-weight: 500;
4392
- letter-spacing: -0.0125em;
4393
- line-height: 1.25;
4429
+ font-size: 1.375rem;
4430
+ letter-spacing: -0.01em;
4431
+ line-height: 1.4090909em;
4394
4432
  }
4395
4433
  @media (min-width: 45.875rem) {
4396
4434
 
4397
4435
  .tw-text-h1 {
4398
- font-size: 2.5rem;
4436
+ font-size: 1.375rem;
4437
+ letter-spacing: -0.01em;
4438
+ line-height: 1.4090909em;
4399
4439
  }
4400
4440
  }
4401
4441
  @media (min-width: 64rem) {
4402
4442
 
4403
4443
  .tw-text-h1 {
4404
- font-size: 3rem;
4444
+ font-size: 1.625rem;
4445
+ letter-spacing: -0.02em;
4446
+ line-height: 1.3846154em;
4405
4447
  }
4406
4448
  }
4407
4449
  .tw-text-h2 {
4408
4450
  font-family: dovetail-mvb, dovetail-mvb-fallback, ui-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Palatino', Georgia, 'Times New Roman', serif;
4409
- font-size: 1.75rem;
4410
4451
  font-weight: 500;
4411
- letter-spacing: 0em;
4412
- line-height: 1.25;
4452
+ font-size: 1.25rem;
4453
+ letter-spacing: -0.011em;
4454
+ line-height: 1.3em;
4413
4455
  }
4414
4456
  @media (min-width: 45.875rem) {
4415
4457
 
4416
4458
  .tw-text-h2 {
4417
- font-size: 1.75rem;
4418
- letter-spacing: -0.0107143em;
4459
+ font-size: 1.25rem;
4460
+ letter-spacing: -0.011em;
4461
+ line-height: 1.3em;
4419
4462
  }
4420
4463
  }
4421
4464
  @media (min-width: 64rem) {
4422
4465
 
4423
4466
  .tw-text-h2 {
4424
- font-size: 2rem;
4425
- letter-spacing: -0.009375em;
4426
- line-height: 1.05;
4467
+ font-size: 1.375rem;
4468
+ letter-spacing: -0.0236364em;
4469
+ line-height: 1.4090909em;
4427
4470
  }
4428
4471
  }
4429
4472
  .tw-text-h3 {
4430
- font-size: 1.375rem;
4431
- font-weight: 400;
4432
- letter-spacing: -0.0454545em;
4433
- line-height: 1.25;
4473
+ font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
4474
+ font-weight: 300;
4475
+ font-size: 1.125rem;
4476
+ letter-spacing: 0em;
4477
+ line-height: 1.2777778em;
4434
4478
  }
4435
4479
  @media (min-width: 45.875rem) {
4436
4480
 
4437
4481
  .tw-text-h3 {
4438
- font-size: 1.375rem;
4482
+ font-size: 1.125rem;
4483
+ letter-spacing: 0em;
4484
+ line-height: 1.2777778em;
4439
4485
  }
4440
4486
  }
4441
4487
  @media (min-width: 64rem) {
4442
4488
 
4443
4489
  .tw-text-h3 {
4444
- font-size: 1.5rem;
4490
+ font-size: 1.25rem;
4491
+ letter-spacing: 0em;
4492
+ line-height: 1.3em;
4445
4493
  }
4446
4494
  }
4447
4495
  .tw-text-h4 {
4448
- font-size: 0.875rem;
4496
+ font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
4449
4497
  font-weight: 400;
4450
- line-height: 1.5;
4451
- text-transform: uppercase;
4498
+ font-size: 1.125rem;
4499
+ letter-spacing: 0em;
4500
+ line-height: 1.2777778em;
4452
4501
  }
4453
4502
  @media (min-width: 45.875rem) {
4454
4503
 
4455
4504
  .tw-text-h4 {
4456
- font-size: 0.875rem;
4505
+ font-size: 1.125rem;
4506
+ letter-spacing: 0em;
4507
+ line-height: 1.2777778em;
4457
4508
  }
4458
4509
  }
4459
4510
  @media (min-width: 64rem) {
4460
4511
 
4461
4512
  .tw-text-h4 {
4462
- font-size: 0.875rem;
4513
+ font-size: 1.25rem;
4514
+ letter-spacing: 0em;
4515
+ line-height: 1.3em;
4463
4516
  }
4464
4517
  }
4465
4518
  .tw-text-h5 {
4466
- font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
4467
- font-size: 0.875rem;
4468
- font-weight: 400;
4469
- letter-spacing: 0em;
4470
- line-height: 1.05;
4519
+ font-weight: 300;
4520
+ font-size: 1rem;
4521
+ line-height: 1.375em;
4471
4522
  }
4472
4523
  .tw-text-subhead {
4473
4524
  font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
4474
- font-size: 1.375rem;
4475
4525
  font-weight: 300;
4526
+ font-size: 1.125rem;
4476
4527
  letter-spacing: 0em;
4477
- line-height: 1.25;
4528
+ line-height: 1.2777778em;
4478
4529
  }
4479
4530
  @media (min-width: 45.875rem) {
4480
4531
 
4481
4532
  .tw-text-subhead {
4482
- font-size: 1.375rem;
4533
+ font-size: 1.125rem;
4534
+ letter-spacing: 0em;
4535
+ line-height: 1.2777778em;
4483
4536
  }
4484
4537
  }
4485
4538
  @media (min-width: 64rem) {
4486
4539
 
4487
4540
  .tw-text-subhead {
4488
- font-size: 1.5rem;
4541
+ font-size: 1.25rem;
4542
+ letter-spacing: 0em;
4543
+ line-height: 1.3em;
4489
4544
  }
4490
4545
  }
4491
4546
  .tw-text-jumbo {
4492
4547
  font-family: dovetail-mvb, dovetail-mvb-fallback, ui-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Palatino', Georgia, 'Times New Roman', serif;
4493
4548
  font-weight: 500;
4494
- font-size: 2.625rem;
4495
- letter-spacing: -1px;
4496
- line-height: 1.25;
4549
+ font-size: 2.25rem;
4550
+ letter-spacing: -0.02em;
4551
+ line-height: 1.4444444em;
4497
4552
  }
4498
4553
  @media (min-width: 45.875rem) {
4499
4554
 
4500
4555
  .tw-text-jumbo {
4501
- font-size: 3rem;
4556
+ font-size: 2.5rem;
4557
+ letter-spacing: -0.02em;
4558
+ line-height: 1.3em;
4502
4559
  }
4503
4560
  }
4504
4561
  @media (min-width: 64rem) {
4505
4562
 
4506
4563
  .tw-text-jumbo {
4507
- font-size: 4.5rem;
4564
+ font-size: 2.75rem;
4565
+ letter-spacing: -0.02em;
4566
+ line-height: 1.2954545em;
4508
4567
  }
4509
4568
  }
4510
4569
  .tw-text-small {
@@ -4523,30 +4582,36 @@ input::placeholder, textarea::placeholder {
4523
4582
  }
4524
4583
  .tw-text-blockquote {
4525
4584
  font-family: dovetail-mvb, dovetail-mvb-fallback, ui-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Palatino', Georgia, 'Times New Roman', serif;
4526
- font-size: 1.75rem;
4527
- font-style: italic;
4528
4585
  font-weight: 500;
4529
- letter-spacing: -0.0178571em;
4530
- line-height: 1.25;
4586
+ font-size: 1.25rem;
4587
+ letter-spacing: -0.011em;
4588
+ line-height: 1.3em;
4531
4589
  }
4532
4590
  @media (min-width: 45.875rem) {
4533
4591
 
4534
4592
  .tw-text-blockquote {
4535
- font-size: 1.75rem;
4593
+ font-size: 1.25rem;
4594
+ letter-spacing: -0.011em;
4595
+ line-height: 1.3em;
4536
4596
  }
4537
4597
  }
4538
4598
  @media (min-width: 64rem) {
4539
4599
 
4540
4600
  .tw-text-blockquote {
4541
- font-size: 2rem;
4601
+ font-size: 1.375rem;
4602
+ letter-spacing: -0.0236364em;
4603
+ line-height: 1.4090909em;
4542
4604
  }
4543
4605
  }
4606
+ .tw-text-blockquote {
4607
+ font-style: italic;
4608
+ }
4544
4609
  .tw-text-display {
4545
4610
  font-family: dovetail-mvb, dovetail-mvb-fallback, ui-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Palatino', Georgia, 'Times New Roman', serif;
4546
4611
  font-weight: 500;
4547
4612
  font-size: 2.25rem;
4548
4613
  letter-spacing: -0.02em;
4549
- line-height: 1.3055556em;
4614
+ line-height: 1.4444444em;
4550
4615
  }
4551
4616
  @media (min-width: 45.875rem) {
4552
4617
 
@@ -4576,6 +4641,7 @@ input::placeholder, textarea::placeholder {
4576
4641
  .tw-text-headline {
4577
4642
  font-size: 1.375rem;
4578
4643
  letter-spacing: -0.01em;
4644
+ line-height: 1.4090909em;
4579
4645
  }
4580
4646
  }
4581
4647
  @media (min-width: 64rem) {
@@ -4598,6 +4664,7 @@ input::placeholder, textarea::placeholder {
4598
4664
  .tw-text-headline-two {
4599
4665
  font-size: 1.25rem;
4600
4666
  letter-spacing: -0.011em;
4667
+ line-height: 1.3em;
4601
4668
  }
4602
4669
  }
4603
4670
  @media (min-width: 64rem) {
@@ -4619,12 +4686,15 @@ input::placeholder, textarea::placeholder {
4619
4686
 
4620
4687
  .tw-text-subheadline {
4621
4688
  font-size: 1.125rem;
4689
+ letter-spacing: 0em;
4690
+ line-height: 1.2777778em;
4622
4691
  }
4623
4692
  }
4624
4693
  @media (min-width: 64rem) {
4625
4694
 
4626
4695
  .tw-text-subheadline {
4627
4696
  font-size: 1.25rem;
4697
+ letter-spacing: 0em;
4628
4698
  line-height: 1.3em;
4629
4699
  }
4630
4700
  }
@@ -4639,21 +4709,24 @@ input::placeholder, textarea::placeholder {
4639
4709
 
4640
4710
  .tw-text-title {
4641
4711
  font-size: 1.125rem;
4712
+ letter-spacing: 0em;
4713
+ line-height: 1.2777778em;
4642
4714
  }
4643
4715
  }
4644
4716
  @media (min-width: 64rem) {
4645
4717
 
4646
4718
  .tw-text-title {
4647
4719
  font-size: 1.25rem;
4720
+ letter-spacing: 0em;
4648
4721
  line-height: 1.3em;
4649
4722
  }
4650
4723
  }
4651
4724
  .tw-text-button-link {
4652
4725
  font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
4653
4726
  font-weight: 500;
4654
- font-size: 1.0625rem;
4727
+ font-size: 1rem;
4655
4728
  letter-spacing: 0em;
4656
- line-height: 1.2352941em;
4729
+ line-height: 1.3125em;
4657
4730
  }
4658
4731
  .tw-text-upper {
4659
4732
  font-family: PostGrotesk, PostGrotesk-fallback, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
@@ -157,7 +157,7 @@ $semantic-font-size-h3-sm: 18;
157
157
  $semantic-font-size-h3-md: 18;
158
158
  $semantic-font-size-h3-lg: 20;
159
159
  $semantic-font-size-base-base: 16;
160
- $semantic-font-size-button-button: 17;
160
+ $semantic-font-size-button-button: 16;
161
161
  $semantic-font-size-caption-small: 14;
162
162
  $semantic-font-size-label-small: 14;
163
163
  $semantic-font-size-small-small: 14;
@@ -170,7 +170,7 @@ $line-height-150: 1.5;
170
170
  $line-height-nearly-none: 1.05;
171
171
  $line-height-tight: 1.25;
172
172
  $line-height-normal: 1.5;
173
- $line-height-absolute-jumbo-sm: 47;
173
+ $line-height-absolute-jumbo-sm: 52;
174
174
  $line-height-absolute-jumbo-md: 52;
175
175
  $line-height-absolute-jumbo-lg: 57;
176
176
  $line-height-absolute-h1-sm: 31;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-tokens",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -53,5 +53,5 @@
53
53
  "style-dictionary": "^4.4.0",
54
54
  "yaml": "^2.9.0"
55
55
  },
56
- "gitHead": "3286625d2cdc74397aeb3902a6dcce330f070071"
56
+ "gitHead": "6fad820afe2272680d29a77c0767fa8681419628"
57
57
  }
@@ -25,7 +25,7 @@
25
25
  "h2": { "sm": { "$type": "number", "$value": 20 }, "md": { "$type": "number", "$value": 20 }, "lg": { "$type": "number", "$value": 22 } },
26
26
  "h3": { "sm": { "$type": "number", "$value": 18 }, "md": { "$type": "number", "$value": 18 }, "lg": { "$type": "number", "$value": 20 } },
27
27
  "base": { "base": { "$type": "number", "$value": 16 } },
28
- "button": { "button": { "$type": "number", "$value": 17 } },
28
+ "button": { "button": { "$type": "number", "$value": 16 } },
29
29
  "caption": { "small": { "$type": "number", "$value": 14 } },
30
30
  "label": { "small": { "$type": "number", "$value": 14 } },
31
31
  "small": { "small": { "$type": "number", "$value": 14 } },
@@ -42,7 +42,7 @@
42
42
  "150": { "$type": "number", "$value": 1.5 }
43
43
  },
44
44
  "line-height-absolute": {
45
- "jumbo": { "sm": { "$type": "number", "$value": 47 }, "md": { "$type": "number", "$value": 52 }, "lg": { "$type": "number", "$value": 57 } },
45
+ "jumbo": { "sm": { "$type": "number", "$value": 52 }, "md": { "$type": "number", "$value": 52 }, "lg": { "$type": "number", "$value": 57 } },
46
46
  "h1": { "sm": { "$type": "number", "$value": 31 }, "md": { "$type": "number", "$value": 31 }, "lg": { "$type": "number", "$value": 36 } },
47
47
  "h2": { "sm": { "$type": "number", "$value": 26 }, "md": { "$type": "number", "$value": 26 }, "lg": { "$type": "number", "$value": 31 } },
48
48
  "h3": { "sm": { "$type": "number", "$value": 23 }, "md": { "$type": "number", "$value": 23 }, "lg": { "$type": "number", "$value": 26 } },