@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
25 lines (24 loc) • 805 B
JavaScript
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
}
}
})
}
};
export default Component;