1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 17:01:33 +02:00

Merge pull request #4963 from beganovich/v5-2202-fixes-for-gmail-emails

(v5) E-mails: Replace primary-color variable with real value
This commit is contained in:
Benjamin Beganović 2021-02-22 11:34:21 +01:00 committed by GitHub
commit 408c93a458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
<p>{{ $greeting }}</p>
@endif
<p>{{ $title }}</p>
<h2>{{ $title }}</h2>
<p>{{ $message }}</p>

View File

@ -19,7 +19,7 @@
}
.primary-color-bg {
background-color: var(--primary-color);
background-color: {{ isset($settings) ? $settings->primary_color : '#4caf50' }};
}
#email-content h1, h2, h3, h4 {
@ -33,11 +33,11 @@
display: block;
color: {{ $design == 'light' ? 'black' : 'white' }};
padding-bottom: 20px;
padding-top: 20px;
/*padding-top: 20px;*/
}
.button {
background-color: var(--primary-color);
background-color: {{ isset($settings) ? $settings->primary_color : '#4caf50' }};
color: white;
padding: 10px 16px;
text-decoration: none;