@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
28 lines (27 loc) • 737 B
JavaScript
const Component = {
styleOverrides: {
root: ({ theme }) => ({
margin: theme.spacing(2, 0),
'& .SCCustomAdv-wrap': {
width: '100%',
position: 'relative'
},
'& .SCCustomAdv-image': {
width: '100%'
},
'& .SCCustomAdv-embed-code': {
width: '100%'
},
'& .SCCustomAdv-prefixed-height': {
position: 'absolute',
top: 0,
left: 0,
bottom: 0,
right: 0
}
}),
skeletonRoot: ({ theme }) => ({}),
dialogRoot: ({ theme }) => ({})
}
};
export default Component;