@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
121 lines (120 loc) • 3.96 kB
TypeScript
declare const Component: {
styleOverrides: {
root: ({ theme }: any) => {
overflow: string;
width: string;
backgroundColor: string;
border: number;
'& .SCLessonCommentObject-comment': {
backgroundColor: string;
border: number;
paddingBottom: number;
overflow: string;
'& > div': {
alignItems: string;
};
'& .SCBaseItem-image': {
marginRight: any;
};
'& .SCBaseItem-text': {
marginTop: any;
};
};
'& .SCBaseItem-image .MuiBadge-badge': {
top: any;
marginRight: number;
'& .SCUserAvatar-badge-content': {
width: any;
height: any;
};
};
'& .SCBullet-root, & .SCDateTimeAgo-root': {
color: any;
marginBottom: any;
};
'& .SCLessonCommentObject-content': {
backgroundColor: string;
overflowWrap: string;
position: string;
display: string;
padding: any;
border: number;
'& .MuiCardContent-root': {
flexGrow: number;
padding: number;
'& > p:first-of-type': {
paddingTop: number;
};
};
'& .SCLessonCommentObject-text-content': {
paddingTop: string;
margin: number;
'& a': {
color: any;
textDecoration: string;
'&:hover': {
textDecoration: string;
};
};
'& p': {
margin: number;
marginBlockStart: string;
marginBlockEnd: string;
};
'& img': {
maxWidth: string;
};
};
'& .SCLessonCommentObject-media-content': {
marginBottom: any;
};
};
'& .SCLessonCommentObject-avatar': {
top: any;
width: any;
height: any;
};
'& .SCLessonCommentObject-author': {
marginRight: any;
textDecoration: string;
color: any;
'& span': {
fontWeight: string;
};
};
};
skeletonRoot: ({ theme }: any) => {
paddingBottom: string;
overflow: string;
'& > div': {
alignItems: string;
};
'& .SCLessonCommentObject-primary-content': {
marginLeft: any;
marginBottom: number;
};
'&.SCWidget-root': {
backgroundColor: string;
'& .SCBaseItem-content': {
alignItems: string;
};
'& .SCBaseItem-image': {
marginRight: any;
};
'& .SCBaseItem-text': {
backgroundColor: string;
marginBottom: number;
'& > .SCWidget-root': {
border: number;
backgroundColor: string;
boxShadow: string;
};
'& .MuiCardContent-root': {
padding: any;
};
};
};
};
};
};
export default Component;