Browse Source

fix purple background color for notification reminder pop up & fix failing build (#2224)

* fix notification reminder popup -> purple background

* Prettified Code!

* resolved color to color variables

* Prettified Code!

* fix purple bgcolor for notification reminder popp up & fix failing build

Co-authored-by: unclebinary1001 <unclebinary1001@users.noreply.github.com>
pull/2221/head
Mahlangu 3 years ago committed by GitHub
parent
commit
ad188f2742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      web/components/ui/NotifyReminderPopup/NotifyReminderPopup.module.scss
  2. 1
      web/components/ui/NotifyReminderPopup/NotifyReminderPopup.tsx

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

@ -1,8 +1,13 @@
:export {
popupBackgroundColor: var(--theme-color-palette-7);
}
.contentbutton { .contentbutton {
background-color: transparent; background-color: transparent;
border: none; border: none;
text-align: left; text-align: left;
cursor: pointer; cursor: pointer;
color: var(--theme-color-components-text-on-dark);
} }
.closebutton { .closebutton {
@ -13,10 +18,12 @@
border: none; border: none;
font-size: 1.3rem; font-size: 1.3rem;
cursor: pointer; cursor: pointer;
color: var(--theme-color-components-text-on-dark);
} }
.title { .title {
border-bottom: none; border-bottom: none;
font-weight: bold; font-weight: bold;
padding-left: 5px; padding-left: 5px;
color: var(--theme-color-components-text-on-dark);
} }

1
web/components/ui/NotifyReminderPopup/NotifyReminderPopup.tsx

@ -70,6 +70,7 @@ export const NotifyReminderPopup: FC<NotifyReminderPopupProps> = ({
title={title} title={title}
content={content} content={content}
overlayInnerStyle={popupStyle} overlayInnerStyle={popupStyle}
color={styles.popupBackgroundColor}
> >
{children} {children}
</Popover> </Popover>

Loading…
Cancel
Save