#30801·material-ui

[codemod] Jss to styled does not support keyframes

Author: hongNianYSCreated Jan 27, 2022Updated Sep 28, 2026
Labelstype: bugpackage: codemodv5.xscope: all components

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior

when i run npx @mui/codemod v5.0.0/jss-to-style gived by your team tool to update jss to styled, something errro with the keyframe。 here is my code https://codesandbox.io/s/mui-v5-styled-w-css-keyframes-forked-xecl1?file=/index.js:0-1057

Expected behavior

convert jss to emotion

Steps to reproduce

Steps:

run npx @mui/codemod v5.0.0/jss-to-styled pages/index.jsc

Context

No response

Your environment

"@mui/material": "^5.3.0",
"@mui/styles": "^5.3.0",