We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
const {parse} = require('postcss-values-parser') const fixtures = [ 'RGBA(100, 200, 11, .5)', 'RGB(100, 200, 11)', 'Hsl(20, 10%, 5%)', 'HSLA(20, 10%, 5%, 0.5)' ] fixtures.forEach(color => { parse(color, {loose: true}).walk(node => { console.log(node.isColor) }) })
Expected isColor to be true for all of these cases
isColor
true
isColor is false for all of these cases
false
I hope I've covered most cases by now 😬
The text was updated successfully, but these errors were encountered:
ab54dbd
No branches or pull requests
How Do We Reproduce?
Expected Behavior
Expected
isColor
to betrue
for all of these casesActual Behavior
isColor
isfalse
for all of these casesRelated issues and code
I hope I've covered most cases by now 😬
The text was updated successfully, but these errors were encountered: