From 316fce2aef529a3f7b30ddd6022b6100be4358b3 Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Fri, 6 Sep 2024 14:44:48 -0500 Subject: [PATCH 1/2] enhance: white headings in s-footer --- src/lib/_imports/trumps/s-footer.css | 6 +++ src/lib/_imports/trumps/s-footer/config.yml | 8 ++++ src/lib/_imports/trumps/s-footer/s-footer.hbs | 44 ++++++++++++++----- 3 files changed, 47 insertions(+), 11 deletions(-) diff --git a/src/lib/_imports/trumps/s-footer.css b/src/lib/_imports/trumps/s-footer.css index d5d3fec8d..04eb4b2c9 100644 --- a/src/lib/_imports/trumps/s-footer.css +++ b/src/lib/_imports/trumps/s-footer.css @@ -1,3 +1,5 @@ +@import url("../tools/selectors.css"); + @import url("./s-footer.properties.css"); .s-footer { @@ -23,6 +25,10 @@ color: var(--global-color-accent--light-old); } +.s-footer :--heading { + color: var(--global-color-primary--xx-light); +} + /* Let paragraphs behave normally */ .s-footer > p { margin: revert; diff --git a/src/lib/_imports/trumps/s-footer/config.yml b/src/lib/_imports/trumps/s-footer/config.yml index 70be07a9d..5254c1e73 100644 --- a/src/lib/_imports/trumps/s-footer/config.yml +++ b/src/lib/_imports/trumps/s-footer/config.yml @@ -25,3 +25,11 @@ variants: context: shouldLoadPortal: true shouldSkipPattern: true + - name: complex + status: prototype + context: + modifier: thick + isComplex: true + bodyContent: More complex footers may inlcude heading(s) and list(s) of links. + shouldLoadCMS: true + shouldLoadBootstrap: true diff --git a/src/lib/_imports/trumps/s-footer/s-footer.hbs b/src/lib/_imports/trumps/s-footer/s-footer.hbs index dce3459c8..7fb77c11d 100644 --- a/src/lib/_imports/trumps/s-footer/s-footer.hbs +++ b/src/lib/_imports/trumps/s-footer/s-footer.hbs @@ -6,19 +6,41 @@ Sample body content. Footer is at bottom of page. {{/if}}

-

{{#if shouldLoadCMS}} - CMS always uses thick footer. - {{else if shouldLoadPortal}} - Portal always uses thin footer. - {{/if}} +

+ CMS always uses thick footer.

- -