diff --git a/public/images/email/footer-bg-shapes.png b/public/images/email/footer-bg-shapes.png deleted file mode 100644 index 960fbd4777f..00000000000 Binary files a/public/images/email/footer-bg-shapes.png and /dev/null differ diff --git a/public/images/email/hero-bg-gradient.png b/public/images/email/hero-bg-gradient.png deleted file mode 100644 index 570700aa11a..00000000000 Binary files a/public/images/email/hero-bg-gradient.png and /dev/null differ diff --git a/src/emails/components/EmailHero.tsx b/src/emails/components/EmailHero.tsx index 6065df99477..95e5c29c8d7 100644 --- a/src/emails/components/EmailHero.tsx +++ b/src/emails/components/EmailHero.tsx @@ -23,8 +23,8 @@ export const EmailHero = (props: Props) => { { - +

{props.heading}

diff --git a/src/emails/templates/EmailFooter.tsx b/src/emails/templates/EmailFooter.tsx index 05dfbd30bb3..566793f6d4b 100644 --- a/src/emails/templates/EmailFooter.tsx +++ b/src/emails/templates/EmailFooter.tsx @@ -120,7 +120,7 @@ export const RedesignedEmailFooter = (props: Props) => { diff --git a/src/emails/templates/HeaderStyles.tsx b/src/emails/templates/HeaderStyles.tsx index d225e0c7cfb..f4bc4e3d2fe 100644 --- a/src/emails/templates/HeaderStyles.tsx +++ b/src/emails/templates/HeaderStyles.tsx @@ -13,26 +13,12 @@ export const MetaTags = () => { }; export const HeaderStyles = () => { - const hideBgImageOnDarkMode = ` + const enforceLightMode = ` :root { color-scheme: light only; supported-color-schemes: light only; } - - .footer_background { - background-image: url(${process.env.SERVER_URL}/images/email/footer-bg-shapes.png); - background-position: center bottom; - background-repeat: no-repeat; - color: #000000 !important; - } - - .hero_background { - background-image: url(${process.env.SERVER_URL}/images/email/hero-bg-gradient.png); - background-repeat: repeat; - background-position-x: 0; - color: #000000 !important; - } `; - return {hideBgImageOnDarkMode}; + return {enforceLightMode}; };