@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
46 lines (45 loc) • 1.44 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const Component = {
styleOverrides: {
root: ({ theme }) => ({
'& .MuiCardContent-root': {
padding: theme.spacing(2)
},
'& .SCIncubatorListWidget-header': {
display: 'flex',
alignItems: 'center'
},
'& .SCIncubatorListWidget-actions': {
display: 'flex',
justifyContent: 'space-between'
}
}),
dialogRoot: ({ theme }) => ({}),
skeletonRoot: ({ theme }) => ({}),
createDialogRoot: ({ theme }) => ({
margin: 2,
[theme.breakpoints.down(500)]: {
minWidth: 300
},
'& .SCIncubatorListWidget-intro': {
whiteSpace: 'pre-line'
},
'& .SCIncubatorListWidget-form': {
marginTop: theme.spacing(1),
marginBottom: theme.spacing(1)
},
'& .SCIncubatorListWidget-name': {
'& .MuiInputBase-root': {
height: '40px'
}
},
'& .SCIncubatorListWidget-submitted-message': {
padding: theme.spacing(1),
borderRadius: '8px',
backgroundColor: '#bdd5bd'
}
})
}
};
exports.default = Component;