From beb304546c14d1572775bfc3d3e88d795b4d215b Mon Sep 17 00:00:00 2001 From: Mel Wong Date: Tue, 12 Dec 2023 15:26:16 -0800 Subject: [PATCH] TCI-1185: extend button styling for hero alt background --- source/_patterns/02-molecules/hero/_hero.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/_patterns/02-molecules/hero/_hero.scss b/source/_patterns/02-molecules/hero/_hero.scss index f260192ef..919573f52 100644 --- a/source/_patterns/02-molecules/hero/_hero.scss +++ b/source/_patterns/02-molecules/hero/_hero.scss @@ -199,6 +199,15 @@ $_config: map-merge-by-keys($_config_schemes, base, $_config_schemes, $scheme); } } +// Preserve inverse style for embedded buttons. +.jcc-button--primary, +.jcc-button--inverse { + .jcc-hero--background-alt & { + @extend .jcc-button--inverse; + @include u-color("primary", !important); + } +} + // CSS for background signature title .jcc-signature-bottom-right { @include u-position(absolute);