Codemod verified
Regularly tested and maintained by our engineers and codemod expert community.
Material-ui/core
migration
by![](https://cdn.sanity.io/images/aho0e32c/production/61b763a05f41a7aea0b3b3265ff0fc83534ef28c-20x21.svg?w=20&fit=max&auto=format)
Codemod
Mui/5/Core Styles Import
Last update
Jul 24, 2024
Renames private import from core/styles/*
to core/styles
Before
import { createTheme } from '@material-ui/core/styles';import { darken, lighten } from '@material-ui/core/styles/colorManipulator';import makeStyles from '@material-ui/core/styles/makeStyles';import { Overrides } from '@material-ui/core/styles/overrides';
After
import {createTheme,darken,lighten,makeStyles,Overrides,} from '@material-ui/core/styles';
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community