Skip to content

Commit

Permalink
fix(card-group): make CTA card follow theme choice
Browse files Browse the repository at this point in the history
  • Loading branch information
m4olivei committed Dec 6, 2024
1 parent 93b5a4a commit 45a8358
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,10 @@ export const Default = (args) => {
if (cta) {
allCards.push(
html`
<c4d-card-group-item cta-type="local" href="https://example.com">
<c4d-card-group-item
cta-type="local"
href="https://example.com"
color-scheme=${colorSchemeMap[colorScheme]}>
<c4d-card-heading>Top level card link</c4d-card-heading>
<c4d-card-footer> </c4d-card-footer>
</c4d-card-group-item>
Expand All @@ -307,7 +310,10 @@ export const Default = (args) => {
if (cta) {
allCards.push(
html`
<c4d-card-group-item cta-type="local" href="https://example.com">
<c4d-card-group-item
cta-type="local"
href="https://example.com"
color-scheme=${colorSchemeMap[colorScheme]}>
<c4d-card-heading>Top level card link</c4d-card-heading>
<c4d-card-footer> </c4d-card-footer>
</c4d-card-group-item>
Expand Down

0 comments on commit 45a8358

Please sign in to comment.