Skip to content

Commit

Permalink
Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
thelevicole committed Oct 14, 2020
1 parent d9ee631 commit 238c75d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ There are 4 returnable values for this field which include:
| Selected font variants | Returns an array of selected font variants (if enabled) | `['regular', 'italic', '400']` |
| Selected font subsets | Returns an array of selected font subsets (if enabled) | `['latin', 'latin-ext', 'greek']` |
| CSS import url | A full url for the selected family, variants and subsets for including in CSS. | `https://fonts.googleapis.com/css?family=Mulish:300,500,200italic,300italic&display=swap` |
| All (Array) | An array including all of the above. | `['family' => 'Open Sans', 'variants' => ['regular', 'italic', '400'], 'subsets' => ['latin', 'latin-ext', 'greek']]` |

| All (Array) | An array including all of the above. | ***see below** |

```php
[
'family' => 'Open Sans',
'variants' => ['regular', 'italic', '400'],
'subsets' => ['latin', 'latin-ext', 'greek'],
'import' => 'https://fonts.googleapis.com/css?family=Open+Sans:300,500,200italic,300italic&display=swap'
]
```

0 comments on commit 238c75d

Please sign in to comment.