Browse Source

Revert "fix notification reminder popup -> purple background (#2209)"

This reverts commit ab573f67e9.
pull/2217/head
Gabe Kangas 3 years ago
parent
commit
e3c038f48d
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 4
      web/components/ui/NotifyReminderPopup/NotifyReminderPopup.module.scss
  2. 4
      web/components/ui/NotifyReminderPopup/NotifyReminderPopup.tsx

4
web/components/ui/NotifyReminderPopup/NotifyReminderPopup.module.scss

@ -3,7 +3,6 @@ @@ -3,7 +3,6 @@
border: none;
text-align: left;
cursor: pointer;
color: var(--theme-color-components-text-on-dark);
}
.closebutton {
@ -14,13 +13,10 @@ @@ -14,13 +13,10 @@
border: none;
font-size: 1.3rem;
cursor: pointer;
color: var(--theme-color-components-text-on-dark);
}
.title {
border-bottom: none;
font-weight: bold;
padding-left: 5px;
color: var(--theme-color-components-text-on-dark);
}

4
web/components/ui/NotifyReminderPopup/NotifyReminderPopup.tsx

@ -35,9 +35,6 @@ export const NotifyReminderPopup: FC<NotifyReminderPopupProps> = ({ @@ -35,9 +35,6 @@ export const NotifyReminderPopup: FC<NotifyReminderPopupProps> = ({
paddingRight: '10px',
fontSize: '16px',
};
const bgColor = getComputedStyle(document.documentElement).getPropertyValue(
'--theme-color-palette-7',
);
const popupClicked = e => {
e.stopPropagation();
@ -73,7 +70,6 @@ export const NotifyReminderPopup: FC<NotifyReminderPopupProps> = ({ @@ -73,7 +70,6 @@ export const NotifyReminderPopup: FC<NotifyReminderPopupProps> = ({
title={title}
content={content}
overlayInnerStyle={popupStyle}
color={bgColor}
>
{children}
</Popover>

Loading…
Cancel
Save