Skip to content

Commit

Permalink
🦺 feat: update Action Css Transition
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours committed Aug 21, 2023
1 parent e99d7b7 commit 971f090
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ActionIcon/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ export const useStyles = createStyles(({ token, css, cx }, { size, className, pr
&:hover {
color: ${token.colorText} !important;
}
&:active {
scale: 0.8;
color: ${token.colorText};
}
transition: color 600ms ${token.motionEaseOut}, scale 400ms ${token.motionEaseOut},
background-color 100ms ${token.motionEaseOut};
`;

return {
Expand Down

0 comments on commit 971f090

Please sign in to comment.