@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
88 lines (87 loc) • 2.83 kB
TypeScript
declare const Component: {
styleOverrides: {
root: ({ theme }: any) => {
'& .SCUserProfileEdit-tabs': {
marginBottom: any;
'& .MuiTabScrollButton-root': {
transition: string;
'&.Mui-disabled': {
width: number;
};
};
};
'& .SCUserProfileEdit-tab-content': {
padding: any;
maxWidth: number;
};
};
skeletonRoot: ({ theme }: any) => {};
passwordDialogRoot: ({ theme }: any) => {
'& .MuiDialogContent-root': {
'& .SCUserProfileEdit-password-form': {
'& .SCUserProfileEdit-form-field': {
margin: any;
};
};
};
'& .SCUserProfileEdit-confirm-change-button': {
marginTop: any;
};
};
accountRoot: ({ theme }: any) => {
'& .SCUserProfileEdit-danger-zone': {
marginTop: any;
'& > *': {
marginBottom: any;
};
};
'& .SCUserSocialAssociation-provider-table': {
backgroundColor: string;
border: string;
'& th,td': {
padding: number;
fontWeight: string;
};
'& td': {
padding: number;
'& .SCUserSocialAssociation-provider-name': {
textTransform: string;
position: string;
top: any;
left: any;
};
};
};
'& .SCUserProfileEdit-language-switcher': {
margin: any;
};
'& .SCUserProfileEdit-account-credentials-root': {
'& .SCUserProfileEdit-email, .SCUserProfileEdit-password': {
margin: any;
fontWeight: string;
};
};
};
settingsRoot: ({ theme }: any) => {
'& .SCUserProfileEdit-control': {
margin: any;
'& .MuiFormControl-root': {
display: string;
};
};
};
publicInfoRoot: ({ theme }: any) => {
'& .SCUserProfileEdit-field': {
margin: any;
};
'& .SCUserProfileEdit-field .MuiSelect-icon': {
right: any;
};
'& .SCUserProfileEdit-btn-save': {
marginTop: any;
marginBottom: any;
};
};
};
};
export default Component;