Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
fix: improved link color
Browse files Browse the repository at this point in the history
Use `primary-50` for _all_ links. Better contrast, better legibility, more consistency

fix #313
  • Loading branch information
Schalk Neethling committed Dec 2, 2020
1 parent 3a1303d commit 76efec8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions sass/atoms/_links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ a {
text-decoration: underline;
}

code {
text-decoration-skip-ink: none;
}

&.external {
&::before {
background: transparent url("~@mdn/dinocons/general/external.svg") 0 0
Expand Down
4 changes: 0 additions & 4 deletions sass/atoms/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ table,
border-collapse: collapse;
margin-bottom: $base-spacing;

a {
color: $neutral-100;
}

code {
background-color: transparent;
hyphens: auto;
Expand Down
2 changes: 1 addition & 1 deletion sass/vars/_color-palette.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ $error-300: $red-100;

$text-color: $neutral-100;
$text-color-inverted: $neutral-600;
$link-color: $primary-200;
$link-color: $primary-50;

/* Gradients */
$standard-gradient: linear-gradient(to right, $primary-300, $green-400);
Expand Down

0 comments on commit 76efec8

Please sign in to comment.