From e6c1dcb146ff9a614179fe4852d8b4673d8a922c Mon Sep 17 00:00:00 2001 From: Kaitlyn Date: Mon, 28 Oct 2024 12:08:22 -0400 Subject: [PATCH] add new logo --- src/emails/components/EmailHero.tsx | 11 ++++++++++- src/emails/templates/HeaderStyles.tsx | 12 ++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/emails/components/EmailHero.tsx b/src/emails/components/EmailHero.tsx index 6065df9947..458e61a561 100644 --- a/src/emails/components/EmailHero.tsx +++ b/src/emails/components/EmailHero.tsx @@ -22,7 +22,7 @@ export const EmailHero = (props: Props) => { return ( @@ -39,6 +39,15 @@ export const EmailHero = (props: Props) => { href={`${process.env.SERVER_URL}/user/dashboard/fixed?utm_source=monitor-product&utm_medium=product-email&utm_campaign=${props.utm_campaign}&utm_content=header-logo${utmContentSuffix}`} align="left" width="200px" + css-class="monitor_logo_light_mode" + /> + { background-color: #e4d2ff; background-position-x: 0; } + + .monitor_logo_dark_mode { + display: none; + } } @media (prefers-color-scheme: dark) { @@ -39,6 +43,14 @@ export const HeaderStyles = () => { background: none !important; } + .monitor_logo_light_mode { + display: none; + } + + .monitor_logo_dark_mode { + display: inline; + } + * { color: #ffffff !important; }