Skip to content

Commit 9f9172e

Browse files
authored
Merge pull request #220 from user-interviews/Bug/RS-219-better-contrast-popper-links
Change dark Popper link color
2 parents a4f4e77 + b8fc621 commit 9f9172e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/Popper/Popper.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@
120120
@include popper-arrow($popper-color: $ux-gray-800);
121121
background-color: $ux-gray-800;
122122
color: $ux-gray-100;
123+
124+
a, a:active, a:focus, a:hover, a:visited {
125+
color: $ux-blue-300;
126+
@include font-type-30;
127+
}
123128
}
124129
}
125130

stories/Tooltip.stories.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ export const WithHtml = () => (
3939
<Tooltip
4040
header={text('Header Text', 'Default Header')}
4141
placement="right"
42-
text={<span>I am html <br /> with a linebreak!</span>}
42+
text={(
43+
<span>
44+
I am html <br /> with a linebreak!
45+
And a <a href="#test">link</a>!
46+
</span>
47+
)}
4348
/>
4449
);
4550

0 commit comments

Comments
 (0)