@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
70 lines (69 loc) • 2.34 kB
TypeScript
declare const Component: {
styleOverrides: {
root: ({ theme }: any) => {
[x: number]: {
padding: any;
};
display: string;
flexDirection: string;
'& .SCLessonObject-content': {
padding: string;
'& .SCLessonObject-text': {
'& > div:first-of-type': {
img: {
display: string;
margin: string;
width: string;
maxWidth: string;
position: string;
};
padding: string;
};
'& > div:has(> a)': {
borderRadius: string;
padding: any;
background: any;
};
'& > div:has(> a) > a:first-of-type': {
textDecoration: string;
color: string;
};
};
'& .SCLessonObject-medias-section': {
'& .SCLessonObject-files': {
display: string;
};
'& .SCLessonFilePreview-root': {
marginBottom: any;
maxWidth: string;
};
'& .SCMediaLink-display-root': {
marginBottom: any;
'& > div > div': {
[x: number]: {
height: string;
};
};
};
};
};
'& .SCLessonObject-content-edit': {
padding: string;
'& .SCEditor-content': {
paddingTop: number;
paddingBottom: number;
};
};
'& .SCWidget-root': {
[x: number]: {
boxShadow: string;
};
marginBottom: any;
};
'& .SCLessonObject-button': {
alignSelf: string;
};
};
};
};
export default Component;