Open ai opened 9 years ago
Most people don't look for before asking.
Anyway I've update the readme a little. Tell me if that enough.
[lightness( | l(] ['+' | '-' | '*']? <percentage> )
is too complicated without examples :(. “lightness has a l alias” is better for first part of statement. What does *
mean?
blend( <color> <percentage> [rgb | hsl | hwb]? )
what is default value if I miss last arg? Also many people didn’t know hos blend depends on color mode.
But now it is better :).
More examples would really clear things up :+1:
Need example of how to make this: scale-color($MYcolor, $saturation: +5%, $lightness: -16%);
And how to output Hex values.
background: color(var(--blue) lightness(5%));
You are repeatedly refer to the specification, but I don't see any link. Add it, please: https://drafts.csswg.org/css-color/#modifying-colors
You can do it yourself. PR are always welcome.
Done: #20.
We should add better docs with examples for popular user cases like lighten/darken color. Now you need to open W3C spec and it is very bad for quick look. There is no examples or any way to find answer quickly.
For example, some people even think, that plugin didn’t support lighten :).
/cc @MoOx