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
I've changed a lot about how this works now, hopefully it's less magical! For color specifically, I think it would be better to have a function that could validate any colour. So, we can start with
as a reference point; we need to be able to validate each of these value types (except the deprecated system colours, not bothered about supporting those).
So once we have an isColor validator, we'll need to have a special case in the property generator, as currently each of the validators accept a value rather than a node from postcss-value-parser. Perhaps that warrants changing first?
#8 is a good starting point if you want to get stuck in.
Need to improve parsing & the code generator to be able to handle the more complex grammars, such as
<color>
.The text was updated successfully, but these errors were encountered: