1
1
mirror of https://github.com/primer/css.git synced 2024-12-29 00:58:31 +03:00

Add warning about using latest version

This commit is contained in:
simurai 2021-03-08 13:39:51 +09:00
parent 7e7b125449
commit b6215941f1
2 changed files with 12 additions and 0 deletions

View File

@ -102,3 +102,9 @@ You won't need to install any node modules or Sass compilers for a static site;
```html
<link href="https://unpkg.com/@primer/css/dist/primer.css" rel="stylesheet" />
```
**Warning**: Only use the "latest" version for short lived experiments. To be safe it's recommended to use the [latest version](https://github.com/primer/css/releases/latest) spelled out (for example `@15.2.0`). This ensures that the constant changes to Primer CSS won't break anything.
```html
<link rel="stylesheet" href="https://unpkg.com/@primer/css@15.2.0/dist/primer.css" />
```

View File

@ -25,6 +25,12 @@ This method requires no dev environment set up and is useful for when you want t
</html>
```
**Warning**: Only use the "latest" version for short lived experiments. To be safe it's recommended to use the [latest version](https://github.com/primer/css/releases/latest) spelled out (for example `@15.2.0`). This ensures that the constant changes to Primer CSS won't break anything.
```html
<link rel="stylesheet" href="https://unpkg.com/@primer/css@15.2.0/dist/primer.css" />
```
## Jekyll prototyping with GitHub CSS and JavaScript
The [Jekyll](http://jekyllrb.com) based prototyping tool pulls in all of GitHub's CSS, which includes all the Primer CSS modules as well as custom CSS modules. It includes GitHub JavaScript and octicons too.