Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit 262f7e6

Browse files
Adding deprecated tags
1 parent 3430244 commit 262f7e6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/Typography.stories.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,10 @@ export const SmallScreen: ComponentStory<typeof Text> = (...args) => {
135135
<Text as="h4" style={styles.headingSMRegular} {...args}>
136136
{`S HeadingSM Regular ${styles.headingSMRegular.fontSize}px/${
137137
styles.headingSMRegular.lineHeight
138-
} ${styles.headingSMRegular.fontSize / smallScreenFontSizeBase}rem`}
138+
} ${
139+
styles.headingSMRegular.fontSize / smallScreenFontSizeBase
140+
}rem`}{' '}
141+
<span style={{ color: 'var(--color-error-default)' }}>DEPRECATED</span>
139142
</Text>
140143
<Text as="h4" style={styles.bodyLGMedium} {...args}>
141144
{`S BodyLG Medium ${styles.bodyLGMedium.fontSize}px/${
@@ -267,7 +270,10 @@ export const LargeScreen: ComponentStory<typeof Text> = (...args) => {
267270
<Text as="h4" style={styles.headingSMRegular} {...args}>
268271
{`L HeadingSM Regular ${styles.headingSMRegular.fontSize}px/${
269272
styles.headingSMRegular.lineHeight
270-
} ${styles.headingSMRegular.fontSize / largeScreenFontSizeBase}rem`}
273+
} ${
274+
styles.headingSMRegular.fontSize / largeScreenFontSizeBase
275+
}rem`}{' '}
276+
<span style={{ color: 'var(--color-error-default)' }}>DEPRECATED</span>
271277
</Text>
272278
<Text as="h4" style={styles.bodyLGMedium} {...args}>
273279
{`L BodyLG Medium ${styles.bodyLGMedium.fontSize}px/${

0 commit comments

Comments
 (0)