Regression in v0.14.7: Font weight reset of defaults in @theme
shows errors
#1236
Labels
bug
Something isn't working
@theme
shows errors
#1236
With the update to
v0.14.7
, the following line, and all lines below it, are showing errors.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:
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.The text was updated successfully, but these errors were encountered: