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
Alpha channel is not implemented for colours #114
Comments
The color library isn't easy to follow, but afaict each method is ± independent of the others. At least talking of the methods intended to be called as LESS helper functions. Thus, while it would be great if the whole set could get updated to handle things more consistently, to support chaining and whatnot, as it sits I was able to implement a fade without much issue:
The "cheat" is that fade doesn't care about the existing alpha anyway and so it's fine that that information gets lost. At least, if the call to (It surprised me at first to find that I could pass in an |
It looks like this project is still somewhat maintained, so lmk if you'd like a pull request with the above. For my own use recently I ended up being able to use |
Alpha compatibility & functions like fade are not implemented.
It looks like we'd need to convert the entire colour library to rgba to implement fade.
The text was updated successfully, but these errors were encountered: