Skip to content

Commit 39c596d

Browse files
authored
fix(type): fix heading type styles based on guidance and design kit (#12037)
* fix(type): fix heading type styles based on guidance and design kit * chore: update type style test snapshot
1 parent 0454a87 commit 39c596d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/styles/scss/__tests__/__snapshots__/type-test.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ Object {
19611961
Object {
19621962
"position": Position {
19631963
"end": Object {
1964-
"column": 62,
1964+
"column": 66,
19651965
"line": 182,
19661966
},
19671967
"source": undefined,
@@ -1972,7 +1972,7 @@ Object {
19721972
},
19731973
"property": "font-size",
19741974
"type": "declaration",
1975-
"value": "var(--cds-productive-heading-06-font-size, 2rem)",
1975+
"value": "var(--cds-productive-heading-06-font-size, 2.625rem)",
19761976
},
19771977
Object {
19781978
"position": Position {
@@ -2055,7 +2055,7 @@ Object {
20552055
},
20562056
"property": "font-size",
20572057
"type": "declaration",
2058-
"value": "var(--cds-productive-heading-07-font-size, 2.625rem)",
2058+
"value": "var(--cds-productive-heading-07-font-size, 3.375rem)",
20592059
},
20602060
Object {
20612061
"position": Position {
@@ -7617,7 +7617,7 @@ Object {
76177617
Object {
76187618
"position": Position {
76197619
"end": Object {
7620-
"column": 51,
7620+
"column": 55,
76217621
"line": 756,
76227622
},
76237623
"source": undefined,
@@ -7628,7 +7628,7 @@ Object {
76287628
},
76297629
"property": "font-size",
76307630
"type": "declaration",
7631-
"value": "var(--cds-heading-06-font-size, 2rem)",
7631+
"value": "var(--cds-heading-06-font-size, 2.625rem)",
76327632
},
76337633
Object {
76347634
"position": Position {
@@ -7711,7 +7711,7 @@ Object {
77117711
},
77127712
"property": "font-size",
77137713
"type": "declaration",
7714-
"value": "var(--cds-heading-07-font-size, 2.625rem)",
7714+
"value": "var(--cds-heading-07-font-size, 3.375rem)",
77157715
},
77167716
Object {
77177717
"position": Position {

packages/type/scss/_styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ $heading-05: $productive-heading-05 !default;
257257
/// @access public
258258
/// @group @carbon/type
259259
$productive-heading-06: (
260-
font-size: scale.type-scale(8),
260+
font-size: scale.type-scale(10),
261261
font-weight: font-family.font-weight('light'),
262262
// Extra digit needed for precision in Chrome
263263
line-height: 1.199,
@@ -273,7 +273,7 @@ $heading-06: $productive-heading-06 !default;
273273
/// @access public
274274
/// @group @carbon/type
275275
$productive-heading-07: (
276-
font-size: scale.type-scale(10),
276+
font-size: scale.type-scale(12),
277277
font-weight: font-family.font-weight('light'),
278278
line-height: 1.19,
279279
letter-spacing: 0,

0 commit comments

Comments
 (0)