@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
121 lines (120 loc) • 3.97 kB
TypeScript
declare const Component: {
styleOverrides: {
root: ({ theme }: any) => {
'&.SCPlatformWidget-tutorialOpen': {
position: string;
zIndex: any;
'& .SCPlatformWidget-.tutorial': {
padding: number;
};
};
'& .SCPlatformWidget-title': {
display: string;
justifyContent: string;
marginBottom: any;
};
'& .SCPlatformWidget-content': {
padding: string;
backgroundColor: string;
};
'& .SCPlatformWidget-actions': {
display: string;
paddingBottom: number;
boxShadow: string;
WebkitOverflowScrolling: string;
overflowX: string;
overflowY: string;
scrollbarWidth: string;
MsOverflowStyle: string;
'&::-webkit-scrollbar': {
display: string;
};
};
'& .SCPlatformWidget-action': {
padding: string;
display: string;
flexGrow: number;
justifyContent: string;
'& .MuiButton-root': {
color: any;
backgroundColor: any;
'&:hover': {
color: any;
backgroundColor: any;
};
};
};
'& .SCPlatformWidget-tutorialContent': {
width: string;
};
'& .SCPlatformWidget-divider': {
paddingTop: any;
};
'& .SCPlatformWidget-tutorialTitle': {
position: string;
fontWeight: number;
fontSize: number;
padding: string;
};
'& .SCPlatformWidget-tutorialTitleClose': {
position: string;
top: any;
right: any;
};
'& .SCPlatformWidget-tutorialDesc': {
fontSize: number;
fontWeight: number;
color: any;
padding: string;
};
'& .SCPlatformWidget-tutorialControls': {
padding: any;
};
'& .SCPlatformWidget-actionHighlighted': {
position: string;
'&:before': {
content: string;
display: string;
position: string;
bottom: number;
width: number;
height: number;
transform: string;
boxShadow: string;
zIndex: number;
backgroundColor: any;
};
'& .MuiButton-root': {
backgroundColor: any;
color: any;
};
};
'& .SCPlatformWidget-btnStep': {
borderRadius: number;
};
};
skeletonRoot: ({ theme }: any) => {
'& .SCPlatformWidget-skeleton-content': {
padding: any;
};
'& .SCPlatformWidget-skeleton-title': {
display: string;
justifyContent: string;
alignItems: string;
paddingBottom: any;
};
'& .SCPlatformWidget-skeleton-actions': {
display: string;
justifyContent: string;
alignItems: string;
paddingBottom: any;
};
'& .SCPlatformWidget-skeleton-tutorial': {
display: string;
justifyContent: string;
alignItems: string;
};
};
};
};
export default Component;