UNPKG

@selfcommunity/react-theme-default

Version:

Default theme to use with SelfCommunity TS library

31 lines (30 loc) 964 B
const Component = { styleOverrides: { root: ({ theme }) => ({ padding: theme.spacing(2) }), skeletonRoot: ({ theme }) => ({ '& .SCPlatformWidget-skeleton-content': { padding: theme.spacing(2) }, '& .SCPlatformWidget-skeleton-title': { display: 'flex', justifyContent: 'center', alignItems: 'center', paddingBottom: theme.spacing() }, '& .SCPlatformWidget-skeleton-actions': { display: 'flex', justifyContent: 'space-around', alignItems: 'center', paddingBottom: theme.spacing() }, '& .SCPlatformWidget-skeleton-tutorial': { display: 'flex', justifyContent: 'center', alignItems: 'center' } }) } }; export default Component;