Skip to content

Commit

Permalink
fix react toastify colors
Browse files Browse the repository at this point in the history
  • Loading branch information
nilscox committed Jan 22, 2025
1 parent 2e7b6e1 commit 05605e3
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@

/* react-toastify */

:root {
--toastify-color-light: theme(colors.transparent);
--toastify-text-color-light: theme(textColor.default);
--toastify-toast-width: theme(maxWidth.md);
--toastify-font-family: theme(fontFamily.sans);
--toastify-toast-shadow: none;
--toastify-toast-padding: 0;
--toastify-z-index: 60;
}

@keyframes notification {
0% {
transform: translateY(-1rem);
Expand All @@ -117,19 +127,14 @@
animation: 240ms reverse both notification;
}

:root {
--toastify-z-index: 60;
--toastify-toast-background: var(--toastify-color-transparent);
--toastify-toast-shadow: none;
--toastify-toast-width: theme(maxWidth.md);
--toastify-toast-padding: 0;
}
/* intercom */

.intercom-lightweight-app {
z-index: 30 !important;
}

/* hide reCAPTCHA badge */

.grecaptcha-badge {
visibility: hidden;
}

0 comments on commit 05605e3

Please sign in to comment.