Comparing version 0.2.2 to 0.3.0
@@ -10,3 +10,3 @@ module.exports = { | ||
grey: '999', | ||
black: '000' | ||
cyan: '4BA' | ||
} |
{ | ||
"name": "badgen", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "Hand-crafted badge generator.", | ||
@@ -5,0 +5,0 @@ "author": "Amio <amio.cn@gmail.com>", |
@@ -18,8 +18,20 @@ # badgen [![npm-version][npm-badge]][npm-link] [![install size][pp-badge]][pp-link] | ||
const svgString = badgen({ | ||
subject: 'npm', | ||
status: 'v1.2.3', | ||
color: 'blue' | ||
subject: 'npm', // <Text> | ||
status: 'v1.2.3', // <Text> | ||
color: 'blue' // <Color RGB> or <Color Name> | ||
}) | ||
``` | ||
Available color names: | ||
![](https://badgen.now.sh/badge/color/green/green) | ||
![](https://badgen.now.sh/badge/color/yellow/yellow) | ||
![](https://badgen.now.sh/badge/color/orange/orange) | ||
![](https://badgen.now.sh/badge/color/red/red) | ||
![](https://badgen.now.sh/badge/color/pink/pink) | ||
![](https://badgen.now.sh/badge/color/purple/purple) | ||
![](https://badgen.now.sh/badge/color/blue/blue) | ||
![](https://badgen.now.sh/badge/color/cyan/cyan) | ||
![](https://badgen.now.sh/badge/color/grey/grey) | ||
### Badge Service | ||
@@ -26,0 +38,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
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
8527
58