Skip to content

Commit 9e741b3

Browse files
committed
updated a couple of typographic mappings
1 parent 1b145bb commit 9e741b3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

showcase/app/components/page-carbonization/foundations/typography.gts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ const HDS_CARBON_STYLES_MAPPING: Record<string, StyleMapping> = {
3535
weights: { regular: 'regular', medium: 'regular', semibold: 'semibold' },
3636
},
3737
'body-200': {
38-
mapsTo: 'body-02',
38+
mapsTo: 'body-01',
3939
weights: { regular: 'regular', medium: 'regular', semibold: 'semibold' },
4040
},
4141
'body-100': {
42-
mapsTo: 'body-01',
42+
mapsTo: 'body-compact-01',
4343
weights: { regular: 'regular', medium: 'regular', semibold: 'semibold' },
4444
},
4545
'code-300': {

showcase/app/styles/showcase-pages/carbonization/typography.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ $styles-maps: (
1616
'heading-03': cdsType.$heading-03,
1717
'heading-02': cdsType.$heading-02,
1818
'heading-01': cdsType.$heading-01,
19+
'heading-compact-02': cdsType.$heading-compact-02,
20+
'heading-compact-01': cdsType.$heading-compact-01,
1921
'body-02': cdsType.$body-02,
2022
'body-01': cdsType.$body-01,
23+
'body-compact-02': cdsType.$body-compact-02,
24+
'body-compact-01': cdsType.$body-compact-01,
2125
'code-02': cdsType.$code-02,
2226
'code-01': cdsType.$code-01,
2327
);

0 commit comments

Comments
 (0)