# HG changeset patch # User Daniel Dourvaris # Date 2018-10-29 10:15:33 # Node ID 475691003e6b1b1566dbb267888af02e9bb7938f # Parent c15445d51eb135d517edde01af04d0c8963e4657 emails: improve fonts and rendering of email htmls. - fixes #5505 diff --git a/rhodecode/templates/email_templates/base.mako b/rhodecode/templates/email_templates/base.mako --- a/rhodecode/templates/email_templates/base.mako +++ b/rhodecode/templates/email_templates/base.mako @@ -25,6 +25,13 @@ ${text} +## Constants +<% +text_regular = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;" +text_monospace = "'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace;" + +%> + ## headers we additionally can set for email <%def name="headers()" filter="n,trim"> @@ -47,7 +54,7 @@