You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing an issue when trying to animate the backgroundColor, specifically when animating between colors defined in different formats: oklch and #hex. The animation fails, and I receive a console warning when transitioning.
Description:
I'm experiencing an issue when trying to animate the
backgroundColor
, specifically when animating between colors defined in different formats:oklch
and#hex
. The animation fails, and I receive a console warning when transitioning.Example Snippet:
Console Warning:
CodeSandbox:
https://codesandbox.io/p/devbox/small-http-j8rxt3
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
The backgroundColor should smoothly animate between the oklch color and the hex color.
In my real use case, the oklch color comes from a CSS variable defined by Tailwindcss V4.
Environment details
motion version: [email protected]
Browser: Google Chrome 133.0.6943.53
The text was updated successfully, but these errors were encountered: