Skip to content

Commit

Permalink
fix(link): return to original spec
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Mar 4, 2019
1 parent 1051f1f commit 77e6106
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/components/link/_link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,27 +53,28 @@
@mixin link--x {
.#{$prefix}--link {
@include reset;
@include type-style('body-short-01');
@include type-style('body-long-01');
color: $interactive-01;
text-decoration: none;
outline: none;

&:hover {
color: $interactive-01;
box-shadow: 0 1px currentColor;
box-shadow: 0 1px $interactive-01;
}

&:active,
&:active:visited,
&:focus:active {
&:active:visited {
color: $text-01;
box-shadow: 0 1px currentColor;
outline: none;
box-shadow: 0 1px $text-01;
}

&:focus {
color: $interactive-01;
outline: 2px solid currentColor;
outline-offset: 2px;
box-shadow: 0 3px $interactive-01;
}

&:focus:active {
box-shadow: 0 3px $text-01;
}

&:not([href]) {
Expand All @@ -98,7 +99,7 @@

.#{$prefix}--link--disabled {
@include reset;
@include type-style('body-short-01');
@include type-style('body-long-01');
@include font-smoothing;
display: inline;
color: $disabled-02;
Expand Down

0 comments on commit 77e6106

Please sign in to comment.