diff options
author | Struan Donald <struan@exo.org.uk> | 2019-03-15 10:44:09 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-04-02 15:01:20 +0100 |
commit | 1575799800fb598492dafce0012cbd3fa7900640 (patch) | |
tree | 6604bfeca7764d4313274d1c88977a3cd2d080b2 | |
parent | bea983f2b452583373426ed77672144ce5956a46 (diff) |
[Buckinghamshire] add branding to email templates
Fixes mysociety/fixmystreet-commercial#1272
-rw-r--r-- | templates/email/buckinghamshire/_email_color_overrides.html | 29 | ||||
-rw-r--r-- | templates/email/buckinghamshire/_email_setting_overrides.html | 5 | ||||
-rw-r--r-- | web/cobrands/buckinghamshire/images/email-logo.png | bin | 0 -> 8520 bytes |
3 files changed, 34 insertions, 0 deletions
diff --git a/templates/email/buckinghamshire/_email_color_overrides.html b/templates/email/buckinghamshire/_email_color_overrides.html new file mode 100644 index 000000000..672a1ae3b --- /dev/null +++ b/templates/email/buckinghamshire/_email_color_overrides.html @@ -0,0 +1,29 @@ +[% + +color_bucks_green = '#97c34b' +color_bucks_dark_green = '#547f35' +color_bucks_text = '#2e3137' +color_bucks_grey = '#eaeaea' + + +body_background_color = color_white +body_text_color = color_bucks_text + +header_background_color = color_white +header_text_color = color_bucks_text + +button_background_color = color_bucks_text +button_text_color = color_white + +secondary_column_background_color = color_white +secondary_column_text_color = color_bucks_text +column_divider_color = color_bucks_grey + +logo_width = '88' +logo_height = '94' +logo_file = "email-logo.png" + +header_background_color = color_white +header_padding = "10px 0 10px 0" # a full CSS padding property (eg: top/right/bottom/left) + +%] diff --git a/templates/email/buckinghamshire/_email_setting_overrides.html b/templates/email/buckinghamshire/_email_setting_overrides.html new file mode 100644 index 000000000..b6bc2b983 --- /dev/null +++ b/templates/email/buckinghamshire/_email_setting_overrides.html @@ -0,0 +1,5 @@ +[% + +header_style = "padding: $header_padding; background: $header_background_color; color: $header_text_color; border-bottom: 5px solid $color_bucks_grey; border-top: 5px solid $color_bucks_green;" + +%] diff --git a/web/cobrands/buckinghamshire/images/email-logo.png b/web/cobrands/buckinghamshire/images/email-logo.png Binary files differnew file mode 100644 index 000000000..fab2eb153 --- /dev/null +++ b/web/cobrands/buckinghamshire/images/email-logo.png |