Skip to content
Snippets Groups Projects
Commit e01c4202 authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

Prevent darkmode to apply on mails for most clients

parent e766d05e
No related branches found
No related tags found
1 merge request!374Prevent darkmode to apply on mails for most clients
...@@ -25,7 +25,11 @@ export default class MailService { ...@@ -25,7 +25,11 @@ export default class MailService {
<title>Bienvenue sur Ecolyo</title> <title>Bienvenue sur Ecolyo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="only">
<style type="text/css"> <style type="text/css">
:root {
color-scheme: light only;
}
@font-face { @font-face {
font-family: 'Lato'; font-family: 'Lato';
font-style: normal; font-style: normal;
...@@ -445,7 +449,11 @@ export default class MailService { ...@@ -445,7 +449,11 @@ export default class MailService {
<title>Votre bilan mensuel</title> <title>Votre bilan mensuel</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="only">
<style type="text/css"> <style type="text/css">
:root {
color-scheme: light only;
}
@font-face { @font-face {
font-family: 'Lato'; font-family: 'Lato';
font-style: normal; font-style: normal;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment