Description
With the update to v0.14.7
, the following line, and all lines below it, are showing errors.
--font-weight-*: initial;
Removing the above line also resolves all errors in subsequent lines below it. The CSS itself is valid, and works correctly with Tailwind. This is a problem with the VS Code extension.
Screeshots:



Regression
This worked fine until v0.14.6
where there were no errors. See screenshot when the older version is installed:

Current workaround: Downgrade to v0.14.6
and disable auto-update until this is resolved.
Additional Information
This doesn't happen with other resets above the font weight reset. I have several others above it, like:
--color-*: initial;
--breakpoint-*: initial;
--radius-*: initial;
--shadow-*: initial;
--font-*: initial;
--font-weight-*: initial; /* <-- Errors in v0.14.7 start here. */
If I move the font weight reset to be the first line in the @theme
block, then everything below it gets errors, including all those other resets.
It looks like a parsing problem when there are two words instead of just one. For example, if I change the color reset to --color-test-*: initial;
it starts having the same error too.