-
Notifications
You must be signed in to change notification settings - Fork 530
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
contrast() now accepts percentage threshold #523
base: master
Are you sure you want to change the base?
Conversation
spec? 😃 |
Sound good? |
Sorry I meant adding a test to here: https://github.com/leafo/lessphp/blob/master/tests/inputs/colors.less Edit: updated with correct file |
Got ya... added tests as above |
Nudge 😄 |
This looks really useful... @leafo please can you merge? |
It seems the tests are not passing correctly:
I've confirmed with less.js that the way the test was written, has the correct 'Expected' value. But the currently produced 'Actual' isn't as it should be. |
I've published a rebased version to a pull-523 branch. |
Fixes #501