@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
27 lines (26 loc) • 885 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const Component = {
styleOverrides: {
root: ({ theme }) => ({
'& .MuiDrawer-paperAnchorBottom': {
borderTopLeftRadius: theme.shape.borderRadius,
borderTopRightRadius: theme.shape.borderRadius,
maxHeight: '75vh',
paddingTop: theme.shape.borderRadius,
'&:before': {
content: '""',
border: `1px solid ${theme.palette.primary.main}`,
width: 60,
position: 'absolute',
top: theme.shape.borderRadius / 2,
left: 'calc(50% - 30px)'
},
'& > *': {
paddingTop: 0
}
}
})
}
};
exports.default = Component;
;