testio-tailwind 3.1.0 → 3.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testio-tailwind",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "Tailwind based design system for Test IO",
5
5
  "scripts": {
6
6
  "clean": "del dist --force",
@@ -9,8 +9,9 @@ tags: testinatorEmail
9
9
  html(lang="en")
10
10
  head
11
11
  meta(content='text/html; charset=UTF-8', http-equiv='Content-Type')
12
- title test IO
12
+ title Testinator
13
13
  meta(content='width=device-width', name='viewport')
14
+ meta(name='color-scheme', content="light dark")
14
15
  style(type='text/css').
15
16
 
16
17
  /* RESET STYLES */
@@ -58,8 +59,6 @@ html(lang="en")
58
59
 
59
60
  /*/// Custom styles ///*/
60
61
 
61
-
62
-
63
62
  table {
64
63
  border-collapse: collapse !important;
65
64
  }
@@ -130,35 +129,12 @@ html(lang="en")
130
129
  max-width: 600px;
131
130
  }
132
131
 
133
- .email-header {
134
- padding-top: 20px;
135
- }
136
-
137
132
  .emailheader-logo {
138
133
  display: block;
139
- width: 280px;
140
- height: 64px;
141
- max-width: 100%;
142
- }
143
-
144
- .space-logo-container {
145
- padding: 30px;
146
- height: 120px;
147
- background-color: #78EAC1;
148
- border-radius: 10px 10px 0 0;
149
- }
150
-
151
- .space-title {
152
- font-family: Open Sans, Helvetica, Arial, sans-serif;
153
- color: #FFFFFF;
154
- font-size: 16px;
155
- }
156
-
157
- .space-logo {
158
134
  width: 100%;
159
135
  height: auto;
160
- max-width: 300px;
161
- max-height: 150px;
136
+ max-width: 100%;
137
+ margin-top: 40px;
162
138
  margin-bottom: 0;
163
139
  }
164
140
 
@@ -236,31 +212,33 @@ html(lang="en")
236
212
  color: #666666;
237
213
  margin-right: 40px;
238
214
  }
239
-
240
- a.email-button {
241
- display: block;
242
- min-height: 25px;
243
- min-width: 100px;
244
- margin-left: 20% !important;
245
- margin-right: 20% !important;
246
- margin-top: 15px;
247
- margin-bottom: 30px;
248
- padding: 0 10px !important;
249
- font-size: 18px;
250
- font-weight: 500;
251
- font-style: bold;
252
- text-decoration: none;
253
- text-align: center;
254
- color: #222222;
255
- background-color: #78EAC1;
256
- border-top: 15px solid #78eac1;
257
- border-bottom: 15px solid #78eac1;
258
- border-left: 15px solid #78eac1;
259
- border-right: 15px solid #78eac1;
260
- border-radius: 30px;
261
- -webkit-border-radius: 30px;
262
- outline: none;
263
- }
215
+ @media (prefers-color-scheme: dark) {
216
+ .email-button,
217
+ a.email-button,
218
+ a.intercom-h2b-button {
219
+ display: block;
220
+ min-height: 25px;
221
+ min-width: 100px;
222
+ margin-left: 20% !important;
223
+ margin-right: 20% !important;
224
+ margin-top: 15px;
225
+ margin-bottom: 30px;
226
+ padding: 10px 20px !important;
227
+ font-size: 18px;
228
+ line-height: 1.5;
229
+ font-weight: 500;
230
+ text-decoration: none;
231
+ text-align: center;
232
+ color: #222222;
233
+ background-color: #78EAC1;
234
+ background:linear-gradient(to right,#78EAC1,#78EAC1);
235
+ border-radius: 30px;
236
+ -webkit-border-radius: 30px;
237
+ outline: none;
238
+ }
239
+ }
240
+ .email-button,
241
+ a.email-button,
264
242
  a.intercom-h2b-button {
265
243
  display: block;
266
244
  min-height: 25px;
@@ -269,27 +247,20 @@ html(lang="en")
269
247
  margin-right: 20% !important;
270
248
  margin-top: 15px;
271
249
  margin-bottom: 30px;
272
- padding: 0 10px !important;
250
+ padding: 10px 20px !important;
273
251
  font-size: 18px;
252
+ line-height: 1.5;
274
253
  font-weight: 500;
275
- font-style: bold;
276
254
  text-decoration: none;
277
255
  text-align: center;
278
256
  color: #222222;
279
257
  background-color: #78EAC1;
280
- border-top: 15px solid #78EAC1;
281
- border-bottom: 15px solid #78EAC1;
282
- border-left: 15px solid #78EAC1;
283
- border-right: 15px solid #78EAC1;
258
+ background:linear-gradient(to right,#78EAC1,#78EAC1);
284
259
  border-radius: 30px;
285
260
  -webkit-border-radius: 30px;
286
261
  outline: none;
287
262
  }
288
- .button-wrapper {
289
- text-align: center;
290
- background-color: #236a84;
291
- padding: 40px 0;
292
- }
263
+
293
264
  a.wrapped {
294
265
  margin-left: 0;
295
266
  background-color: #fff;
@@ -304,11 +275,12 @@ html(lang="en")
304
275
  body
305
276
  table(border='0', cellpadding='0', cellspacing='0', width='100%')
306
277
  tr
307
- td.mobile-padding.email-header
278
+ td.mobile-padding
308
279
  table.email-wrapper(align='center', border='0', cellpadding='0', cellspacing='0', width='100%')
309
280
  tr
310
- td.space-logo-container(align='center')
311
- img.space-logo(src='/assets/images/logo_testinator/testinator_logo_purpleteal_black_1000px.png', alt='Logo')
281
+ td.email-header(align='left')
282
+ a(target='_blank', href='http://testinator.ai')
283
+ img.emailheader-logo(src='/assets/images/assets_testinator/testinator_email_header.png', alt='Logo')
312
284
  table(border='0', cellpadding='0', cellspacing='0', width='100%')
313
285
  tr
314
286
  td.mobile-padding
@@ -322,7 +294,7 @@ html(lang="en")
322
294
  | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer feugiat facilisis purus at scelerisque. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Etiam tincidunt porttitor eros, vitae vestibulum dui facilisis eu. Cras eu ipsum lacus. Integer faucibus iaculis lorem, quis pretium leo rhoncus eget. Duis sodales tincidunt est a pretium. Nunc orci nisl, dignissim non pretium sed, fermentum vel purus. Sed quis enim rhoncus leo dapibus molestie in eu risus. Sed tincidunt tristique urna. Nullam accumsan tincidunt sem vitae fermentum. Nunc est nulla, adipiscing et laoreet nec,
323
295
  a(target='_blank', href='http://testinator.ai') convallis vel ante
324
296
  | . Quisque cursus, odio ac pharetra tristique, diam felis lobortis orci, at blandit sem mauris eget lacus. Ut placerat posuere lacus, nec suscipit libero iaculis in.
325
- a.email-button(href='#') email-button
297
+ a.email-button(target='_blank', href='http://testinator.ai') email-button
326
298
  img(src='/assets/images/placeholders/Approaches-desktop.png')
327
299
  h2 Here's an h2 heading for structuring the content
328
300
  p Fusce eget augue quam. Maecenas vehicula ligula in nibh dapibus sollicitudin. Donec eget vulputate mauris. Duis fringilla nunc vitae quam euismod non interdum orci aliquet. Duis at lacus erat, sed ultricies felis. Phasellus faucibus mauris vel odio iaculis ullamcorper. In hac habitasse platea dictumst. Integer id odio justo. Ut a ligula arcu. Vestibulum nec quam justo. Suspendisse molestie neque a enim accumsan auctor ornare lacus pellentesque. Praesent vitae lectus vitae sapien scelerisque auctor.
@@ -330,7 +302,7 @@ html(lang="en")
330
302
  h3 H3 New announcements
331
303
  p.email-card
332
304
  | A card containing some very important: Ut facilisis auctor dolor, et fringilla turpis suscipit et. Pellentesque ipsum risus, vehicula eu rutrum non, ornare aliquam lectus. Donec sed tortor ut quam ultrices tincidunt. Sed sagittis tincidunt pulvinar.
333
- a.intercom-h2b-button(href='#') intercom-h2b-button
305
+ a.intercom-h2b-button(target='_blank', href='http://testinator.ai') intercom-h2b-button
334
306
  table.email-footer(border='0', cellpadding='0', cellspacing='0', width='100%')
335
307
  tr
336
308
  td.mobile-padding
@@ -0,0 +1,10 @@
1
+ ---
2
+ tags: testinator
3
+ title: Testinator assets
4
+ ---
5
+
6
+ .grid.gap-md.grid-cols-2{class:"xl:grid-cols-3 2xl:grid-cols-4"}
7
+ %a.block{href:"/assets/images/assets_testinator/testinator_email_header.png"}
8
+ %img.bg-gray-lightest.p-md{src:"/assets/images/assets_testinator/testinator_email_header.png"}
9
+ .text-xs.mt-2 Email header PNG
10
+