New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@icon/themify-icons

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icon/themify-icons - npm Package Compare versions

Comparing version

to
1.0.1-2

@@ -5,3 +5,3 @@ {

"description": "Themify Icon Font",
"version": "1.0.1-1",
"version": "1.0.1-2",
"class": "ti",

@@ -8,0 +8,0 @@ "prefix": "ti-",

{
"version": "1.0.1-1",
"version": "1.0.1-2",
"name": "@icon/themify-icons",

@@ -4,0 +4,0 @@ "description": "Themify Icon Font",

@@ -21,12 +21,12 @@ # @icon/themify-icons

1. If you want to use just a few icons. Find the icons you need in "icons" folder. Then use them as regular images:
1 . If you want to use just a few icons. Find the icons you need in "icons" folder. Then use them as regular images:
```
<img height="32" width="32" src="@icon/themify-icons/icons/arrow-up.svg" />
<img height="32" width="32" src="@icon/themify-icons/icons/arrow-up.svg" />
```
2. Icons can be served from a CDN such as [Unpkg][Unpkg]. Simply use the `@icon/themify-icons` npm package in the URL like the following:
2 . Icons can be served from a CDN such as [Unpkg][Unpkg]. Simply use the `@icon/themify-icons` npm package in the URL like the following:
```
<img height="32" width="32" src="https://unpkg.com/@icon/themify-icons/icons/arrow-up.svg" />
<img height="32" width="32" src="https://unpkg.com/@icon/themify-icons/icons/arrow-up.svg" />
```

@@ -36,20 +36,20 @@

1. Install `@icon/themify-icons` with this command. In the `<head>` of your html, reference the location to your `themify-icons.css`.
1 . Install `@icon/themify-icons` with this command. In the `<head>` of your html, reference the location to your `themify-icons.css`.
```
<head>
...
<link rel="stylesheet" href="@icon/themify-icons/themify-icons.css">
...
</head>
<head>
...
<link rel="stylesheet" href="@icon/themify-icons/themify-icons.css">
...
</head>
```
2. Use [unpkg.com][Unpkg] to load directly themify-icons without installing anything:
2 . Use [unpkg.com][Unpkg] to load directly themify-icons without installing anything:
```
<head>
...
<link rel="stylesheet" href="https://unpkg.com/@icon/themify-icons/themify-icons.css">
...
</head>
<head>
...
<link rel="stylesheet" href="https://unpkg.com/@icon/themify-icons/themify-icons.css">
...
</head>
```

@@ -60,3 +60,3 @@

```
<i class="ti ti-arrow-up"></i>
<i class="ti ti-arrow-up"></i>
```

@@ -63,0 +63,0 @@

Sorry, the diff of this file is not supported yet