What happened?
Hello,
I try to use Uniwind with importing a web library that utilizes Tailwind heavily.
There is a tailwind pattern that was not properly serialized: calc(-1.2s + (0.1s * var(--foo))) (it's an animation delay).
The return template is
`-1.2000000476837158s + ( ${0.10000000149011612s" * this[`--foo`]")} `
I guess it's expected to be
`-1.2000000476837158s + ( 0.10000000149011612s * ${this[`--foo`]})} `
Steps to Reproduce
- Add
animation-delay: calc(-1.2s + (0.1s * var(--foo))) to your CSS file
- Run project
Expected result: no error
Actual result: Failed to serialize javascript object
Snack or Repository Link
Uniwind version
1.2.2
React Native Version
0.81.5
Platforms
iOS
Expo
Yes
Additional information
What happened?
Hello,
I try to use Uniwind with importing a web library that utilizes Tailwind heavily.
There is a tailwind pattern that was not properly serialized:
calc(-1.2s + (0.1s * var(--foo)))(it's an animation delay).The return template is
`-1.2000000476837158s + ( ${0.10000000149011612s" * this[`--foo`]")} `I guess it's expected to be
`-1.2000000476837158s + ( 0.10000000149011612s * ${this[`--foo`]})} `Steps to Reproduce
animation-delay: calc(-1.2s + (0.1s * var(--foo)))to your CSS fileExpected result: no error
Actual result:
Failed to serialize javascript objectSnack or Repository Link
Uniwind version
1.2.2
React Native Version
0.81.5
Platforms
iOS
Expo
Yes
Additional information