@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
73 lines (72 loc) • 2.16 kB
TypeScript
declare const Component: {
variants: ({
props: {
elevation: number;
variant?: undefined;
};
style: {
border: number;
boxShadow: string;
};
} | {
props: {
variant: string;
elevation?: undefined;
};
style: {
border: string;
boxShadow: string;
};
})[];
styleOverrides: {
root: ({ theme }: any) => {
[x: number]: {
borderRadius: any;
};
borderRadius: number;
boxShadow: string;
border: string;
'&.MuiPaper-elevation0': {
borderRadius: number;
};
'& .MuiCardContent-root': {
padding: any;
'& h5': {
fontFamily: any;
fontWeight: any;
color: string;
fontSize: string;
};
'& .MuiList-root': {
paddingTop: any;
paddingBottom: number;
'& .MuiListItem-root:first-of-type': {
paddingTop: number;
};
'& .MuiListItem-root': {
paddingTop: any;
paddingBottom: any;
paddingLeft: number;
paddingRight: number;
'& .SCBaseItemButton-text, & .SCBaseItem-text': {
marginTop: number;
marginBottom: number;
};
'& .SCWidget-root': {
borderRadius: number;
};
};
};
'& > .MuiTypography-body2': {
paddingTop: any;
};
'& > .MuiButton-sizeMedium': {
marginTop: any;
padding: any;
color: any;
};
};
};
};
};
export default Component;