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

Adds support for more angle units #324

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Adds support for more angle units #324

merged 1 commit into from
Aug 22, 2023

Conversation

kleinfreund
Copy link
Contributor

Changes

Adds support for the angle units "grad", "rad", and "turn".

Resolves #180.

Resolves #311.

Notes

I was implementing support for this in a project of mine and figured I contribute it here as well. I'm (now) aware of #181, so let me know if you'd rather incorporate that. Happy to close this again, if so.

Also, I did run the parser tests locally and they passed, but I saw about 75 of the tests failing locally and I'm not sure whether that's just something with my environment, so it would be good to double check this.

Adds support for the angle units "grad", "rad", and "turn".
Copy link
Member

@LeaVerou LeaVerou left a comment

Choose a reason for hiding this comment

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

I love the simplicity of this solution, and that you added tests. Thank you!

@LeaVerou LeaVerou merged commit 2a29b5b into color-js:main Aug 22, 2023
4 checks passed
@kleinfreund kleinfreund deleted the feat/add-support-for-more-angle-units branch August 22, 2023 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants