Replace theme.spacing.unit with theme.spacing()
ProprietaryReplaces theme.spacing.unit with theme.spacing(1), and theme.spacing.unit * n or / n with theme.spacing(n) or theme.spacing(1 / n).
org. openrewrite. react. mui. replace-theme-spacing-unitmod run . --recipe= org. openrewrite. react. mui. replace-theme-spacing-unitInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.