Skip to content

Commit f47dfe7

Browse files
Fix reverse link colour when printing
1 parent 6ec3c64 commit f47dfe7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/core/elements/_links.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ a {
2020

2121
@include nhsuk-media-query($media-type: print) {
2222
&::after {
23-
color: $color_nhsuk-black;
23+
color: $nhsuk-text-color;
2424
content: " (Link: " attr(href) ")"; // [1]
2525
font-size: inherit; // [2]
2626
}
@@ -33,4 +33,10 @@ a {
3333

3434
.nhsuk-link--reverse {
3535
@include nhsuk-link-style-white;
36+
37+
@include nhsuk-media-query($media-type: print) {
38+
&::after {
39+
color: currentcolor;
40+
}
41+
}
3642
}

0 commit comments

Comments
 (0)