You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/MAIL_CUSTOMIZATION.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,13 @@ The application uses MJML for responsive email templates. The configuration for
6
6
7
7
### General Configuration
8
8
9
-
| Variable | Default | Description |
10
-
| :--- | :--- | :--- |
11
-
|`EMAIL_DEFAULT_THEME`|`dark`| Controls the default visual theme for emails. Available options are `light` and `dark`. |
12
-
13
9
### Logo Configuration
14
10
15
11
The logo is displayed in the header of the email.
16
12
17
13
| Variable | Default | Description |
18
14
| :--- | :--- | :--- |
19
-
|`EMAIL_LOGO_URL`|`/emails/logo.svg`| The URL to the logo image. Can be a relative path (which will be resolved against `APP_URL`) or an absolute URL. |
15
+
|`EMAIL_LOGO_URL`|`/emails/logo.svg`| The URL to the logo image. Can be a relative path (which will be resolved against `APP_URL`) or an absolute URL. Note: The dark theme uses `/emails/amazee-io-Logo-Black-White-IO.png` by default. |
20
16
|`EMAIL_LOGO_ALT`|`Company Logo`| The alternative text for the logo image. |
21
17
|`EMAIL_LOGO_WIDTH`|`150`| The width of the logo in pixels. |
22
18
|`EMAIL_LOGO_HEIGHT`|`auto`| The height of the logo in pixels. |
@@ -49,21 +45,25 @@ You can control the visibility and destination of links in the footer.
49
45
50
46
## Themes
51
47
52
-
Two themes are defined in `config/mail.php` by default:
53
-
54
-
### Light Theme (`light`)
55
-
-**Background**: Light gray (`#f0f4f8`)
56
-
-**Content**: White (`#ffffff`)
57
-
-**Footer**: Dark gray (`#263238`)
58
-
-**Links**: Cyan (`#0891b2`)
59
-
-**Logo**: Defaults to `/emails/amazee-logo-light.svg`
48
+
One theme is currently defined in `config/mail.php`:
60
49
61
50
### Dark Theme (`dark`)
62
51
-**Background**: Light gray (`#e5e7eb`)
63
52
-**Content**: White (`#ffffff`)
64
-
-**Header**: Dark gray (`#1f2937`)
65
-
-**Footer**: Very dark gray (`#111827`)
53
+
-**Header**: Light gray (`#f4f4f4`)
54
+
-**Footer**: Light gray (`#f4f4f4`)
55
+
-**Text**: Dark gray (`#333`)
66
56
-**Links**: Blue (`#2563eb`)
67
-
-**Logo**: Defaults to `/emails/amazee-logo-dark.svg`
The theme controls the color palette for the email body, header, footer, text, and buttons. You can select the active theme using `EMAIL_DEFAULT_THEME`.
0 commit comments