From 1575799800fb598492dafce0012cbd3fa7900640 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Fri, 15 Mar 2019 10:44:09 +0000 Subject: [Buckinghamshire] add branding to email templates Fixes mysociety/fixmystreet-commercial#1272 --- .../buckinghamshire/_email_color_overrides.html | 29 +++++++++++++++++++++ .../buckinghamshire/_email_setting_overrides.html | 5 ++++ web/cobrands/buckinghamshire/images/email-logo.png | Bin 0 -> 8520 bytes 3 files changed, 34 insertions(+) create mode 100644 templates/email/buckinghamshire/_email_color_overrides.html create mode 100644 templates/email/buckinghamshire/_email_setting_overrides.html create mode 100644 web/cobrands/buckinghamshire/images/email-logo.png 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 new file mode 100644 index 000000000..fab2eb153 Binary files /dev/null and b/web/cobrands/buckinghamshire/images/email-logo.png differ -- cgit v1.2.3