@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
42 lines (41 loc) • 1.49 kB
JavaScript
const Component = {
styleOverrides: {
root: ({ theme }) => ({
gap: theme.spacing(0.5),
'& .SCLiveStreamInfoDetails-icon-text-wrapper': {
flexDirection: 'row',
alignItems: 'center',
gap: theme.spacing(0.75),
'& > p': {
textTransform: 'capitalize'
},
'& .SCLiveStreamInfoDetails-link': {
textDecoration: 'none',
color: theme.palette.text.primary,
'&:hover': {
textDecoration: 'underlined'
},
'& .SCLiveStreamInfoDetails-url': {
overflow: 'hidden',
textOverflow: 'ellipsis',
display: '-webkit-box',
WebkitLineClamp: '1',
WebkitBoxOrient: 'vertical'
}
},
'& .SCLiveStreamInfoDetails-in-progress': {
width: '6px',
height: '6px',
borderRadius: '9999px',
backgroundColor: theme.palette.secondary.main
}
},
'& .SCLiveStreamInfoDetails-creation-wrapper': {
flexDirection: 'row',
alignItems: 'center',
gap: theme.spacing(1)
}
})
}
};
export default Component;