@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
32 lines (31 loc) • 1.02 kB
JavaScript
const Component = {
styleOverrides: {
root: ({ theme }) => ({
'& .SCMyEventsWidget-title-wrapper': {
padding: `12px ${theme.spacing(2)}`
},
'& .SCMyEventsWidget-actions': {
padding: `0 ${theme.spacing(3)} 18px`,
justifyContent: 'center',
gap: theme.spacing(3),
'& .SCMyEventsWidget-arrows': {
width: '24px',
height: '24px'
},
'& .SCMyEventsWidget-action-button': {
color: theme.palette.primary.main,
textDecoration: 'none'
}
}
}),
skeletonRoot: ({ theme }) => ({
'& .SCMyEventsWidget-actions': {
height: '40px',
padding: `0 ${theme.spacing(3)} 18px`,
justifyContent: 'center',
gap: theme.spacing(3)
}
})
}
};
export default Component;