diff --git a/CHANGELOG.old.md b/CHANGELOG.old.md index 0a950a9ecc9716..b1d43653b44cd9 100644 --- a/CHANGELOG.old.md +++ b/CHANGELOG.old.md @@ -4127,8 +4127,8 @@ A big thanks to the 17 contributors who made this release possible. Here are som ```diff import { - unstable_createCssVarsProvider as createCssVarsProvider, - + unstable_createCssVarsTheme as createCssVarsTheme, + unstable_createCssVarsProvider as createCssVarsProvider, + + unstable_createCssVarsTheme as createCssVarsTheme, } from '@mui/system'; const { CssVarsProvider } = createCssVarsProvider({ diff --git a/docs/data/system/experimental-api/css-theme-variables/css-theme-variables.md b/docs/data/system/experimental-api/css-theme-variables/css-theme-variables.md index c67d1cb54029ad..6905605fb83fd1 100644 --- a/docs/data/system/experimental-api/css-theme-variables/css-theme-variables.md +++ b/docs/data/system/experimental-api/css-theme-variables/css-theme-variables.md @@ -189,7 +189,7 @@ Now, the Button's `backgroundColor`, `borderColor` and text `color` values will For framework- or language-specific setup instructions, see [CSS theme variables—Usage—Server-side rendering](/material-ui/customization/css-theme-variables/usage/). For framework or language specific setup, see [this](/material-ui/customization/css-theme-variables/usage/) -See the complete usage of `createCssVarsProvider` in [Material UI](https://github.com/mui/material-ui/blob/master/packages/mui-material/src/styles/CssVarsProvider.tsx) and [Joy UI](https://github.com/mui/material-ui/blob/master/packages/mui-joy/src/styles/CssVarsProvider.tsx). +See the complete usage of `createCssVarsProvider` in [Material UI](https://github.com/mui/material-ui/blob/master/packages/mui-material/src/styles/ThemeProviderWithVars.tsx) and [Joy UI](https://github.com/mui/material-ui/blob/master/packages/mui-joy/src/styles/CssVarsProvider.tsx). ## API