From a31d2ebe7531f4497925d55ad93690f4ba2a05f3 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Wed, 6 Nov 2024 14:45:32 +0100 Subject: [PATCH 1/4] fix: keep white text in dark-mode apple mail client --- .../productivity-report.html.mustache | 195 +++++++++++++++++- 1 file changed, 193 insertions(+), 2 deletions(-) diff --git a/src/mailtemplates/productivity-report/productivity-report.html.mustache b/src/mailtemplates/productivity-report/productivity-report.html.mustache index e3ce0a50f086..b9fab77b86f9 100644 --- a/src/mailtemplates/productivity-report/productivity-report.html.mustache +++ b/src/mailtemplates/productivity-report/productivity-report.html.mustache @@ -4,6 +4,17 @@ Your Unleash Productivity Report + @@ -11,7 +22,7 @@ style="max-width: 600px;margin: 24px auto;background-color: #ffffff;border-radius: 8px;border: 1px solid #f0f0f5;overflow: hidden;">
Unleash -
Your Monthly Productivity Report
+
Your Monthly Productivity Report
@@ -55,7 +66,7 @@
- Go to your Insights
@@ -76,6 +87,186 @@
+ + + + + + + + + + + + + + + + + +
+
+
+
+

A

+
+
+
+
+
+
+
+

B

+
+
+
+
+
+
+
+

C

+
+
+
+
+
+
+
+

D

+
+
+
+
+
+
+
+

E

+
+
+
+
+
+
+
+

F

+
+
+
+
+
+
+
+

1

+
+
+
+
+
+
+
+

2

+
+
+
+
+
+
+
+

3

+
+
+
+
+
+
+
+

4

+
+
+
+
+
+
+
+

5

+
+
+
+
+
+
+
+

6

+
+
+
+
+ + + + + + + + + + + + + + + + + +
+
+

A

+
+
+
+

B

+
+
+
+

C

+
+
+
+

D

+
+
+
+

E

+
+
+
+

F

+
+
+
+

1

+
+
+
+

2

+
+
+
+

3

+
+
+
+

4

+
+
+
+

5

+
+
+
+

6

+
+
From 48cc16387e0ccb2d5a603fb4a2380aa421661e0c Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Wed, 6 Nov 2024 14:57:46 +0100 Subject: [PATCH 2/4] add color-scheme --- .../productivity-report.html.mustache | 187 +----------------- 1 file changed, 2 insertions(+), 185 deletions(-) diff --git a/src/mailtemplates/productivity-report/productivity-report.html.mustache b/src/mailtemplates/productivity-report/productivity-report.html.mustache index b9fab77b86f9..499a1c78417b 100644 --- a/src/mailtemplates/productivity-report/productivity-report.html.mustache +++ b/src/mailtemplates/productivity-report/productivity-report.html.mustache @@ -4,16 +4,13 @@ Your Unleash Productivity Report + @@ -87,186 +84,6 @@ - - - - - - - - - - - - - - - - - -
-
-
-
-

A

-
-
-
-
-
-
-
-

B

-
-
-
-
-
-
-
-

C

-
-
-
-
-
-
-
-

D

-
-
-
-
-
-
-
-

E

-
-
-
-
-
-
-
-

F

-
-
-
-
-
-
-
-

1

-
-
-
-
-
-
-
-

2

-
-
-
-
-
-
-
-

3

-
-
-
-
-
-
-
-

4

-
-
-
-
-
-
-
-

5

-
-
-
-
-
-
-
-

6

-
-
-
-
- - - - - - - - - - - - - - - - - -
-
-

A

-
-
-
-

B

-
-
-
-

C

-
-
-
-

D

-
-
-
-

E

-
-
-
-

F

-
-
-
-

1

-
-
-
-

2

-
-
-
-

3

-
-
-
-

4

-
-
-
-

5

-
-
-
-

6

-
-
From 067f9be40ffa91578cbfaf362c137c38c5d501f4 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:22:50 +0100 Subject: [PATCH 3/4] fix: force light mode in apple mail --- .../productivity-report.html.mustache | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/mailtemplates/productivity-report/productivity-report.html.mustache b/src/mailtemplates/productivity-report/productivity-report.html.mustache index 499a1c78417b..a71761d0e57e 100644 --- a/src/mailtemplates/productivity-report/productivity-report.html.mustache +++ b/src/mailtemplates/productivity-report/productivity-report.html.mustache @@ -4,14 +4,8 @@ Your Unleash Productivity Report - - + + @@ -19,7 +13,7 @@ style="max-width: 600px;margin: 24px auto;background-color: #ffffff;border-radius: 8px;border: 1px solid #f0f0f5;overflow: hidden;">
Unleash -
Your Monthly Productivity Report
+
Your Monthly Productivity Report
@@ -63,9 +57,9 @@
- Go to your Insights + rel="noopener" target="_blank" x-apple-data-detectors="true">Go to your Insights