twind icon indicating copy to clipboard operation
twind copied to clipboard

[Bug]: subtraction followed by a variable not normalized properly

Open sibbng opened this issue 1 year ago • 2 comments

Reproduction

https://twind.run/baton-wound-radius?result=css

Describe the bug

Hi @sastan, in https://github.com/tailwindlabs/tailwindcss/pull/4147 I contributed tailwindcss to fix some arbitrary values related issues. As I mentioned in the PR, I got this regex from twind project. But it has an edge case as reported in https://github.com/tailwindlabs/tailwindcss/issues/9832. I fixed this in https://github.com/tailwindlabs/tailwindcss/pull/10074. But I'm not sure if my solution is ideal or not. I wanted to let you know, the same issue also exists in twind. I can make a PR if you think my solution is good enough.

Severity

annoyance

System Info

-

Additional Information

No response

sibbng avatar Dec 28 '22 09:12 sibbng