UNPKG

@selfcommunity/react-theme-default

Version:

Default theme to use with SelfCommunity TS library

40 lines (39 loc) 1.36 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Component = { styleOverrides: { root: ({ theme }) => ({ '& .SCVoteAudienceButton-reaction-list': { maxWidth: theme.spacing(5), overflow: 'hidden', marginTop: theme.spacing(-0.25), fontSize: '1.143rem', display: 'flex', flexDirection: 'row', '& .MuiIcon-root': { marginRight: theme.spacing(0.5), backgroundColor: 'transparent' } }, '& > .MuiIcon-root': { fontSize: '1.143rem', marginTop: theme.spacing(-0.25) } }), dialogRoot: ({ theme }) => ({ '& .SCVoteAudienceButton-dialog-tabs': { '& .MuiTab-root': { flexDirection: 'row', justifyContent: 'space-evenly' } }, '& .SCVoteAudienceButton-dialog-vote-badge': { width: theme.spacing(2), height: theme.spacing(2), backgroundColor: theme.palette.background.paper, border: `1px solid ${theme.palette.background.paper}` } }) } }; exports.default = Component;