UNPKG

@selfcommunity/react-theme-default

Version:

Default theme to use with SelfCommunity TS library

300 lines (299 loc) • 10.5 kB
declare const Component: { styleOverrides: { root: ({ theme }: any) => { [x: number]: { '& .MuiDialog-paper': { '& > form': { zIndex: number; }; '& .MuiDialogContent-root': { minHeight: number; height: string; }; '& .MuiDialogActions-root': { justifyContent: string; }; }; }; '& .MuiDialog-paper': { [x: number]: { height: string; }; position: string; overflowX: string; '& > form': { zIndex: number; height: string; }; '& .MuiDialogTitle-root': { position: string; top: number; left: number; right: number; padding: any; display: string; flexDirection: string; justifyContent: string; alignItems: string; borderBottom: string; zIndex: number; backgroundColor: any; '& .MuiTypography-root': { flexGrow: number; textAlign: string; fontWeight: any; }; }; '& .MuiDialogContent-root': { margin: string; padding: any; height: string; '& .SCEditor-root': { padding: any; marginBottom: any; position: string; '& .SCEditor-placeholder': { left: number; position: string; }; '&.SCEditor-toolbar': { '& .SCEditorToolbarPlugin-root': { zIndex: number; position: string; display: string; bottom: any; right: any; left: any; marginBottom: number; backgroundColor: any; }; }; }; }; '& .SCComposer-types': { position: string; zIndex: number; bottom: any; left: number; right: number; display: string; margin: string; }; '& .MuiDialogActions-root': { position: string; bottom: number; left: number; right: number; padding: any; display: string; flexDirection: string; justifyContent: string; zIndex: number; backgroundColor: any; borderTop: string; '& .SCComposer-selected-action': { display: string; alignItems: string; '& .SCComposer-action-selected-icon': { marginLeft: any; fontSize: any; }; }; }; '& .SCComposer-general-error': { marginBottom: any; color: any; }; }; }; attributesRoot: ({ theme }: any) => { '& .MuiChip-root': { marginRight: any; marginTop: any; }; }; contentDiscussionRoot: ({ theme }: any) => { '& .SCComposer-content-discussion-title': { '& .MuiInputBase-root': { [x: number]: { maxHeight: number; }; maxHeight: number; overflowY: string; paddingLeft: number; paddingRight: number; paddingBottom: number; fontSize: string; fontWeight: any; '& fieldset': { display: string; }; '&.MuiInputBase-adornedEnd .MuiTypography-root': { alignSelf: string; }; '&.Mui-error': { color: any; }; }; '& .MuiFormHelperText-root': { marginLeft: number; }; }; '& .SCEditor-root': { '& .SCEditor-placeholder': { top: any; }; '& .SCEditor-content': { [x: number]: { maxHeight: number; }; overflowY: string; minHeight: number; maxHeight: string; }; }; }; contentPollRoot: ({ theme }: any) => { padding: any; '& .SCComposer-content-poll-title, & .SCComposer-content-poll-choices, & .SCComposer-content-poll-choice-new, & .SCComposer-content-poll-metadata': { marginBottom: any; }; '& .SCComposer-content-poll-choices .MuiTextField-root': { marginBottom: any; }; '& .SCComposer-content-poll-metadata': { marginTop: any; }; }; contentPostRoot: ({ theme }: any) => { '& .SCEditor-root': { '& .SCEditor-placeholder': { top: any; }; '& .SCEditor-content': { [x: number]: { maxHeight: number; }; overflowY: string; minHeight: number; maxHeight: string; }; }; }; contentLessonRoot: ({ theme }: any) => { padding: any; '& .SCEditor-root': { '& .SCEditor-content': { paddingTop: any; }; }; '& .SCComposer-content-lesson-medias': { '& .SCMediaFile-preview-root': { marginBottom: any; '& .SCMediaFile-media': { height: string; maxWidth: number; '& .SCMediaFile-title': { maxWidth: string; }; }; }; '& .SCMediaLink-preview-root': { marginBottom: any; }; }; }; layerTransitionRoot: ({ theme }: any) => { position: string; top: number; left: number; right: number; bottom: number; zIndex: number; background: any; '& .MuiDialogContent-root': { height: string; marginBottom: string; }; }; layerAudienceRoot: ({ theme }: any) => { '& .MuiTabs-root': { minHeight: string; marginBottom: any; '& .MuiTabs-flexContainer': { justifyContent: string; '& .MuiTab-labelIcon': { minHeight: string; flexDirection: string; '& .MuiIcon-root': { marginRight: any; }; }; }; }; '& .SCComposer-layer-audience-message': { textAlign: string; marginBottom: any; }; }; layerCategoryRoot: () => {}; layerGroupRoot: () => {}; layerCloseRoot: ({ theme }: any) => { '& .SCComposer-layer-content': { '& .MuiTypography-root': { textAlign: string; }; '& .MuiList-root': { '& .MuiListItem-root': { padding: number; '& .MuiTypography-root': { fontSize: string; }; '&:nth-last-of-type(1)': { color: any; }; }; }; }; }; layerLocationRoot: () => {}; layerScheduledRoot: ({ theme }: any) => { '& .SCComposer-layer-scheduled-picker': { display: string; flexDirection: string; justifyContent: string; alignItems: string; '& .MuiTypography-h4': { color: any; }; }; '& .SCComposer-layer-scheduled-message': { textAlign: string; marginTop: any; marginBottom: any; }; }; skeletonRoot: () => {}; typeSwitchButtonGroupRoot: ({ theme }: any) => { '& .MuiToggleButton-root': { backgroundColor: any; color: string; padding: any; fontSize: string; fontWeight: any; textTransform: string; '&.Mui-selected, &:hover, &:active, &.Mui-selected:hover': { color: any; backgroundColor: any; }; '&:nth-of-type(1)': { paddingLeft: any; }; '&:nth-last-of-type(1)': { paddingRight: any; }; }; }; }; }; export default Component;