diff --git a/docs/data/material/migration/upgrade-to-v6/migrating-to-pigment-css.md b/docs/data/material/migration/upgrade-to-v6/migrating-to-pigment-css.md index e930a44fc56b89..6f638f65342926 100644 --- a/docs/data/material/migration/upgrade-to-v6/migrating-to-pigment-css.md +++ b/docs/data/material/migration/upgrade-to-v6/migrating-to-pigment-css.md @@ -191,7 +191,10 @@ Add the following code to your [Next.js](#nextjs) or [Vite](#vite) config file: const pigmentConfig = { transformLibraries: ['@mui/material'], -+ theme: createTheme(/* parameters if any */), ++ theme: createTheme({ ++ cssVariables: true, ++ /* other parameters, if any */ ++ }), }; ```