Skip to content

Commit

Permalink
Pull out all focus styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ry5n committed May 7, 2019
1 parent b6a4ff4 commit 047267b
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions src/components/Link/Link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@
@include recolor-icon(currentColor);
appearance: none;
display: inline;
text-align: inherit;
padding: 0;
background: none;
color: color('blue');
border: 0;
font-size: inherit;
text-align: inherit;
color: color('blue');
text-decoration: none;
outline-color: currentColor;
cursor: pointer;

&:hover {
color: color('blue', 'dark');
}

&:hover,
&:active {
color: color('blue', 'dark');
}
Expand Down Expand Up @@ -42,11 +39,8 @@
@include underlined-link;

&:hover,
&:focus,
&:active {
color: inherit;
}

&:focus {
color: inherit;
}
}

0 comments on commit 047267b

Please sign in to comment.