diff --git a/CHANGELOG.md b/CHANGELOG.md index af4baf4..56a5f50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.4] - 22.09.2023 + +### Changes +* Extension of overwriting properties: Pre-Header text and colored footer width +* Dependency updates + +[1.1.4]: https://github.com/bsi-software/bsi-cx-design-standard-library-email/releases/tag/1.1.4 + + ## [1.1.3] - 05.06.2023 ### Changes diff --git a/content-elements/base/header-preheader/prototype/template.twig b/content-elements/base/header-preheader/prototype/template.twig index 2671cdd..980ef3c 100644 --- a/content-elements/base/header-preheader/prototype/template.twig +++ b/content-elements/base/header-preheader/prototype/template.twig @@ -7,20 +7,22 @@ {% set preHeaderElementId = elementId ?: 'header-preheader-cVwk8f' %} {% set preHeaderPreviewPartId = previewPartId ?: 'header-preheader-part-preview-rWi96c' %} {% set preHeaderTextPartId = textPartId ?: 'header-preheader-part-text-dpjafj' %} + {% set preHeaderInfoText = (infoText ?: properties.preHeaderInfoText) ?: 'Pre-header text here. | ' %} + {% set preHeaderLinkText = (linkText ?: properties.preHeaderLinkText) ?: 'View in Browser' %} {% set preHeaderTextColor = (textColor ?: properties.baseTextColor) ?: '#000000' %} {% set preHeaderLinkColor = (linkColor ?: properties.linkColor) ?: '#93C120' %} {% set preHeaderFontFamily = (fontFamily ?: properties.baseFontFamily) ?: 'Open Sans, Segoe UI, Apple SD Gothic Neo, Lucida Grande, Lucida Sans Unicode, sans‑serif' %} - {% set preHeaderFontSize = (fontSize ?: properties.fontSizePreheader) ?: 14 %} + {% set preHeaderFontSize = (fontSize ?: properties.fontSizePreHeader) ?: 14 %} {% set preHeaderLineHeight = preHeaderFontSize + 4 %} {% set preHeaderMarginBottom = (marginBottom ?: properties.baseMarginBottom) ?: 12 %}