Skip to content

Commit

Permalink
docs: repair Text.md
Browse files Browse the repository at this point in the history
docs: repair Text.md
  • Loading branch information
Maxim Pismenskiy authored and Sergey Yuferev committed Apr 22, 2019
1 parent c6b0320 commit 4ddd90a
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions packages/desktop/src/typography/Text.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,50 @@
## Paragraph L
## L

```css static
font-family: Museo Sans
font-size: 20px
line-height: 32px
font-weight: 300
```

```jsx
<Spacer size="m">
<Paragraph size="l">Paragraph L Black</Paragraph>
<Paragraph size="l" color="support">Paragraph 20px Gray</Paragraph>
<Paragraph size="l">Paragraph L <Text bold>Dark 500</Text></Paragraph>
<Paragraph size="l">Paragraph L <Text bold><Text color="failure">Error</Text> 500</Text></Paragraph>
<Paragraph size="l">Paragraph L <Text color="success">Success</Text> 300</Paragraph>
<Paragraph size="l" color="support">Paragraph L <Text color="warning">Warning</Text> 300</Paragraph>
</Spacer>
```

## Paragraph M
## M

```css static
font-family: Museo Sans
font-size: 16px
line-height: 24px
font-weight: 300
```

```jsx
<Spacer size="m">
<Paragraph size="m">Paragraph M Black</Paragraph>
<Paragraph size="m" color="support">Paragraph M Gray</Paragraph>
<Paragraph size="m">Paragraph M <Text bold>Dark 500</Text></Paragraph>
<Paragraph size="m">Paragraph M <Text bold><Text color="failure">Error</Text> 500</Text></Paragraph>
<Paragraph size="m">Paragraph M <Text color="success">Success</Text> 300</Paragraph>
<Paragraph size="m" color="support">Paragraph M <Text color="warning">Warning</Text> 300</Paragraph>
</Spacer>
```

## Paragraph S
## S

```css static
font-family: Museo Sans
font-size: 14px
line-height: 20px
font-weight: 300
```

```jsx
<Spacer size="m">
<Paragraph size="s">Paragraph S Black</Paragraph>
<Paragraph size="s" color="support">Paragraph S Gray</Paragraph>
<Paragraph size="s">Paragraph S <Text bold>Dark 500</Text></Paragraph>
<Paragraph size="s">Paragraph S <Text bold><Text color="failure">Error</Text> 500</Text></Paragraph>
<Paragraph size="s">Paragraph S <Text color="success">Success</Text> 300</Paragraph>
<Paragraph size="s" color="support">Paragraph S <Text color="warning">Warning</Text> 300</Paragraph>
</Spacer>
```

0 comments on commit 4ddd90a

Please sign in to comment.