@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
42 lines (41 loc) • 1.4 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const Component = {
styleOverrides: {
root: ({ theme }) => ({
'& .SCDefaultDrawerContent-no-results': {
paddingLeft: theme.spacing(2)
},
'& .SCDefaultDrawerContent-title': {
paddingTop: theme.spacing(1)
},
'& .SCDefaultDrawerContent-navigation': {
paddingTop: theme.spacing(0.5),
paddingBottom: 0,
'& .MuiListItemButton-root': {
paddingLeft: theme.spacing(3),
paddingRight: theme.spacing(3),
'& .MuiListItemText-root .MuiTypography-root': {
fontWeight: 700
}
},
'& .MuiListItemIcon-root': {
minWidth: 0,
marginRight: theme.spacing(2)
},
'& .MuiIcon-root': {
fontSize: 18
}
},
'& .MuiAccordion-root': {
'& .MuiAccordionSummary-content': {
marginBottom: theme.spacing(1.5)
},
'& .MuiAccordionDetails-root, .MuiList-root': {
paddingTop: 0
}
}
})
}
};
exports.default = Component;
;