Using SVG format in a HTML email
Hi,
we are looking into using media query in our HTML emails so our logo will work for both devices with dark mode and regular ones.
The idea is to use our logo in SVG format. Whenever the app uses dark mode, the color of the word/font will change to white.
just an example:
(prefers-color-scheme: dark) {
.darkmode { background-color: #111111 !important; }
.darkmode h1, .darkmode p, .darkmode span, .darkmode a { color: #ffffff !important; }
.dark-logo { display:block !important; width: auto !important; overflow: visible !important; float: none !important; max-height:inherit !important; max-width:inherit !important; line-height: auto !important; margin-top:0px !important; visibility:inherit !important; }
.light-logo { display:none; display:none !important; }
However, we are not able to upload SVG on ACS. We have found previous posts about this here but without a specific answer.
is it possible to use SVG on Campaign Standard?
cheers
PS: We already tried inserting the SVG code inside the HTML, but ACS does not like it. It keeps uploading the template forever.