Wrap the theme options in adaptV4Theme()

Proprietary

Wraps the options passed to createTheme or createMuiTheme in adaptV4Theme() and imports it, so a v4 theme keeps working on v5.

org.openrewrite.react.mui.adapt-v4-theme
mod run . --recipe=org.openrewrite.react.mui.adapt-v4-theme

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