Skip to content

Commit

Permalink
fix(YALB-579): fix link underline animation
Browse files Browse the repository at this point in the history
  • Loading branch information
ModulesUnraveled committed Jun 30, 2022
1 parent ed53859 commit c669a19
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
20 changes: 8 additions & 12 deletions tokens/atoms/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ link:
value: "{color.gray.700}"
styles:
underline:
transform:
value: "scale(1, 1)"
transform-hover:
value: "scale(0, 1)"
bg-color:
value: "{link.color.base}"
size:
value: "100% 2px"
size-hover:
value: "0 2px"
no-underline:
transform:
value: "scale(0, 1)"
transform-hover:
value: "scale(1, 1)"
bg-color:
value: "{link.color.hover}"
size:
value: "0 2px"
size-hover:
value: "100% 2px"
6 changes: 6 additions & 0 deletions tokens/base/effects.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
animation:
speed:
default:
value: "200ms"
slow:
value: "800ms"

0 comments on commit c669a19

Please sign in to comment.