1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01: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> <p>{{ $greeting }}</p>
@endif @endif
<p>{{ $title }}</p> <h2>{{ $title }}</h2>
<p>{{ $message }}</p> <p>{{ $message }}</p>

View File

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