diff --git a/src/components/GeneralNotifications.tsx b/src/components/GeneralNotifications.tsx index 3235fbb..97c498b 100644 --- a/src/components/GeneralNotifications.tsx +++ b/src/components/GeneralNotifications.tsx @@ -43,7 +43,13 @@ export const GeneralNotifications = ({ address }) => { > + PAYMENT NOTIFICATION } @@ -53,13 +59,13 @@ export const GeneralNotifications = ({ address }) => { slotProps={{ tooltip: { sx: { - color: '#ffffff', - backgroundColor: '#444444', + color: theme.palette.text.primary, + backgroundColor: theme.palette.background.default, }, }, arrow: { sx: { - color: '#444444', + color: theme.palette.text.primary, }, }, }} @@ -68,9 +74,7 @@ export const GeneralNotifications = ({ address }) => { sx={{ color: hasNewPayment ? 'var(--unread)' - : theme.palette.mode === 'dark' - ? 'rgb(209, 209, 209)' - : 'rgba(41, 41, 43, 1)', + : theme.palette.text.primary, }} /> @@ -88,14 +92,14 @@ export const GeneralNotifications = ({ address }) => { > {!hasNewPayment && ( @@ -110,12 +114,12 @@ export const GeneralNotifications = ({ address }) => { {hasNewPayment && ( { setAnchorEl(null); @@ -124,18 +128,18 @@ export const GeneralNotifications = ({ address }) => { > { />{' '} {formatDate(latestTx?.timestamp)} + { > {latestTx?.amount} +