import Grid from '@mui/material/Grid'; import Paper from '@mui/material/Paper'; import Box from '@mui/material/Box'; import { createTheme, ThemeProvider, styled } from '@mui/material/styles'; const Item = styled(Paper)(({ theme }) => ({ ...theme.typography.body2, textAlign: 'center', color: theme.palette.text.secondary, height: 60, lineHeight: '60px', })); const darkTheme = createTheme({ palette: { mode: 'dark' } }); const lightTheme = createTheme({ palette: { mode: 'light' } }); export default function Elevation() { return ( {[lightTheme, darkTheme].map((theme, index) => ( {[0, 1, 2, 3, 4, 6, 8, 12, 16, 24].map((elevation) => ( {`elevation=${elevation}`} ))} ))} ); }