Skip to content

Add hwb, lab, and lch to functions matching isColor #110

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

Closed
wants to merge 1 commit into from
Closed

Add hwb, lab, and lch to functions matching isColor #110

wants to merge 1 commit into from

Conversation

jonathantneal
Copy link
Collaborator

This PR contains:

  • bugfix
  • feature
  • refactor
  • tests
  • documentation
  • metadata

Breaking Changes?

  • yes
  • no

This PR changes the way the isColor property of a Func is determined so that it may include hwb(), lch(), and lab() notations.


Note: This is not causing me any issues in my current work. It’s just something I noticed while inspecting the code.

Note: I would expect the isColor and isVar helper properties to be getters, so that in the event one reassigns a function name, they remain accurate. I am open to adding that in a separate PR if you feel it will add value.

@shellscape
Copy link
Owner

I checked out CI and it looks like a few snapshots need to be update, but please do take a second look.

@jonathantneal
Copy link
Collaborator Author

I GitHub goofed, so the fixes you’ve requested have been moved into #111

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.

2 participants