diff --git a/docs/pages/experiments/material-ui/bottom-navigation.tsx b/docs/pages/experiments/material-ui/bottom-navigation.tsx
new file mode 100644
index 00000000000000..333d6ae25c57fd
--- /dev/null
+++ b/docs/pages/experiments/material-ui/bottom-navigation.tsx
@@ -0,0 +1,80 @@
+import * as React from 'react';
+import {
+ Experimental_CssVarsProvider as CssVarsProvider,
+ useColorScheme,
+} from '@mui/material/styles';
+import CssBaseline from '@mui/material/CssBaseline';
+import Box from '@mui/material/Box';
+import BottomNavigation from '@mui/material/BottomNavigation';
+import BottomNavigationAction from '@mui/material/BottomNavigationAction';
+import Button from '@mui/material/Button';
+import Container from '@mui/material/Container';
+import Moon from '@mui/icons-material/DarkMode';
+import Sun from '@mui/icons-material/LightMode';
+import RestoreIcon from '@mui/icons-material/Restore';
+import FavoriteIcon from '@mui/icons-material/Favorite';
+import LocationOnIcon from '@mui/icons-material/LocationOn';
+
+const ColorSchemePicker = () => {
+ const { mode, setMode } = useColorScheme();
+ const [mounted, setMounted] = React.useState(false);
+ React.useEffect(() => {
+ setMounted(true);
+ }, []);
+ if (!mounted) {
+ return null;
+ }
+
+ return (
+
+ );
+};
+
+export default function CssVarsTemplate() {
+ const [value, setValue] = React.useState(0);
+
+ return (
+
+
+
+
+
+
+ div': {
+ placeSelf: 'center',
+ },
+ }}
+ >
+ {
+ setValue(newValue);
+ }}
+ >
+ } />
+ } />
+ } />
+
+
+
+
+ );
+}
diff --git a/packages/mui-material/src/BottomNavigation/BottomNavigation.js b/packages/mui-material/src/BottomNavigation/BottomNavigation.js
index ec330057441853..c67686e7df8ce4 100755
--- a/packages/mui-material/src/BottomNavigation/BottomNavigation.js
+++ b/packages/mui-material/src/BottomNavigation/BottomNavigation.js
@@ -25,7 +25,7 @@ const BottomNavigationRoot = styled('div', {
display: 'flex',
justifyContent: 'center',
height: 56,
- backgroundColor: theme.palette.background.paper,
+ backgroundColor: (theme.vars || theme).palette.background.paper,
}));
const BottomNavigation = React.forwardRef(function BottomNavigation(inProps, ref) {
diff --git a/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js b/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js
index c2ef2f89fea8b6..6bcb8ef71f8249 100644
--- a/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js
+++ b/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js
@@ -36,7 +36,7 @@ const BottomNavigationActionRoot = styled(ButtonBase, {
padding: '0px 12px',
minWidth: 80,
maxWidth: 168,
- color: theme.palette.text.secondary,
+ color: (theme.vars || theme).palette.text.secondary,
flexDirection: 'column',
flex: '1',
...(!ownerState.showLabel &&
@@ -49,7 +49,7 @@ const BottomNavigationActionRoot = styled(ButtonBase, {
paddingTop: 0,
}),
[`&.${bottomNavigationActionClasses.selected}`]: {
- color: theme.palette.primary.main,
+ color: (theme.vars || theme).palette.primary.main,
},
}));