-
Notifications
You must be signed in to change notification settings - Fork 30
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
blackness and lightness vs sass darken lighten #30
Comments
No idea how to help you. Sass "darken" is nothing standard. blackness & friends on the opposite are supposed to be the things you can find (I think) in software like photoshop or things like that. |
I see. |
@MoOx it is doc issue. We need README section with help for ex-Sass users. For example, how to convert old code. |
PR welcome. I don't have time for this. |
@perrin4869 I'm curious, did you try |
@ivanvs I've been playing around just now with the functions some more, got some interesting results. The closest I've been able to get to SASS I would say that based on my tests, the closest to sass I can't really figure out whan |
@perrin4869 Yes, right, SASS darken(#b6ffd4, 30%) // => #1dff7a
// #b6ffd4 === hsl(144.7, 100%, 85.7%)
// #1dff7a === hsl(144.7, 100%, 55.7%)
Action of |
@pulmo thanks for the explanation! Finally it makes sense now :) |
@perrin4869 PR for docs are always welcome! |
I am trying to replicate the results of the sass
darken
andlighten
functions using the css color function, however, I am not getting similar results:Basically I want a stronger green, which is what I get using sass darken, but I can't figure out how to replicate those results. Thanks!
The text was updated successfully, but these errors were encountered: