Skip to content

Commit

Permalink
Include # in colors
Browse files Browse the repository at this point in the history
This is technically a breaking change but I'm just going to ignore that and release it as a patch because nobody uses this library anyway
  • Loading branch information
MatthewStanciu committed Oct 16, 2022
1 parent e652b04 commit 3fc5b60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@purduehackers/time",
"version": "0.4.1",
"version": "0.4.2",
"description": "convert between traditional time and lightning time ⚡️",
"main": "dist/index.js",
"module": "dist/esm/index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ export class LightningTime {
)

return {
boltColor,
zapColor,
sparkColor
boltColor: `#${boltColor}`,
zapColor: `#${zapColor}`,
sparkColor: `#${sparkColor}`
}
}
}

0 comments on commit 3fc5b60

Please sign in to comment.