hero-patterns
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "hero-patterns", | ||
"version": "0.1.1", | ||
"description": "CSS & JS for setting patterns from heropatterns.com", | ||
"version": "0.1.2", | ||
"description": "Patterns from heropatterns.com exported as ES6 functions", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "jsnext:main": "index.js", |
@@ -5,2 +5,4 @@ # `hero-patterns.js` | ||
Each pattern from [Hero Patterns](http://heropatterns.com) has its own function. Each function returns the SVG data as a string wrapped in a `url()` function. The functions take two parameters: one for setting the fill color, the other for setting the fill opacity. | ||
# Usage | ||
@@ -16,4 +18,2 @@ | ||
Each pattern is represented as a function taking two arguments, one for fill color and the other for fill opacity. | ||
```js | ||
@@ -20,0 +20,0 @@ import {ticTacToe} from 'hero-patterns' |
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
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
88326