Skip to content

Commit

Permalink
TCI-1185: extend button styling for hero alt background
Browse files Browse the repository at this point in the history
  • Loading branch information
melwong-jcc committed Dec 12, 2023
1 parent 4479e76 commit beb3045
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions source/_patterns/02-molecules/hero/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit beb3045

Please sign in to comment.