Skip to content

Commit

Permalink
place placeholder css file and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pglevy committed Jun 18, 2022
1 parent 352fa73 commit 98323dc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ body-style: ""
main-style: ""
```
## Local CSS
If you want to work locally and/or offline, you can use a local copy of the Primer CSS instead of referencing the hosted version. Note the local copy may not be the latest version because it will need to kept up-to-date manually.
To switch to local CSS, replace this line in `_layouts/default.html`:
```
<link rel="stylesheet" href="https://unpkg.com/@primer/css/dist/primer.css">
```
with this:
```
<link rel="stylesheet" href="assets/css/primer.css">
```
## What to do if you're having problems
- Try starting over with a new repository and follow the instructions again.
- If it's still not working, [create an issue in the original Plain Vanilla GitHub Pages repo](https://github.com/lowcodelounge/plain-vanilla-gh-pages/issues), and I'll try to help.
Expand Down
Empty file added assets/css/primer.css
Empty file.

0 comments on commit 98323dc

Please sign in to comment.