Skip to content

Commit

Permalink
refactor: use css token (#48311)
Browse files Browse the repository at this point in the history
* refactor: use css token

* style: update
  • Loading branch information
li-jia-nan committed Apr 7, 2024
1 parent 2386fa6 commit 52df99f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/_util/wave/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ const genWaveStyle: GenerateStyle<WaveToken> = (token) => {
boxShadow: `0 0 0 6px currentcolor`,
opacity: 0,
},

'&.wave-quick': {
transition: [
`box-shadow 0.3s ${token.motionEaseInOut}`,
`opacity 0.35s ${token.motionEaseInOut}`,
`box-shadow ${token.motionDurationSlow} ${token.motionEaseInOut}`,
`opacity ${token.motionDurationSlow} ${token.motionEaseInOut}`,
].join(','),
},
},
Expand Down

0 comments on commit 52df99f

Please sign in to comment.