Skip to content

Commit

Permalink
docs: rename custom to local fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
sergejcodes committed Apr 24, 2021
1 parent d534b99 commit c901b42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Shopify Theme Lab is a customizable modular development environment for blazing-
- [Shopify + webpack](#shopify--webpack)
- [Shopify remote auto-reloading](#shopify-remote-auto-reloading)
- [Static files](#static-files)
- [Custom fonts](#custom-fonts)
- [Local fonts](#local-fonts)
- [Common pitfalls](#common-pitfalls)
- [Limitations](#limitations)
- [Contributing](#contributing)
Expand Down Expand Up @@ -553,8 +553,8 @@ While `npm run start` task is running: The `shopify/` directory is being watched
Place your static files inside the `shopify/assets/` directory and add the `static` keyword to their filename e.g. `myfile.static.png`. All files inside this directory are ignored by git except for files with `static` in their filename. Since this directory is also shared with files generated by webpack, it's cleaned on every consecutive build except for `static` files.
<!-- static files (end) -->

<!-- custom fonts (start) -->
## Custom fonts
<!-- local fonts (start) -->
## Local fonts

1. add your fonts to the `shopify/assets/` directory with the `static` keyword e.g.:
```text
Expand Down Expand Up @@ -594,7 +594,7 @@ body {
font-family: 'Open Sans', sans-serif;
}
```
<!-- custom fonts (end) -->
<!-- local fonts (end) -->

<!-- common pitfalls (start) -->
## Common pitfalls
Expand Down

0 comments on commit c901b42

Please sign in to comment.