Material UI v5: rename palette.type to palette.mode
ProprietaryRenames the key and its reads. Ported from the MUI codemod v5.0.0/theme-palette-mode.
org. openrewrite. react. mui. v5. theme-palette-modemod run . --recipe= org. openrewrite. react. mui. v5. theme-palette-modeInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.