-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Pull request for patch release v1.7.4 #88
Conversation
…ift & getComplimentaryHue
… for better treeshaking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review: "Hex utility now supports RGB values not normalized to [0,1]"
Your recent commit expands the hex utility, now accommodating RGB values beyond the normalized [0,1] range. The code appears logically structured with clear comments, enhancing its versatility. Well done on the functional improvement!
…ces and docs (edited)
Thanks @adarshswaminath ! The next patch will include reordering of the core-utils into more logical folder for even better treeshakability. |
…NG.md for better project contribution guidelines. Next patch will update the CHANGELOG.md file
This commit is for v1.7.4
Here are some of the changes made in this patch
fp/
and they are stored in modules of format[type].ts
for examplestring.ts
has functions that take in strings as parameterstoHex()
utility which can parse colors in all the library supported formats which are plain objects, numbers (0 - 16,777,215), hex strings/ CSS named colors and even arrays (in the form [mode, number, number, number, number?] with the fourth number parameter being an optional alpha/opacity channel.Let me know if anything can be improved!