Skip to content

Commit

Permalink
add theme imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ani-kalpachka committed Mar 17, 2024
1 parent 3024ae1 commit aaefd08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/client/campaign-news/secured/NewsAdminPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import { routes } from 'common/routes'
import AddIcon from '@mui/icons-material/Add'
import Link from 'next/link'

import theme from 'common/theme'

const PREFIX = 'NewsAdminPage'

const classes = {
Expand Down
2 changes: 2 additions & 0 deletions src/components/client/irregularity/helpers/Remark.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Grid, Typography } from '@mui/material'

import theme from 'common/theme'

type RemarkProps = {
text: string
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export default function RenderCampaignSubscribeModal({ campaign, setOpen }: Moda
<CloseModalButton onClose={handleClose} />
{!isSuccess ? (
<React.Fragment>
<EmailIcon color="primary" sx={{ fontSize: '64px' }} />
<EmailIcon color="primary" sx={{ fontSize: theme.typography.pxToRem(64) }} />
<DialogTitle style={{ textAlign: 'center', width: '100%' }}>
{t('common:notifications.subscribe-campaign-title')}
</DialogTitle>
Expand Down

0 comments on commit aaefd08

Please sign in to comment.