Skip to content

Commit

Permalink
Transition only color
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbischoff committed Apr 13, 2024
1 parent 63fbf70 commit 5b372cc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions _sass/themes/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,20 @@ $themes: (

a {
color: map.get($colors, text-emphasized);
transition: color 0.1s linear;
text-decoration-color: map.get($colors, link-underline);

transition-property: color, text-decoration-color;
transition-duration: 0.1s;
transition-timing-function: linear;


&:hover {
color: map.get($colors, accent);
transition: color 0.1s linear;
text-decoration-color: map.get($colors, accent);

transition-property: color, text-decoration-color;
transition-duration: 0.1s;
transition-timing-function: linear;
}
}

Expand Down

0 comments on commit 5b372cc

Please sign in to comment.