diff --git a/docs/Typography.stories.tsx b/docs/Typography.stories.tsx index 7c029d9d..c4244289 100644 --- a/docs/Typography.stories.tsx +++ b/docs/Typography.stories.tsx @@ -22,7 +22,7 @@ export default { export const FontFamily: ComponentStory = (...args) => { const styles = { - DisplayMD: { + displayMD: { fontFamily: fontFamilies.euclidCircularB, fontSize: fontSizes.fontSize7, lineHeight: `${lineHeights.lineHeight6}px`, @@ -32,7 +32,7 @@ export const FontFamily: ComponentStory = (...args) => { }; return ( <> - + Euclid Circular B @@ -42,19 +42,19 @@ export const FontFamily: ComponentStory = (...args) => { export const SmallScreen: ComponentStory = (...args) => { const smallScreenFontSizeBase = 16; const styles = { - DisplayMD: { + displayMD: { fontFamily: typography.sDisplayMD.fontFamily, fontSize: typography.sDisplayMD.fontSize, lineHeight: `${typography.sDisplayMD.lineHeight}px`, fontWeight: typography.sDisplayMD.fontWeight, }, - HeadingLG: { + headingLG: { fontFamily: typography.sHeadingLG.fontFamily, fontSize: typography.sHeadingLG.fontSize, lineHeight: `${typography.sHeadingLG.lineHeight}px`, fontWeight: typography.sHeadingLG.fontWeight, }, - HeadingMD: { + headingMD: { fontFamily: typography.sHeadingMD.fontFamily, fontSize: typography.sHeadingMD.fontSize, lineHeight: `${typography.sHeadingMD.lineHeight}px`, @@ -106,20 +106,20 @@ export const SmallScreen: ComponentStory = (...args) => { }; return ( <> - - {`S DisplayMD ${styles.DisplayMD.fontSize}px/${ - styles.DisplayMD.lineHeight - } ${styles.DisplayMD.fontSize / smallScreenFontSizeBase}rem`} + + {`S DisplayMD ${styles.displayMD.fontSize}px/${ + styles.displayMD.lineHeight + } ${styles.displayMD.fontSize / smallScreenFontSizeBase}rem`} - - {`S HeadingLG ${styles.HeadingLG.fontSize}px/${ - styles.HeadingLG.lineHeight - } ${styles.HeadingLG.fontSize / smallScreenFontSizeBase}rem`} + + {`S HeadingLG ${styles.headingLG.fontSize}px/${ + styles.headingLG.lineHeight + } ${styles.headingLG.fontSize / smallScreenFontSizeBase}rem`} - - {`S HeadingMD ${styles.HeadingMD.fontSize}px/${ - styles.HeadingMD.lineHeight - } ${styles.HeadingMD.fontSize / smallScreenFontSizeBase}rem`} + + {`S HeadingMD ${styles.headingMD.fontSize}px/${ + styles.headingMD.lineHeight + } ${styles.headingMD.fontSize / smallScreenFontSizeBase}rem`} {`S HeadingSM ${styles.headingSM.fontSize}px/${ @@ -163,19 +163,19 @@ export const SmallScreen: ComponentStory = (...args) => { export const LargeScreen: ComponentStory = (...args) => { const largeScreenFontSizeBase = 16; const styles = { - DisplayMD: { + displayMD: { fontFamily: typography.lDisplayMD.fontFamily, fontSize: typography.lDisplayMD.fontSize, lineHeight: `${typography.lDisplayMD.lineHeight}px`, fontWeight: typography.lDisplayMD.fontWeight, }, - HeadingLG: { + headingLG: { fontFamily: typography.lHeadingLG.fontFamily, fontSize: typography.lHeadingLG.fontSize, lineHeight: `${typography.lHeadingLG.lineHeight}px`, fontWeight: typography.lHeadingLG.fontWeight, }, - HeadingMD: { + headingMD: { fontFamily: typography.lHeadingMD.fontFamily, fontSize: typography.lHeadingMD.fontSize, lineHeight: `${typography.lHeadingMD.lineHeight}px`, @@ -227,20 +227,20 @@ export const LargeScreen: ComponentStory = (...args) => { }; return ( <> - - {`L DisplayMD ${styles.DisplayMD.fontSize}px/${ - styles.DisplayMD.lineHeight - } ${styles.DisplayMD.fontSize / largeScreenFontSizeBase}rem`} + + {`L DisplayMD ${styles.displayMD.fontSize}px/${ + styles.displayMD.lineHeight + } ${styles.displayMD.fontSize / largeScreenFontSizeBase}rem`} - - {`L HeadingLG ${styles.HeadingLG.fontSize}px/${ - styles.HeadingLG.lineHeight - } ${styles.HeadingLG.fontSize / largeScreenFontSizeBase}rem`} + + {`L HeadingLG ${styles.headingLG.fontSize}px/${ + styles.headingLG.lineHeight + } ${styles.headingLG.fontSize / largeScreenFontSizeBase}rem`} - - {`L HeadingMD ${styles.HeadingMD.fontSize}px/${ - styles.HeadingMD.lineHeight - } ${styles.HeadingMD.fontSize / largeScreenFontSizeBase}rem`} + + {`L HeadingMD ${styles.headingMD.fontSize}px/${ + styles.headingMD.lineHeight + } ${styles.headingMD.fontSize / largeScreenFontSizeBase}rem`} {`L HeadingSM ${styles.headingSM.fontSize}px/${