@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
103 lines (102 loc) • 3.39 kB
TypeScript
declare const Component: {
styleOverrides: {
root: ({ theme }: any) => {
'& .SCEvents-section-title': {
marginTop: any;
marginBottom: any;
color: any;
fontWeight: number;
fontSize: number;
};
'& .SCEvents-divider': {
marginBottom: any;
};
'& .SCEvents-filters': {
alignItems: string;
marginTop: any;
marginBottom: any;
'& .SCEvents-search': {
'& .MuiInputBase-root': {
paddingRight: number;
'& .MuiButtonBase-root': {
borderRadius: string;
height: string;
'& .MuiButton-endIcon': {
margin: number;
};
};
};
};
};
'& .SCEvents-events': {
[x: number]: {
marginBottom: any;
};
marginTop: any;
'& .SCEvents-item': {
paddingTop: any;
};
'& .SCEvents-item-skeleton': {
paddingTop: any;
};
'& .SCBaseItem-root': {
display: string;
justifyContent: string;
};
'& .SCEvent-skeleton-preview-name': {
marginTop: number;
marginBottom: number;
};
'& .SCEvent-skeleton-snippet .SCBaseItem-content': {
maxWidth: string;
};
};
'& .SCEvents-no-results': {
marginTop: any;
display: string;
flexDirection: string;
alignItems: string;
'& .SCEvent-skeleton-root': {
[x: number]: {
width: string;
};
marginBottom: any;
minWidth: string;
};
'& .SCEvent-skeleton-snippet .SCBaseItem-content': {
maxWidth: string;
};
'& .MuiTypography-body1': {
fontWeight: any;
fontSize: string;
whiteSpace: string;
};
};
'& .SCEvents-show-more': {
paddingLeft: any;
'&.Mui-selected, &:hover': {
backgroundColor: string;
};
};
};
skeletonRoot: ({ theme }: any) => {
'& .SCEvents-skeleton-events': {
justifyContent: string;
marginTop: any;
'& .SCEvents-skeleton-item': {
paddingTop: any;
};
};
};
eventsChipRoot: ({ theme, showFollowed, showPastEvents, showOngoingEvents }: any) => {
height: any;
borderRadius: any;
color: any;
'& .MuiIcon-root': {
fontSize: string;
color: any;
};
};
};
};
export default Component;