From 5f96512d30e90e45def837948cf40dda2d331d4c Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Fri, 8 Oct 2021 15:55:55 +0200 Subject: [PATCH] Link color udpate in newsletter - Updated newsletter emails template to use accent color as link in post content --- core/server/services/mega/template.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/core/server/services/mega/template.js b/core/server/services/mega/template.js index 4739b4ee1d..c6c218c7bb 100644 --- a/core/server/services/mega/template.js +++ b/core/server/services/mega/template.js @@ -173,7 +173,7 @@ blockquote cite a { } a { - color: #15212A; + color: ${templateSettings.accentColor || '#15212A'}; text-decoration: none; } @@ -300,6 +300,10 @@ figure blockquote p { padding-bottom: 50px; } +.site-title { + color: #15212A; +} + .post-title { padding-bottom: 10px; font-size: 42px; @@ -386,7 +390,7 @@ figure blockquote p { .post-content a, .post-content-sans-serif a { - color: #08121A; + color: ${templateSettings.accentColor || '#08121A'}; text-decoration: underline; } @@ -936,7 +940,7 @@ ${ templateSettings.showBadge ? ` ` : ``} ${ templateSettings.showHeaderTitle ? ` -
${site.title}
+
${site.title}
` : ``}