From 05605e383d972ac52f8afa0c7015ddfed10bf4c5 Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 22 Jan 2025 15:31:44 +0100 Subject: [PATCH] fix react toastify colors --- src/styles.css | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/styles.css b/src/styles.css index 1668db6..b900b0e 100644 --- a/src/styles.css +++ b/src/styles.css @@ -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); @@ -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; }