Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Inherit link color in components using th…
Browse files Browse the repository at this point in the history
…e Feedback color collection (#492)
  • Loading branch information
adamkudrna committed Nov 27, 2024
1 parent f4da63d commit d288c21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Card/Card.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 1. Retain equal card widths in flex and grid layouts independently on their content.
// 2. For Cards, links theming is disabled for the light color from the Neutral color collection.

@use "../../styles/tools/collections";
@use "settings";
Expand Down Expand Up @@ -46,7 +45,7 @@
$component-name: "Card",
$variant-name: "color",
$variant-value: $color,
$inherit-link-color: $color != "light", // 2.
$inherit-link-color: true,
$properties: settings.$themeable-properties,
);
}
Expand Down

0 comments on commit d288c21

Please sign in to comment.