Skip to content

Commit

Permalink
refactor: block 하이라이트 애니메이션 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
pipisebastian committed Nov 20, 2024
1 parent a253838 commit 81269d6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions client/src/features/editor/components/block/Block.animation.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
export const highlight = {
initial: {
background: `linear-gradient(to right,
#BFBFFF95 0%,
#BFBFFF95 0%,
transparent 0%,
transparent 100%
)`,
},
animate: {
background: `linear-gradient(to right,
#BFBFFF95 0%,
#BFBFFF95 100%,
transparent 100%,
transparent 100%
)`,
transition: {
duration: 1,
ease: "linear",
},
},
};

0 comments on commit 81269d6

Please sign in to comment.