@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
24 lines (23 loc) • 738 B
JavaScript
const Component = {
styleOverrides: {
root: ({ theme }) => ({
'& .SCEventLocationWidget-title, & .SCEventLocationWidget-location-title': {
fontWeight: theme.typography.fontWeightBold
// marginBottom: theme.spacing(0.5)
},
'& .SCEventLocationWidget-map': {
marginBottom: theme.spacing(1),
height: 300,
width: '100%',
}
}),
skeletonRoot: ({ theme }) => ({
'& .SCEventLocationWidget-skeleton-map': {
margin: theme.spacing(1, 0, 1, 0),
minHeight: 248,
width: '100%'
}
})
}
};
export default Component;