@elacity-js/uikit
Version:
React / Material UI Design kit for Elacity project
19 lines (16 loc) • 507 B
JavaScript
import { alpha, darken } from '@mui/material/styles';
function Paper(theme) {
return {
MuiPaper: {
styleOverrides: {
root: {
backgroundColor: theme.palette.mode === 'light'
? alpha(theme.palette.background.paper, 0.4)
: alpha(darken(theme.palette.background.paper, 0.2), 0.4),
},
},
},
};
}
export { Paper as default };
//# sourceMappingURL=MuiPaper.js.map