Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tristen committed May 22, 2024
1 parent 4466cfc commit 6e0ce1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapbox/to-color",
"version": "2.1.0-dev.0",
"version": "2.1.0",
"description": "Procedurally generate a deterministic, perceptually distributed color palette.",
"main": "dist/to-color.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ describe('toColor', () => {
const color = new toColor('hi', { limit: ['blue'] });
expect(color.getColor()).toEqual({
hsl: {
formatted: 'hsl(156, 75.43%, 48.45%)',
raw: [156, 75.43, 48.45]
formatted: 'hsl(292, 68.83%, 58.28%)',
raw: [292, 68.83, 58.28]
}
});
});
Expand Down

0 comments on commit 6e0ce1a

Please sign in to comment.