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