@elacity-js/uikit
Version:
React / Material UI Design kit for Elacity project
20 lines (17 loc) • 566 B
JavaScript
import { alpha, darken } from '@mui/material/styles';
function Popover(theme) {
return {
MuiPopover: {
styleOverrides: {
paper: {
backdropFilter: 'blur(10px)',
backgroundColor: theme.palette.mode === 'light'
? alpha(theme.palette.background.paper, 0.8)
: alpha(darken(theme.palette.background.paper, 0.2), 0.7),
},
},
},
};
}
export { Popover as default };
//# sourceMappingURL=MuiPopover.js.map