Skip to content

Commit e300211

Browse files
author
Blaize Kaye
committed
Updates email config details
1 parent 646a80d commit e300211

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/MAIL_CUSTOMIZATION.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,13 @@ The application uses MJML for responsive email templates. The configuration for
66

77
### General Configuration
88

9-
| Variable | Default | Description |
10-
| :--- | :--- | :--- |
11-
| `EMAIL_DEFAULT_THEME` | `dark` | Controls the default visual theme for emails. Available options are `light` and `dark`. |
12-
139
### Logo Configuration
1410

1511
The logo is displayed in the header of the email.
1612

1713
| Variable | Default | Description |
1814
| :--- | :--- | :--- |
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. |
2016
| `EMAIL_LOGO_ALT` | `Company Logo` | The alternative text for the logo image. |
2117
| `EMAIL_LOGO_WIDTH` | `150` | The width of the logo in pixels. |
2218
| `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.
4945

5046
## Themes
5147

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`:
6049

6150
### Dark Theme (`dark`)
6251
- **Background**: Light gray (`#e5e7eb`)
6352
- **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`)
6656
- **Links**: Blue (`#2563eb`)
67-
- **Logo**: Defaults to `/emails/amazee-logo-dark.svg`
57+
- **Primary Button Background**: Black (`#000000`)
58+
- **Primary Button Text**: White (`#ffffff`)
59+
- **Logo**: `/emails/amazee-io-Logo-Black-White-IO.png`
60+
61+
### Typography Settings
62+
63+
The dark theme includes typography configuration:
64+
- **Font Family**: `sans-serif`
65+
- **Heading Color**: `#333`
66+
- **Body Font Size**: `16px`
67+
- **Heading Font Size**: `24px`
68+
6869

69-
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

Comments
 (0)