Skip to content

Commit

Permalink
Test to add dark mode support
Browse files Browse the repository at this point in the history
  • Loading branch information
saravahdatipour committed Jan 31, 2025
1 parent a59b085 commit c02c4a9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/email-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
/* Base styles for body */
Expand All @@ -14,6 +16,9 @@
line-height: 1.5;
color: #b9113d;
}
table td {
color: #b9113d !important;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/email-nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
/* Base styles for body */
Expand All @@ -15,6 +17,10 @@
color: #b9113d;
}

table td {
color: #b9113d !important;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
body {
Expand Down

0 comments on commit c02c4a9

Please sign in to comment.