Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import { Theme, getNeumorphismByThemeMode } from '@/theme/types/Theme'; export default function Menu() { return { MuiMenu: { styleOverrides: { list: ({ theme }: { theme: Theme }) => { const neumorphismParams = { shadowDistance: '6px', shadowBlur: '6px', borderRadiusVal: 2 }; const neuObj = getNeumorphismByThemeMode({ theme, neumorphismParams }); return { ...neuObj.pressed }; } } } }; } |