diff --git a/packages/ui/src/stories/foundation/typography.stories.tsx b/packages/ui/src/stories/foundation/typography.stories.tsx index 841b64642..470be07e9 100644 --- a/packages/ui/src/stories/foundation/typography.stories.tsx +++ b/packages/ui/src/stories/foundation/typography.stories.tsx @@ -149,3 +149,39 @@ export const LineHeight = () => { ); }; + +/** + * Fonts weight + */ +export const FontWeight = () => { + const fontWeight = [ + { className: 'font-light', weight: '300' }, + { className: 'font-normal', weight: '400' }, + { className: 'font-medium', weight: '500' }, + { className: 'font-semibold', weight: '600' }, + { className: 'font-bold', weight: '700' }, + ]; + return ( + + Font Weight + + + Token + Font weight + Tailwind class + + + + {fontWeight.map(i => ( + + + {i.className.replace('font-', '')} + + {i.weight} + {i.className} + + ))} + +
+ ); +};