UNPKG

@selfcommunity/react-theme-default

Version:

Default theme to use with SelfCommunity TS library

58 lines (57 loc) 2.15 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const system_1 = require("@mui/system"); const Component = { styleOverrides: { root: ({ theme }) => ({ '& .MuiButton-startIcon': { marginRight: theme.spacing(0.5), '& .MuiIcon-root': { fontSize: '0.75rem !important' } } }), dialogRoot: ({ theme }) => ({ '& .SCBaseDialog-title-root span ': { width: '100%', display: 'flex', alignItems: 'center', justifyContent: 'space-between', '& .SCEventInviteButton-dialog-title': { fontWeight: theme.typography.fontWeightBold, fontSize: theme.typography.h4.fontSize } }, '& .SCEventInviteButton-input': { backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity), borderRadius: theme.shape.borderRadius, height: theme.spacing(3.75), padding: theme.spacing(0.5, 1), '& .SCEventInviteButton-icon ': { marginLeft: theme.spacing(1) }, '&.Mui-focused .MuiOutlinedInput-notchedOutline': { border: '1px solid' } }, '& .SCEventInviteButton-invited-box': { marginTop: theme.spacing(2), marginBottom: theme.spacing(3), '& .MuiChip-root': { marginBottom: theme.spacing(1) } }, '& .SCEventInviteButton-suggested': { '& h4': { marginBottom: theme.spacing(1) }, '& .SCUser-root': { '&:hover': { backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.hoverOpacity) } } } }) } }; exports.default = Component;