diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2019-11-20 11:59:13 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-12-09 12:48:12 +0000 |
commit | e2805cc234a384db0cc7ea3c2eece829502c60e9 (patch) | |
tree | d9f90805126118ae97f4375c478cfe9bfc7cad0f | |
parent | d9377a630f1a5ca3d0c4ea4ca9738c1d0fe8e1e2 (diff) |
[TfL] Improve contrast for email top/bottom text
-rw-r--r-- | templates/email/tfl/_email_color_overrides.html | 5 | ||||
-rw-r--r-- | templates/email/tfl/_email_setting_overrides.html | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/templates/email/tfl/_email_color_overrides.html b/templates/email/tfl/_email_color_overrides.html index 23a78980d..4564675dc 100644 --- a/templates/email/tfl/_email_color_overrides.html +++ b/templates/email/tfl/_email_color_overrides.html @@ -3,6 +3,11 @@ color_blue = '#001aa8' color_black = '#000000' color_white = '#FFFFFF' +color_tfl_grey = '#414b56' +color_tfl_pale_blue = '#eff6fd' + +body_background_color = color_tfl_pale_blue +body_text_color = color_tfl_grey header_background_color = color_blue header_text_color = color_white diff --git a/templates/email/tfl/_email_setting_overrides.html b/templates/email/tfl/_email_setting_overrides.html new file mode 100644 index 000000000..00eeed9cc --- /dev/null +++ b/templates/email/tfl/_email_setting_overrides.html @@ -0,0 +1,7 @@ +[% + +only_column_style = "$only_column_style border: 1px solid $column_divider_color; border-top: none;" +primary_column_style = "$primary_column_style border: 1px solid $column_divider_color; border-top: none;" +secondary_column_style = "vertical-align: top; width: 50%; background-color: $secondary_column_background_color; color: $secondary_column_text_color; border: 1px solid $column_divider_color; border-top: none; border-left: none;" + +%] |