Skip to content

Commit

Permalink
Prettified Code!
Browse files Browse the repository at this point in the history
  • Loading branch information
mkue authored and actions-user committed Jul 12, 2023
1 parent 3f39217 commit 9b84450
Showing 1 changed file with 52 additions and 50 deletions.
102 changes: 52 additions & 50 deletions ui/src/foundations/typography.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DocTypographyList } from '../lib';
import { Typography } from '../index';
import { Meta } from '@storybook/addon-docs';
import '../globals.css'
import '../globals.css';

<Meta title="Foundations/Typography" />

Expand All @@ -20,54 +20,56 @@ There is a React component to utilize the typography stack, see
**Weights:** 400(regular), 500(medium), 700(bold)

<div>
<Typography size='4xl'>Hello</Typography>
<Typography size="4xl">Hello</Typography>
</div>

<DocTypographyList items={[
{
size: '5xl',
title: 'Extra Large 5',
children: <Typography size="5xl">Extra large 5</Typography>,
},
{
size: '4xl',
title: 'Extra Large 4',
children: <Typography size="4xl">4xl</Typography>,
},
{
size: '3xl',
title: 'Extra Large 3',
children: <Typography size="3xl">3xl</Typography>,
},
{
size: '2xl',
title: 'Extra Large 2',
children: <Typography size="2xl">2xl</Typography>,
},
{
size: 'xl',
title: 'Extra Large',
children: <Typography size="xl">xl</Typography>,
},
{
size: 'lg',
title: 'Large',
children: <Typography size="lg">lg</Typography>,
},
{
size: 'base',
title: 'Base',
description: 'Default size for body text',
children: <Typography size="base">base</Typography>,
},
{
size: 'sm',
title: 'Small',
children: <Typography size="sm">sm</Typography>,
},
{
size: 'xs',
title: 'Extra Small',
children: <Typography size="xs">xs</Typography>,
},
]} />
<DocTypographyList
items={[
{
size: '5xl',
title: 'Extra Large 5',
children: <Typography size="5xl">Extra large 5</Typography>,
},
{
size: '4xl',
title: 'Extra Large 4',
children: <Typography size="4xl">4xl</Typography>,
},
{
size: '3xl',
title: 'Extra Large 3',
children: <Typography size="3xl">3xl</Typography>,
},
{
size: '2xl',
title: 'Extra Large 2',
children: <Typography size="2xl">2xl</Typography>,
},
{
size: 'xl',
title: 'Extra Large',
children: <Typography size="xl">xl</Typography>,
},
{
size: 'lg',
title: 'Large',
children: <Typography size="lg">lg</Typography>,
},
{
size: 'base',
title: 'Base',
description: 'Default size for body text',
children: <Typography size="base">base</Typography>,
},
{
size: 'sm',
title: 'Small',
children: <Typography size="sm">sm</Typography>,
},
{
size: 'xs',
title: 'Extra Small',
children: <Typography size="xs">xs</Typography>,
},
]}
/>

0 comments on commit 9b84450

Please sign in to comment.