postcss-values-parser icon indicating copy to clipboard operation
postcss-values-parser copied to clipboard

Cannot parse SCSS variables

Open Haberkamp opened this issue 1 year ago • 0 comments

  • Operating System (or Browser):
  • Node Version: 22.11.0
  • postcss-values-parser Version: 6.0.2

How Do We Reproduce?

Here's a little Stackblitz instance that reproduces the issue.

Expected Behavior

It should parse the value without any issues. The value should be the variable like $red-400 and the type could either be variable or just ''.

Actual Behavior

It throws an exception saying unknownWord

Haberkamp avatar Nov 28 '24 07:11 Haberkamp