mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
💄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:
parent
417a4c7281
commit
a1663bea91
@ -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) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user