mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-26 01:00:27 +02:00
version bump
This commit is contained in:
parent
3fd2686aab
commit
47eb472a12
@ -26,15 +26,15 @@ Icons can be downloaded as SVGs directly from [our website](https://simpleicons.
|
|||||||
Icons can be served from a CDN such as [JSDelivr](https://www.jsdelivr.com/package/npm/simple-icons) or [Unpkg](https://unpkg.com/browse/simple-icons/). Simply use the `simple-icons` npm package and specify a version in the URL like the following:
|
Icons can be served from a CDN such as [JSDelivr](https://www.jsdelivr.com/package/npm/simple-icons) or [Unpkg](https://unpkg.com/browse/simple-icons/). Simply use the `simple-icons` npm package and specify a version in the URL like the following:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v5/icons/[ICON SLUG].svg" />
|
<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v6/icons/[ICON SLUG].svg" />
|
||||||
<img height="32" width="32" src="https://unpkg.com/simple-icons@v5/icons/[ICON SLUG].svg" />
|
<img height="32" width="32" src="https://unpkg.com/simple-icons@v6/icons/[ICON SLUG].svg" />
|
||||||
```
|
```
|
||||||
|
|
||||||
Where `[ICON SLUG]` is replaced by the [slug] of the icon you want to use, for example:
|
Where `[ICON SLUG]` is replaced by the [slug] of the icon you want to use, for example:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v5/icons/simpleicons.svg" />
|
<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v6/icons/simpleicons.svg" />
|
||||||
<img height="32" width="32" src="https://unpkg.com/simple-icons@v5/icons/simpleicons.svg" />
|
<img height="32" width="32" src="https://unpkg.com/simple-icons@v6/icons/simpleicons.svg" />
|
||||||
```
|
```
|
||||||
|
|
||||||
These examples use the latest major version. This means you won't receive any updates following the next major release. You can use `@latest` instead to receive updates indefinitely. However, this will result in a `404` error if the icon is removed.
|
These examples use the latest major version. This means you won't receive any updates following the next major release. You can use `@latest` instead to receive updates indefinitely. However, this will result in a `404` error if the icon is removed.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "simple-icons",
|
"name": "simple-icons",
|
||||||
"version": "5.24.0",
|
"version": "6.0.0",
|
||||||
"description": "SVG icons for popular brands https://simpleicons.org",
|
"description": "SVG icons for popular brands https://simpleicons.org",
|
||||||
"homepage": "https://simpleicons.org",
|
"homepage": "https://simpleicons.org",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
Loading…
Reference in New Issue
Block a user