|
@@ 18-20 (lines=3) @@
|
15 |
|
|
16 |
|
// Load colours |
17 |
|
$bg = '#f5f5f5'; |
18 |
|
if( isset( Sensei()->settings->settings['email_background_color'] ) && '' != Sensei()->settings->settings['email_background_color'] ) { |
19 |
|
$bg = Sensei()->settings->settings['email_background_color']; |
20 |
|
} |
21 |
|
|
22 |
|
$body = '#fdfdfd'; |
23 |
|
if( isset( Sensei()->settings->settings['email_body_background_color'] ) && '' != Sensei()->settings->settings['email_body_background_color'] ) { |
|
@@ 23-25 (lines=3) @@
|
20 |
|
} |
21 |
|
|
22 |
|
$body = '#fdfdfd'; |
23 |
|
if( isset( Sensei()->settings->settings['email_body_background_color'] ) && '' != Sensei()->settings->settings['email_body_background_color'] ) { |
24 |
|
$body = Sensei()->settings->settings['email_body_background_color']; |
25 |
|
} |
26 |
|
|
27 |
|
$base = '#557da1'; |
28 |
|
if( isset( Sensei()->settings->settings['email_base_color'] ) && '' != Sensei()->settings->settings['email_base_color'] ) { |
|
@@ 28-30 (lines=3) @@
|
25 |
|
} |
26 |
|
|
27 |
|
$base = '#557da1'; |
28 |
|
if( isset( Sensei()->settings->settings['email_base_color'] ) && '' != Sensei()->settings->settings['email_base_color'] ) { |
29 |
|
$base = Sensei()->settings->settings['email_base_color']; |
30 |
|
} |
31 |
|
$base_text = sensei_light_or_dark( $base, '#202020', '#ffffff' ); |
32 |
|
|
33 |
|
$text = '#505050'; |
|
@@ 34-36 (lines=3) @@
|
31 |
|
$base_text = sensei_light_or_dark( $base, '#202020', '#ffffff' ); |
32 |
|
|
33 |
|
$text = '#505050'; |
34 |
|
if( isset( Sensei()->settings->settings['email_text_color'] ) && '' != Sensei()->settings->settings['email_text_color'] ) { |
35 |
|
$text = Sensei()->settings->settings['email_text_color']; |
36 |
|
} |
37 |
|
|
38 |
|
$bg_darker_10 = sensei_hex_darker( $bg, 10 ); |
39 |
|
$base_lighter_20 = sensei_hex_lighter( $base, 20 ); |