We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ff839c commit 1b145bbCopy full SHA for 1b145bb
showcase/app/components/page-carbonization/foundations/typography.gts
@@ -13,7 +13,12 @@ import ShwCarbonizationComparisonGrid from 'showcase/components/shw/carbonizatio
13
14
import { STYLES_COMBINATIONS } from 'showcase/components/page-foundations/typography/sub-sections/styles';
15
16
-const HDS_CARBON_STYLES_MAPPING = {
+type StyleMapping = {
17
+ mapsTo: string;
18
+ weights: Record<string, string>;
19
+};
20
+
21
+const HDS_CARBON_STYLES_MAPPING: Record<string, StyleMapping> = {
22
'display-500': { mapsTo: 'heading-05', weights: { bold: 'semibold' } },
23
'display-400': {
24
mapsTo: 'heading-04',
0 commit comments