Replace theme.spacing.unit with theme.spacing()

Proprietary

Replaces 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-unit
mod run . --recipe=org.openrewrite.react.mui.replace-theme-spacing-unit

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.