We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
compass will translate rgba(#F1F1F1, .9) into rgba(241, 241, 241, 0.9), but cssnano will compress it into hsla(0,0%,95%,.9).
rgba(#F1F1F1, .9)
rgba(241, 241, 241, 0.9)
hsla(0,0%,95%,.9)
However, rgb(241, 241, 241) actually equals hsl(0,0%,94.5%). So I think cssnano rounded it up, but it will result in UI bug, though minor.
rgb(241, 241, 241)
hsl(0,0%,94.5%)
The text was updated successfully, but these errors were encountered:
This looks like a bug with the https://github.com/Qix-/color module.
const color = require('color'); console.log(color('rgb(241, 241, 241)').hslString());
Could you raise this issue there please?
Sorry, something went wrong.
No branches or pull requests
compass will translate
rgba(#F1F1F1, .9)
intorgba(241, 241, 241, 0.9)
, but cssnano will compress it intohsla(0,0%,95%,.9)
.However,
rgb(241, 241, 241)
actually equalshsl(0,0%,94.5%)
. So I think cssnano rounded it up, but it will result in UI bug, though minor.The text was updated successfully, but these errors were encountered: