1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Inline CSS for e-mails (#3718)

* Add laravel-mail-css-inliner

* fix typo

* production builds

Co-authored-by: David Bomba <turbo124@gmail.com>
This commit is contained in:
Benjamin Beganović 2020-05-19 15:01:06 +02:00 committed by GitHub
parent 6e473b9987
commit b036d370c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 2 deletions

View File

@ -27,6 +27,7 @@
"composer/composer": "^1.10",
"dacastro4/laravel-gmail": "^3.2",
"doctrine/dbal": "^2.10",
"fedeisas/laravel-mail-css-inliner": "2.3",
"fideloper/proxy": "^4.0",
"fzaninotto/faker": "^1.4",
"google/apiclient": "^2.0",

20
config/css-inliner.php Normal file
View File

@ -0,0 +1,20 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Css Files
|--------------------------------------------------------------------------
|
| Css file of your style for your emails
| The content of these files will be added directly into the inliner
| Use absolute paths, ie. public_path('css/main.css')
|
*/
'css-files' => [
public_path('css/app.css'),
],
];

2
public/css/app.css vendored

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"/js/app.js": "/js/app.js?id=49b0ee243139f6e72bd9",
"/css/app.css": "/css/app.css?id=1eeeaa187be823b49020",
"/css/app.css": "/css/app.css?id=c5a1e62f4e6c9fc24232",
"/js/clients/invoices/action-selectors.js": "/js/clients/invoices/action-selectors.js?id=3e58537817b968346c9f",
"/js/clients/invoices/payment.js": "/js/clients/invoices/payment.js?id=af49e24958be5fc00c92",
"/js/clients/payment_methods/authorize-stripe-card.js": "/js/clients/payment_methods/authorize-stripe-card.js?id=f4c45f0da9868d840799",