UNPKG

@selfcommunity/react-theme-default

Version:

Default theme to use with SelfCommunity TS library

38 lines (37 loc) 1.3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Component = { styleOverrides: { root: ({ theme }) => ({ '& .SCUserInfo-field': { marginBottom: theme.spacing(2), '& h6': { fontSize: '1.143rem', fontWeight: theme.typography.fontWeightBold, marginBottom: theme.spacing(0.5) }, '&:last-of-type': { marginBottom: 0 } } }), skeletonRoot: ({ theme }) => ({}), dialogRoot: ({ theme }) => ({ '& .SCUserInfo-caption': { marginTop: theme.spacing(-2), textAlign: 'center', '& .SCUserInfo-avatar': { margin: theme.spacing(0, 'auto', 1), width: theme.selfcommunity.user.avatar.sizeLarge, height: theme.selfcommunity.user.avatar.sizeLarge }, '& .SCUserInfo-username': { fontWeight: theme.typography.fontWeightBold, fontSize: '1.143rem', marginBottom: theme.spacing(1) } } }) } }; exports.default = Component;