Skip to content

Commit

Permalink
readme updated - fonts section
Browse files Browse the repository at this point in the history
  • Loading branch information
Fborges28 committed Jul 25, 2021
1 parent 9e7ba02 commit f3925d0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,22 @@ Sample usage of button component.
<Button label="Label" type="primary" />
```

#### 3) Import DS default fonts

In your index.html, in the <head> tag, import:

```
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Lusitana:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
```

## Quick start - NextJS

Our library can be consumed in your NextJS app. Follow the instructions below:
Expand All @@ -95,4 +111,20 @@ Then:

```
<DynamicButton label="Label" type="primary" />
```

#### 3) Import DS default fonts

In your index.html, in the <head> tag, import:

```
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Lusitana:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
```

0 comments on commit f3925d0

Please sign in to comment.