Skip to content

Commit

Permalink
🎨 Add Usage
Browse files Browse the repository at this point in the history
  • Loading branch information
martalalik committed Aug 16, 2022
1 parent d32567a commit 29c908d
Showing 1 changed file with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Typography } from '.'

# Typography

Presents hierarchy and organises information as clearly and efficiently as possible.
Presents hierarchy and organises information as clearly and efficiently as possible, <br />
therefore text sizes and styles were developed to balance content density and reading comfort.

<Links
figmaUrl="https://www.figma.com/file/0TbIXrrObWj80Cf7KucKYFL0/Design-Tokens?node-id=2%3A4"
Expand All @@ -17,4 +18,31 @@ Presents hierarchy and organises information as clearly and efficiently as possi

## Usage

**Typeface**

The `Equinor` typeface is the primary typeface and is available in four weights:

<ul>
<li><code>light</code>,</li>
<li><code>regular</code>,</li>
<li><code>medium</code>,</li>
<li><code>bold</code>,</li>
<li>with accompanying <code>italics</code>.</li>
</ul>

Please do not use <code>light</code> in digital interfaces except in special cases where the font size is over <code>48px</code>.

**Paragraph**

<ul>
<li>Paragraph length is the number of characters in a line of text, this includes spaces.</li>
<li>To ensure readability, line length should be 55-80 characters.</li>
</ul>

```tsx
import { Typography } from '@equinor/eds-core-react'

<Typography>Sample text</Typography>
```

## Examples

0 comments on commit 29c908d

Please sign in to comment.