-
Notifications
You must be signed in to change notification settings - Fork 446
Include tint() color function in documentation #229
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
Comments
Yes, as well as |
Agreed for both Tint and Shade. I discovered those two functions exist via Codepen. As the demo shows, those functions add more perceivable gradations in color, i.e., slower to reach pure white or black. |
Well, |
Thanks, I didn't notice the reference to mix in your first comment. On a sort of related note, is it possible for LESS to use HSB instead of HSL color space? The reason I ask is that Adobe products (perhaps other design software as well) use HSB not HSL. It seems minor, but if you select a color in Illustrator, e.g., #fbb03b and make is 20% darker lowering the B(rightness) value, the resulting color isn't the same as if you used the LESS darken(#fbb03b, 20%) function. Sometimes the difference is subtle, but often it's not. Perhaps shade(#ffb03b, 20%) produces the desired effect? |
See less/less.js#1853.
No, these are a bit different effects. |
I don't believe I'm missing anything here, but tint() is definitely a function in LESS despite it not existing in documentation. See: less/less.js#944
The text was updated successfully, but these errors were encountered: