@carbon/type 10.43.2 → 10.45.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.
- package/es/index.js +44 -23
- package/lib/index.js +44 -23
- package/package.json +4 -4
- package/scss/_inlined/_styles.scss +16 -16
- package/scss/_inlined/font-face/_mono.scss +914 -178
- package/scss/_inlined/font-face/_sans-condensed.scss +866 -159
- package/scss/_inlined/font-face/_sans.scss +1033 -204
- package/scss/_inlined/font-face/_serif.scss +914 -178
- package/scss/_styles.scss +16 -16
- package/scss/font-face/_mono.scss +914 -178
- package/scss/font-face/_sans-condensed.scss +866 -159
- package/scss/font-face/_sans.scss +1033 -204
- package/scss/font-face/_serif.scss +914 -178
- package/src/__tests__/__snapshots__/styles-test.js.snap +6 -6
- package/src/__tests__/fluid-test.js +4 -5
- package/src/scale.js +25 -23
- package/src/styles.js +16 -19
- package/umd/index.js +44 -23
package/scss/_styles.scss
CHANGED
|
@@ -276,7 +276,7 @@ $heading-04: $productive-heading-04 !default;
|
|
|
276
276
|
/// @group @carbon/type
|
|
277
277
|
$productive-heading-05: (
|
|
278
278
|
font-size: carbon--type-scale(8),
|
|
279
|
-
font-weight: carbon--font-weight('
|
|
279
|
+
font-weight: carbon--font-weight('light'),
|
|
280
280
|
line-height: 1.25,
|
|
281
281
|
letter-spacing: 0,
|
|
282
282
|
) !default;
|
|
@@ -364,9 +364,11 @@ $expressive-heading-04: (
|
|
|
364
364
|
xlg: (
|
|
365
365
|
font-size: carbon--type-scale(7),
|
|
366
366
|
line-height: 1.25,
|
|
367
|
+
font-weight: carbon--font-weight('light'),
|
|
367
368
|
),
|
|
368
369
|
max: (
|
|
369
370
|
font-size: carbon--type-scale(8),
|
|
371
|
+
font-weight: carbon--font-weight('light'),
|
|
370
372
|
),
|
|
371
373
|
),
|
|
372
374
|
) !default;
|
|
@@ -381,13 +383,12 @@ $fluid-heading-04: $expressive-heading-04 !default;
|
|
|
381
383
|
/// @group @carbon/type
|
|
382
384
|
$expressive-heading-05: (
|
|
383
385
|
font-size: carbon--type-scale(8),
|
|
384
|
-
font-weight: carbon--font-weight('
|
|
386
|
+
font-weight: carbon--font-weight('light'),
|
|
385
387
|
line-height: 1.25,
|
|
386
388
|
letter-spacing: 0,
|
|
387
389
|
breakpoints: (
|
|
388
390
|
md: (
|
|
389
391
|
font-size: carbon--type-scale(9),
|
|
390
|
-
font-weight: carbon--font-weight('light'),
|
|
391
392
|
line-height: 1.22,
|
|
392
393
|
),
|
|
393
394
|
lg: (
|
|
@@ -604,22 +605,22 @@ $display-03: (
|
|
|
604
605
|
letter-spacing: 0,
|
|
605
606
|
breakpoints: (
|
|
606
607
|
md: (
|
|
607
|
-
font-size: carbon--type-scale(
|
|
608
|
-
line-height: 1.
|
|
608
|
+
font-size: carbon--type-scale(12),
|
|
609
|
+
line-height: 1.18,
|
|
609
610
|
),
|
|
610
611
|
lg: (
|
|
611
|
-
font-size: carbon--type-scale(
|
|
612
|
-
line-height: 1.
|
|
612
|
+
font-size: carbon--type-scale(13),
|
|
613
|
+
line-height: 1.16,
|
|
613
614
|
letter-spacing: -0.64px,
|
|
614
615
|
),
|
|
615
616
|
xlg: (
|
|
616
|
-
font-size: carbon--type-scale(
|
|
617
|
-
line-height: 1.
|
|
617
|
+
font-size: carbon--type-scale(15),
|
|
618
|
+
line-height: 1.13,
|
|
618
619
|
letter-spacing: -0.64px,
|
|
619
620
|
),
|
|
620
621
|
max: (
|
|
621
|
-
font-size: carbon--type-scale(
|
|
622
|
-
line-height: 1.
|
|
622
|
+
font-size: carbon--type-scale(16),
|
|
623
|
+
line-height: 1.11,
|
|
623
624
|
letter-spacing: -0.96px,
|
|
624
625
|
),
|
|
625
626
|
),
|
|
@@ -635,23 +636,22 @@ $fluid-display-03: $display-03 !default;
|
|
|
635
636
|
/// @group @carbon/type
|
|
636
637
|
$display-04: (
|
|
637
638
|
font-size: carbon--type-scale(10),
|
|
638
|
-
font-weight: carbon--font-weight('
|
|
639
|
+
font-weight: carbon--font-weight('light'),
|
|
639
640
|
line-height: 1.19,
|
|
640
641
|
letter-spacing: 0,
|
|
641
642
|
breakpoints: (
|
|
642
643
|
md: (
|
|
643
644
|
font-size: carbon--type-scale(14),
|
|
644
|
-
line-height: 1.
|
|
645
|
+
line-height: 1.14,
|
|
645
646
|
),
|
|
646
647
|
lg: (
|
|
647
648
|
font-size: carbon--type-scale(17),
|
|
648
|
-
line-height: 1.
|
|
649
|
+
line-height: 1.1,
|
|
649
650
|
letter-spacing: -0.64px,
|
|
650
651
|
),
|
|
651
652
|
xlg: (
|
|
652
653
|
font-size: carbon--type-scale(20),
|
|
653
|
-
line-height: 1.
|
|
654
|
-
letter-spacing: -0.64px,
|
|
654
|
+
line-height: 1.06,
|
|
655
655
|
),
|
|
656
656
|
max: (
|
|
657
657
|
font-size: carbon--type-scale(23),
|