You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While reviewing the PR, I noticed a few small parsing blips that could be improved. On the website, the following space-separated color params fail to parse. All of the following are equivalent and should result in white @ 25% alpha, or #ffffff40.
This is an excellent library!
Thanks to a generous PR by @ajmchambers, TinyColor is now being used to power the color picker in Shoelace. 🎉
While reviewing the PR, I noticed a few small parsing blips that could be improved. On the website, the following space-separated color params fail to parse. All of the following are equivalent and should result in white @ 25% alpha, or
#ffffff40
.The resulting values are all white, but with 100% instead of 25% alpha.
Similarly,
rgba
andhsla
are effectively aliases ofrgb
andhsl
now, but alpha is only considered when the alias is used.Let me know if you need any additional info on this!
The text was updated successfully, but these errors were encountered: