UNPKG

@selfcommunity/react-theme-default

Version:

Default theme to use with SelfCommunity TS library

34 lines (33 loc) 1.13 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Component = { styleOverrides: { root: ({ theme }) => ({}), skeletonRoot: ({ theme }) => ({}), dialogRoot: ({ theme }) => ({}), pollSnippetRoot: ({ theme }) => ({ '& > div': { alignItems: 'flex-start', paddingTop: theme.spacing(1) }, '& .SCBaseItem-text': { marginTop: 0 }, '& .SCPollSuggestionWidget-username': { color: theme.palette.text.primary, fontWeight: theme.typography.fontWeightBold, textDecoration: 'none' }, '& .SCPollSuggestionWidget-avatar': { width: theme.selfcommunity.user.avatar.sizeMedium, height: theme.selfcommunity.user.avatar.sizeMedium }, '& .SCPollSuggestionWidget-activity-at': { textDecoration: 'none', color: 'inherit', marginTop: 3 } }) } }; exports.default = Component;