@stacksjs/email 0.51.0 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -126,7 +126,7 @@ pnpm test
126
126
 
127
127
  Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
128
128
 
129
- ## 💪🏼 Contributing
129
+ ## 🚜 Contributing
130
130
 
131
131
  Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
132
132
 
package/dist/index.d.ts CHANGED
@@ -1,9 +1,82 @@
1
- export * as sendgrid from './drivers/sendgrid';
2
- export * as mailgun from './drivers/mailgun';
3
- export * as mailjet from './drivers/mailjet';
4
- export * as mandrill from './drivers/mandrill';
5
- export * as netcore from './drivers/netcore';
6
- export * as nodemailer from './drivers/nodemailer';
7
- export * as postmark from './drivers/postmark';
8
- export * as ses from './drivers/ses';
9
- export * as emailjs from './drivers/emailjs';
1
+ import { EmailOptions } from '@stacksjs/types';
2
+ import { ResultAsync } from '@stacksjs/error-handling';
3
+
4
+ declare function send$7(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>>;
5
+
6
+ declare namespace sendgrid {
7
+ export {
8
+ send$7 as Send,
9
+ send$7 as send,
10
+ };
11
+ }
12
+
13
+ declare function send$6(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>>;
14
+
15
+ declare namespace mailgun {
16
+ export {
17
+ send$6 as Send,
18
+ send$6 as send,
19
+ };
20
+ }
21
+
22
+ declare function send$5(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>>;
23
+
24
+ declare namespace mailjet {
25
+ export {
26
+ send$5 as Send,
27
+ send$5 as send,
28
+ };
29
+ }
30
+
31
+ declare function send$4(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>>;
32
+
33
+ declare namespace mandrill {
34
+ export {
35
+ send$4 as Send,
36
+ send$4 as send,
37
+ };
38
+ }
39
+
40
+ declare function send$3(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>>;
41
+
42
+ declare namespace netcore {
43
+ export {
44
+ send$3 as Send,
45
+ send$3 as send,
46
+ };
47
+ }
48
+
49
+ declare function send$2(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>>;
50
+
51
+ declare namespace nodemailer {
52
+ export {
53
+ send$2 as Send,
54
+ send$2 as send,
55
+ };
56
+ }
57
+
58
+ declare function send$1(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>>;
59
+
60
+ declare namespace postmark {
61
+ export {
62
+ send$1 as Send,
63
+ send$1 as send,
64
+ };
65
+ }
66
+
67
+ declare namespace ses {
68
+ export {
69
+ };
70
+ }
71
+
72
+ declare function send(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>>;
73
+
74
+ declare const emailjs_send: typeof send;
75
+ declare namespace emailjs {
76
+ export {
77
+ send as Send,
78
+ emailjs_send as send,
79
+ };
80
+ }
81
+
82
+ export { emailjs, mailgun, mailjet, mandrill, netcore, nodemailer, postmark, sendgrid, ses };
package/dist/index.mjs CHANGED
@@ -1,9 +1,232 @@
1
- export * as sendgrid from "./drivers/sendgrid.mjs";
2
- export * as mailgun from "./drivers/mailgun.mjs";
3
- export * as mailjet from "./drivers/mailjet.mjs";
4
- export * as mandrill from "./drivers/mandrill.mjs";
5
- export * as netcore from "./drivers/netcore.mjs";
6
- export * as nodemailer from "./drivers/nodemailer.mjs";
7
- export * as postmark from "./drivers/postmark.mjs";
8
- export * as ses from "./drivers/ses.mjs";
9
- export * as emailjs from "./drivers/emailjs.mjs";
1
+ import { SendgridEmailProvider } from '@novu/sendgrid';
2
+ import { notification } from '@stacksjs/config';
3
+ import { italic } from '@stacksjs/cli';
4
+ import { log } from '@stacksjs/logging';
5
+ import { ResultAsync } from '@stacksjs/error-handling';
6
+ import * as Maizzle from '@maizzle/framework';
7
+ import { MailgunEmailProvider } from '@novu/mailgun';
8
+ import { MailjetEmailProvider } from '@novu/mailjet';
9
+ import { MandrillProvider } from '@novu/mandrill';
10
+ import { NetCoreProvider } from '@novu/netcore';
11
+ import { NodemailerProvider } from '@novu/nodemailer';
12
+ import { PostmarkEmailProvider } from '@novu/postmark';
13
+ import { EmailJsProvider } from '@novu/emailjs';
14
+
15
+ const email$1 = notification.email;
16
+ const config$1 = {
17
+ email: email$1
18
+ };
19
+
20
+ const maizzleConfig = {
21
+ __proto__: null,
22
+ default: config$1,
23
+ email: email$1
24
+ };
25
+
26
+ const email = notification.email;
27
+ const config = {
28
+ ...email.build,
29
+ theme: {
30
+ screens: {
31
+ sm: "480px",
32
+ md: "768px",
33
+ lg: "976px",
34
+ xl: "1440px"
35
+ },
36
+ colors: {
37
+ "blue": "#1fb6ff",
38
+ "purple": "#7e5bef",
39
+ "pink": "#ff49db",
40
+ "orange": "#ff7849",
41
+ "green": "#13ce66",
42
+ "yellow": "#ffc82c",
43
+ "gray-dark": "#273444",
44
+ "gray": "#8492a6",
45
+ "gray-light": "#d3dce6"
46
+ },
47
+ fontFamily: {
48
+ sans: ["Graphik", "sans-serif"],
49
+ serif: ["Merriweather", "serif"]
50
+ },
51
+ extend: {
52
+ spacing: {
53
+ 128: "32rem",
54
+ 144: "36rem"
55
+ },
56
+ borderRadius: {
57
+ "4xl": "2rem"
58
+ }
59
+ }
60
+ }
61
+ };
62
+
63
+ async function send$8(options, provider, providerName, css) {
64
+ const template = `
65
+ <extends src="./core/notifications/src/utils/template.html">
66
+ <block name="template">
67
+ ${options.html}
68
+ </block>
69
+ </extends>`;
70
+ await Maizzle.render(
71
+ template,
72
+ {
73
+ tailwind: {
74
+ config,
75
+ css,
76
+ maizzle: maizzleConfig
77
+ }
78
+ }
79
+ ).then(({ html }) => {
80
+ options.html = html;
81
+ }).catch((error) => log.error(`Failed to render email template using provider: ${italic(providerName)}.`, error));
82
+ return ResultAsync.fromPromise(
83
+ provider.sendMessage(options),
84
+ () => new Error(`Failed to send message using provider: ${italic(providerName)}`)
85
+ );
86
+ }
87
+
88
+ const env$7 = notification.email;
89
+ const service$7 = notification.email?.drivers.sendgrid;
90
+ const driver = new SendgridEmailProvider({
91
+ apiKey: service$7?.key || "",
92
+ from: env$7?.from || "",
93
+ senderName: service$7?.senderName || ""
94
+ });
95
+ async function send$7(options, css) {
96
+ return send$8(options, driver, "Sendgrid", css);
97
+ }
98
+
99
+ const sendgrid = {
100
+ __proto__: null,
101
+ Send: send$7,
102
+ send: send$7
103
+ };
104
+
105
+ const env$6 = notification.email;
106
+ const service$6 = notification.email?.drivers.mailgun;
107
+ const provider$6 = new MailgunEmailProvider({
108
+ apiKey: service$6?.key || "",
109
+ domain: service$6?.domain || "",
110
+ username: service$6?.username || "",
111
+ from: env$6?.from || ""
112
+ });
113
+ async function send$6(options, css) {
114
+ return send$8(options, provider$6, "Mailgun", css);
115
+ }
116
+
117
+ const mailgun = {
118
+ __proto__: null,
119
+ Send: send$6,
120
+ send: send$6
121
+ };
122
+
123
+ const env$5 = notification.email;
124
+ const service$5 = notification.email?.drivers.mailjet;
125
+ const provider$5 = new MailjetEmailProvider({
126
+ apiKey: service$5?.key || "",
127
+ apiSecret: service$5?.secret || "",
128
+ from: env$5?.from || ""
129
+ });
130
+ async function send$5(options, css) {
131
+ return send$8(options, provider$5, "Mailjet", css);
132
+ }
133
+
134
+ const mailjet = {
135
+ __proto__: null,
136
+ Send: send$5,
137
+ send: send$5
138
+ };
139
+
140
+ const env$4 = notification.email;
141
+ const service$4 = notification.email?.drivers.mandrill;
142
+ const provider$4 = new MandrillProvider({
143
+ apiKey: service$4?.key || "",
144
+ from: env$4?.from || ""
145
+ });
146
+ async function send$4(options, css) {
147
+ return send$8(options, provider$4, "Mandrill", css);
148
+ }
149
+
150
+ const mandrill = {
151
+ __proto__: null,
152
+ Send: send$4,
153
+ send: send$4
154
+ };
155
+
156
+ const env$3 = notification.email;
157
+ const service$3 = notification.email?.drivers.netcore;
158
+ const provider$3 = new NetCoreProvider({
159
+ apiKey: service$3?.key || "",
160
+ from: env$3?.from || ""
161
+ });
162
+ async function send$3(options, css) {
163
+ return send$8(options, provider$3, "Netcore", css);
164
+ }
165
+
166
+ const netcore = {
167
+ __proto__: null,
168
+ Send: send$3,
169
+ send: send$3
170
+ };
171
+
172
+ const env$2 = notification.email;
173
+ const service$2 = notification.email?.drivers.nodemailer;
174
+ const provider$2 = new NodemailerProvider({
175
+ from: env$2?.from || "",
176
+ host: service$2?.host || "",
177
+ user: service$2?.user,
178
+ password: service$2?.password,
179
+ port: service$2?.port || 587,
180
+ secure: service$2?.secure
181
+ });
182
+ async function send$2(options, css) {
183
+ return send$8(options, provider$2, "Nodemailer", css);
184
+ }
185
+
186
+ const nodemailer = {
187
+ __proto__: null,
188
+ Send: send$2,
189
+ send: send$2
190
+ };
191
+
192
+ const env$1 = notification.email;
193
+ const service$1 = notification.email?.drivers.postmark;
194
+ const provider$1 = new PostmarkEmailProvider({
195
+ apiKey: service$1?.key || "",
196
+ from: env$1?.from || ""
197
+ });
198
+ async function send$1(options, css) {
199
+ return send$8(options, provider$1, "Postmark", css);
200
+ }
201
+
202
+ const postmark = {
203
+ __proto__: null,
204
+ Send: send$1,
205
+ send: send$1
206
+ };
207
+
208
+ const ses = {
209
+ __proto__: null
210
+ };
211
+
212
+ const env = notification.email;
213
+ const service = notification.email?.drivers.emailjs;
214
+ const provider = new EmailJsProvider({
215
+ from: env?.from || "",
216
+ host: service?.host || "",
217
+ user: service?.user,
218
+ password: service?.password,
219
+ port: service?.port || 587,
220
+ secure: service?.secure
221
+ });
222
+ async function send(options, css) {
223
+ return send$8(options, provider, "EmailJS", css);
224
+ }
225
+
226
+ const emailjs = {
227
+ __proto__: null,
228
+ Send: send,
229
+ send: send
230
+ };
231
+
232
+ export { emailjs, mailgun, mailjet, mandrill, netcore, nodemailer, postmark, sendgrid, ses };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/email",
3
3
  "type": "module",
4
- "version": "0.51.0",
5
- "packageManager": "pnpm@7.26.3",
4
+ "version": "0.52.0",
5
+ "packageManager": "pnpm@8.5.1",
6
6
  "description": "The Stacks Email integration. Painlessly create & manage your inboxes, templates, and send emails.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -31,7 +31,12 @@
31
31
  "postmark",
32
32
  "sendgrid"
33
33
  ],
34
- "main": "dist/index.mjs",
34
+ "exports": {
35
+ ".": {
36
+ "types": "./dist/index.d.ts",
37
+ "import": "./dist/index.mjs"
38
+ }
39
+ },
35
40
  "module": "dist/index.mjs",
36
41
  "types": "dist/index.d.ts",
37
42
  "contributors": [
@@ -41,36 +46,36 @@
41
46
  "dist",
42
47
  "README.md"
43
48
  ],
44
- "engines": {
45
- "node": ">=v18.14.0",
46
- "pnpm": ">=7.26.3"
47
- },
48
49
  "peerDependencies": {
49
- "@maizzle/framework": "^4.3.1",
50
- "@novu/emailjs": "^0.11.0",
51
- "@novu/mailgun": "^0.11.0",
52
- "@novu/mailjet": "^0.11.0",
53
- "@novu/mandrill": "^0.11.0",
54
- "@novu/netcore": "^0.11.0",
55
- "@novu/node": "^0.11.0",
56
- "@novu/nodemailer": "^0.11.0",
57
- "@novu/postmark": "^0.11.0",
58
- "@novu/sendgrid": "^0.11.0",
59
- "@novu/ses": "^0.11.0",
60
- "@novu/stateless": "^0.11.0",
61
- "@stacksjs/cli": "0.51.0",
62
- "@stacksjs/config": "0.51.0",
63
- "@stacksjs/error-handling": "0.51.0",
64
- "@stacksjs/types": "0.51.0"
50
+ "@maizzle/framework": "^4.4.4",
51
+ "@novu/emailjs": "^0.14.0",
52
+ "@novu/mailgun": "^0.14.0",
53
+ "@novu/mailjet": "^0.14.0",
54
+ "@novu/mandrill": "^0.14.0",
55
+ "@novu/netcore": "^0.14.0",
56
+ "@novu/node": "^0.14.0",
57
+ "@novu/nodemailer": "^0.14.0",
58
+ "@novu/postmark": "^0.14.0",
59
+ "@novu/sendgrid": "^0.14.0",
60
+ "@novu/ses": "^0.14.0",
61
+ "@novu/stateless": "^0.14.0",
62
+ "@stacksjs/cli": "0.52.0",
63
+ "@stacksjs/config": "0.52.0",
64
+ "@stacksjs/error-handling": "0.52.0",
65
+ "@stacksjs/types": "0.52.0"
66
+ },
67
+ "dependencies": {
68
+ "@stacksjs/cli": "0.52.0",
69
+ "@stacksjs/error-handling": "0.52.0",
70
+ "@stacksjs/logging": "0.52.0"
65
71
  },
66
72
  "devDependencies": {
67
- "mkdist": "^1.1.0",
68
- "typescript": "^4.9.5",
69
- "@stacksjs/testing": "0.51.0"
73
+ "@stacksjs/development": "0.52.0",
74
+ "@stacksjs/types": "0.52.0"
70
75
  },
71
76
  "scripts": {
72
- "build": "mkdist -d",
73
- "dev": "mkdist -d",
77
+ "build": "unbuild",
78
+ "dev": "unbuild --stub",
74
79
  "typecheck": "tsc --noEmit"
75
80
  }
76
81
  }
@@ -1,2 +0,0 @@
1
- import type { EmailOptions } from '@stacksjs/types';
2
- export declare function send(options: EmailOptions, provider: any, providerName: string, css?: string): Promise<import("neverthrow").Result<unknown, Error>>;
@@ -1,30 +0,0 @@
1
- import { italic } from "@stacksjs/cli";
2
- import { log } from "@stacksjs/logging";
3
- import { ResultAsync } from "@stacksjs/error-handling";
4
- import * as Maizzle from "@maizzle/framework";
5
- import * as maizzleConfig from "../utils/config.mjs";
6
- import { config } from "../tailwind.config.mjs";
7
- export async function send(options, provider, providerName, css) {
8
- const template = `
9
- <extends src="./core/notifications/src/utils/template.html">
10
- <block name="template">
11
- ${options.html}
12
- </block>
13
- </extends>`;
14
- await Maizzle.render(
15
- template,
16
- {
17
- tailwind: {
18
- config,
19
- css,
20
- maizzle: maizzleConfig
21
- }
22
- }
23
- ).then(({ html }) => {
24
- options.html = html;
25
- }).catch((error) => log.error(`Failed to render email template using provider: ${italic(providerName)}.`, error));
26
- return ResultAsync.fromPromise(
27
- provider.sendMessage(options),
28
- () => new Error(`Failed to send message using provider: ${italic(providerName)}`)
29
- );
30
- }
@@ -1,3 +0,0 @@
1
- import type { EmailOptions } from '@stacksjs/types';
2
- declare function send(options: EmailOptions, css?: string): Promise<import("neverthrow").Result<unknown, Error>>;
3
- export { send as Send, send };
@@ -1,16 +0,0 @@
1
- import { EmailJsProvider } from "@novu/emailjs";
2
- import { notification } from "@stacksjs/config";
3
- import { send as sendEmail } from "../actions/send.mjs";
4
- const env = notification.email.emailjs;
5
- const provider = new EmailJsProvider({
6
- from: env.from,
7
- host: env.host,
8
- user: env.user,
9
- password: env.password,
10
- port: env.port,
11
- secure: env.secure
12
- });
13
- async function send(options, css) {
14
- return sendEmail(options, provider, "EmailJS", css);
15
- }
16
- export { send as Send, send };
@@ -1,3 +0,0 @@
1
- import type { EmailOptions } from '@stacksjs/types';
2
- declare function send(options: EmailOptions, css?: string): Promise<import("neverthrow").Result<unknown, Error>>;
3
- export { send as Send, send };
@@ -1,14 +0,0 @@
1
- import { MailgunEmailProvider } from "@novu/mailgun";
2
- import { notification } from "@stacksjs/config";
3
- import { send as sendEmail } from "../actions/send.mjs";
4
- const env = notification.email.mailgun;
5
- const provider = new MailgunEmailProvider({
6
- apiKey: env.key,
7
- domain: env.domain,
8
- username: env.username,
9
- from: env.from
10
- });
11
- async function send(options, css) {
12
- return sendEmail(options, provider, "Mailgun", css);
13
- }
14
- export { send as Send, send };
@@ -1,3 +0,0 @@
1
- import type { EmailOptions } from '@stacksjs/types';
2
- declare function send(options: EmailOptions, css?: string): Promise<import("neverthrow").Result<unknown, Error>>;
3
- export { send as Send, send };
@@ -1,13 +0,0 @@
1
- import { MailjetEmailProvider } from "@novu/mailjet";
2
- import { notification } from "@stacksjs/config";
3
- import { send as sendEmail } from "../actions/send.mjs";
4
- const env = notification.email.mailjet;
5
- const provider = new MailjetEmailProvider({
6
- apiKey: env.key,
7
- apiSecret: env.secret,
8
- from: env.from
9
- });
10
- async function send(options, css) {
11
- return sendEmail(options, provider, "Mailjet", css);
12
- }
13
- export { send as Send, send };
@@ -1,3 +0,0 @@
1
- import type { EmailOptions } from '@stacksjs/types';
2
- declare function send(options: EmailOptions, css?: string): Promise<import("neverthrow").Result<unknown, Error>>;
3
- export { send as Send, send };
@@ -1,12 +0,0 @@
1
- import { MandrillProvider } from "@novu/mandrill";
2
- import { notification } from "@stacksjs/config";
3
- import { send as sendEmail } from "../actions/send.mjs";
4
- const env = notification.email.mandrill;
5
- const provider = new MandrillProvider({
6
- apiKey: env.key,
7
- from: env.from
8
- });
9
- async function send(options, css) {
10
- return sendEmail(options, provider, "Mandrill", css);
11
- }
12
- export { send as Send, send };
@@ -1,3 +0,0 @@
1
- import type { EmailOptions } from '@stacksjs/types';
2
- declare function send(options: EmailOptions, css?: string): Promise<import("neverthrow").Result<unknown, Error>>;
3
- export { send as Send, send };
@@ -1,12 +0,0 @@
1
- import { NetCoreProvider } from "@novu/netcore";
2
- import { notification } from "@stacksjs/config";
3
- import { send as sendEmail } from "../actions/send.mjs";
4
- const env = notification.email.netcore;
5
- const provider = new NetCoreProvider({
6
- apiKey: env.key,
7
- from: env.from
8
- });
9
- async function send(options, css) {
10
- return sendEmail(options, provider, "Netcore", css);
11
- }
12
- export { send as Send, send };
@@ -1,3 +0,0 @@
1
- import type { EmailOptions } from '@stacksjs/types';
2
- declare function send(options: EmailOptions, css?: string): Promise<import("neverthrow").Result<unknown, Error>>;
3
- export { send as Send, send };
@@ -1,16 +0,0 @@
1
- import { NodemailerProvider } from "@novu/nodemailer";
2
- import { notification } from "@stacksjs/config";
3
- import { send as sendEmail } from "../actions/send.mjs";
4
- const env = notification.email.nodemailer;
5
- const provider = new NodemailerProvider({
6
- from: env.from,
7
- host: env.host,
8
- user: env.user,
9
- password: env.password,
10
- port: env.port,
11
- secure: env.secure
12
- });
13
- async function send(options, css) {
14
- return sendEmail(options, provider, "Nodemailer", css);
15
- }
16
- export { send as Send, send };
@@ -1,3 +0,0 @@
1
- import type { EmailOptions } from '@stacksjs/types';
2
- declare function send(options: EmailOptions, css?: string): Promise<import("neverthrow").Result<unknown, Error>>;
3
- export { send as Send, send };
@@ -1,12 +0,0 @@
1
- import { PostmarkEmailProvider } from "@novu/postmark";
2
- import { notification } from "@stacksjs/config";
3
- import { send as sendEmail } from "../actions/send.mjs";
4
- const env = notification.email.postmark;
5
- const provider = new PostmarkEmailProvider({
6
- apiKey: env.key,
7
- from: env.from
8
- });
9
- async function send(options, css) {
10
- return sendEmail(options, provider, "Postmark", css);
11
- }
12
- export { send as Send, send };
@@ -1,3 +0,0 @@
1
- import type { EmailOptions } from '@stacksjs/types';
2
- declare function send(options: EmailOptions, css?: string): Promise<import("neverthrow").Result<unknown, Error>>;
3
- export { send as Send, send };
@@ -1,13 +0,0 @@
1
- import { SendgridEmailProvider } from "@novu/sendgrid";
2
- import { notification } from "@stacksjs/config";
3
- import { send as sendEmail } from "../actions/send.mjs";
4
- const config = notification.email.sendgrid;
5
- const driver = new SendgridEmailProvider({
6
- apiKey: config.key,
7
- from: config.from,
8
- senderName: config.senderName
9
- });
10
- async function send(options, css) {
11
- return sendEmail(options, driver, "Sendgrid", css);
12
- }
13
- export { send as Send, send };
@@ -1,3 +0,0 @@
1
- import type { EmailOptions } from '@stacksjs/types';
2
- declare function send(options: EmailOptions, css?: string): Promise<import("neverthrow").Result<unknown, Error>>;
3
- export { send as Send, send };
@@ -1,14 +0,0 @@
1
- import { SESEmailProvider } from "@novu/ses";
2
- import { notification } from "@stacksjs/config";
3
- import { send as sendEmail } from "../actions/send.mjs";
4
- const env = notification.email.ses;
5
- const provider = new SESEmailProvider({
6
- region: env.region,
7
- accessKeyId: env.key,
8
- secretAccessKey: env.secret,
9
- from: env.from
10
- });
11
- async function send(options, css) {
12
- return sendEmail(options, provider, "Ses", css);
13
- }
14
- export { send as Send, send };
@@ -1 +0,0 @@
1
- export declare const config: any;
@@ -1,37 +0,0 @@
1
- import { notification } from "@stacksjs/config";
2
- const email = notification.email;
3
- export const config = {
4
- ...email.build,
5
- theme: {
6
- screens: {
7
- sm: "480px",
8
- md: "768px",
9
- lg: "976px",
10
- xl: "1440px"
11
- },
12
- colors: {
13
- "blue": "#1fb6ff",
14
- "purple": "#7e5bef",
15
- "pink": "#ff49db",
16
- "orange": "#ff7849",
17
- "green": "#13ce66",
18
- "yellow": "#ffc82c",
19
- "gray-dark": "#273444",
20
- "gray": "#8492a6",
21
- "gray-light": "#d3dce6"
22
- },
23
- fontFamily: {
24
- sans: ["Graphik", "sans-serif"],
25
- serif: ["Merriweather", "serif"]
26
- },
27
- extend: {
28
- spacing: {
29
- 128: "32rem",
30
- 144: "36rem"
31
- },
32
- borderRadius: {
33
- "4xl": "2rem"
34
- }
35
- }
36
- }
37
- };
@@ -1,5 +0,0 @@
1
- export declare const email: any;
2
- declare const _default: {
3
- email: any;
4
- };
5
- export default _default;
@@ -1,5 +0,0 @@
1
- import { notification } from "@stacksjs/config";
2
- export const email = notification.email;
3
- export default {
4
- email
5
- };
@@ -1,8 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- </head>
5
- <body>
6
- Testing...
7
- <block name="template"></block>
8
- </body>