Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better hsla regex to support float Hue #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nakilon
Copy link

@Nakilon Nakilon commented May 31, 2017

No description provided.

Copy link
Member

@simonbrunel simonbrunel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this patch is working correctly, it seems that the fix in Qix-/color-string#19 is more complete (e.g. parseFloat instead of parseInt in var h = ((parseFloat(match[1]) % 360) + 360) % 360, which is missing here)? It also fix HWB and contains unit tests.

It may be better to resync this repo with the original one (git rebase)?

@Nakilon
Copy link
Author

Nakilon commented Jun 15, 2017

Resync then. Seems like your fork is very old. I just took a one improvement that was needed for my job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants