Closed jpmaga closed 11 months ago
Yes this is a limitation, it only supports interpolating selectors and values.
You can see the code here and there's also the tests for examples of what it supports.
I'm happy to accept PRs that extend support to arbitrary CSS interpolation, but I fear it will be complex and hard to support. PRs that are hard to support are not likely to get merged :-)
I would expect this to work, but for some reason it doesn't. I suppose it has something to do with how it is converted to object notation, but couldn't quite put my finger on it.
However, this works just fine:
Is this a limitation or am I doing something wrong here?