Skip to content

Commit db2adb8

Browse files
andreancardonatw15eganjnm2377
authored
fix(tile): add link color contrast (#9025)
* fix(tile): add link color contrast * Update packages/components/src/components/tile/_tile.scss Co-authored-by: TJ Egan <tw15egan@gmail.com> Co-authored-by: TJ Egan <tw15egan@gmail.com> Co-authored-by: Josefina Mancilla <32556167+jnm2377@users.noreply.github.com>
1 parent 62f2e5d commit db2adb8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/components/src/components/tile/_tile.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
background: $layer-hover;
5353
}
5454
}
55+
.#{$prefix}--tile--expandable .#{$prefix}--link {
56+
color: $link-secondary;
57+
}
5558

5659
.#{$prefix}--tile--clickable,
5760
.#{$prefix}--tile--expandable {

packages/react/src/components/Tile/Tile-story.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ export const Expandable = () => (
174174
Below the fold content here
175175
<TextInput id="test2" invalidText="A valid value is required" />
176176
</div>
177+
{/* TODO: Remove before merge */}
178+
<Link>hello</Link>
177179
</TileBelowTheFoldContent>
178180
</ExpandableTile>
179181
);

0 commit comments

Comments
 (0)