💄Updated newsletter design to use accent color

no issue

- Updates newsletter design to use accent color for blockquote border if present
This commit is contained in:
Rish 2021-01-15 19:31:57 +05:30 committed by Rishabh Garg
parent 417a4c7281
commit a1663bea91
2 changed files with 3 additions and 2 deletions

View File

@ -156,7 +156,8 @@ const serialize = async (postModel, options = {isBrowserPreview: false}) => {
showSiteHeader: settingsCache.get('newsletter_show_header'),
bodyFontCategory: settingsCache.get('newsletter_body_font_category'),
showBadge: settingsCache.get('newsletter_show_badge'),
footerContent: settingsCache.get('newsletter_footer_content')
footerContent: settingsCache.get('newsletter_footer_content'),
accentColor: settingsCache.get('accent_color')
};
let htmlTemplate = template({post, site: getSite(), templateSettings});
if (options.isBrowserPreview) {

View File

@ -145,7 +145,7 @@ dd {
blockquote {
margin: 2em 0;
padding: 0 25px 0 25px;
border-left: #15212A 2px solid;
border-left: ${templateSettings.accentColor || '#15212A'} 2px solid;
font-style: italic;
font-size: 20px;
line-height: 1.75em;