Comparing version 1.1.2 to 1.2.0
const svgSprite = require('./') | ||
document.body.innerHTML += svgSprite() | ||
document.body.innerHTML += '<svg><use xlink:href="#daticon-happy-dat"></use></svg>' |
{ | ||
"name": "dat-icons", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "Icons and other SVGs for dat-data.com", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Kriesse/dat-icons#readme", |
@@ -11,4 +11,32 @@ # dat-icons | ||
Make sure this is the first element after the `<body>` opening tag | ||
Make sure this is the first element after the `<body>` opening tag. | ||
Icons can later be referenced like so: | ||
```html | ||
<svg><use xlink:href="#daticon-happy-dat"></use></svg> | ||
``` | ||
### Icon Names | ||
- `daticon-clipboard` | ||
- `daticon-create-new-dat` | ||
- `daticon-delete` | ||
- `daticon-download` | ||
- `daticon-edit-dat` | ||
- `daticon-file` | ||
- `daticon-folder` | ||
- `daticon-happy-dat` | ||
- `daticon-hexagon-outlines` | ||
- `daticon-import-dat` | ||
- `daticon-link` | ||
- `daticon-loading` | ||
- `daticon-lock` | ||
- `daticon-menu` | ||
- `daticon-open-in-desktop` | ||
- `daticon-open-in-finder` | ||
- `daticon-question` | ||
- `daticon-sad-dat` | ||
- `daticon-star-dat` | ||
## Build | ||
@@ -15,0 +43,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
22493
10
49