fix notification reminder popup -> purple background (#2209)
* fix notification reminder popup -> purple background * Prettified Code! * resolved color to color variables * Prettified Code! Co-authored-by: unclebinary1001 <unclebinary1001@users.noreply.github.com>
This commit is contained in:
@@ -35,6 +35,9 @@ export const NotifyReminderPopup: FC<NotifyReminderPopupProps> = ({
|
||||
paddingRight: '10px',
|
||||
fontSize: '16px',
|
||||
};
|
||||
const bgColor = getComputedStyle(document.documentElement).getPropertyValue(
|
||||
'--theme-color-palette-7',
|
||||
);
|
||||
|
||||
const popupClicked = e => {
|
||||
e.stopPropagation();
|
||||
@@ -70,6 +73,7 @@ export const NotifyReminderPopup: FC<NotifyReminderPopupProps> = ({
|
||||
title={title}
|
||||
content={content}
|
||||
overlayInnerStyle={popupStyle}
|
||||
color={bgColor}
|
||||
>
|
||||
{children}
|
||||
</Popover>
|
||||
|
||||
Reference in New Issue
Block a user