Closed bartveneman closed 5 years ago
const {parse} = require('postcss-values-parser') ;['Red', 'GREEN', 'whiteSmoke'].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
Good catch. Should be an easy fix.
Fixed and released in v3.0.0 proper. We're out of beta. Thank you for your help in adopting the beta!
Whoo! 🎉
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