soccer-jersey-fork 1.0.74 → 1.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -231,7 +231,7 @@ export default function drawSoccerJersey({ shirtColor = "plain", sleeveColor, sh
231
231
  const drawText = (elem) => {
232
232
  return elem
233
233
  .text(text)
234
- .fill(lightenDarkenColor(color ? color : "#fff", -50))
234
+ .fill(color || "#eee")
235
235
  .font({
236
236
  family: "Monospace",
237
237
  size,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soccer-jersey-fork",
3
- "version": "1.0.74",
3
+ "version": "1.0.75",
4
4
  "description": "Generate soccer jerseys in SVG format",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {