E-mails: Replace primary-color variable with real value

This commit is contained in:
Benjamin Beganović 2021-02-22 11:32:52 +01:00
parent 035bdeda1f
commit 8254aa231b
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;