Skip to content

Commit

Permalink
๐Ÿ’„design: ํ† ์ŠคํŠธ ๋™์ž‘ ์‹œ๊ฐ„ 3์ดˆ๋กœ ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdcodus committed Sep 25, 2024
1 parent 23f8b49 commit a8c7e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion grass-diary/src/state/toast/useToast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const useToast = () => {
const timer = () => {
setTimeout(() => {
setActive();
}, 5000);
}, 3000);
};

const toast = (text: string) => {
Expand Down
4 changes: 2 additions & 2 deletions grass-diary/src/styles/component/Notification/Toast.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const toastFadeIn = keyframes`
100% {
opacity: 0;
top: 90%;
top: 100%;
}
`;

Expand All @@ -41,7 +41,7 @@ export const ToastBox = styled.div<{ $active: boolean; $isRed: boolean }>`
${TYPO.label2}
color: ${semantic.light.inverse.solid.hero};
text-align: center;
animation: ${props => props.$active && toastFadeIn} 4s 1s ease;
animation: ${props => props.$active && toastFadeIn} 3s ease;
transition: 1s;
@media screen and (max-width: 60em) {
Expand Down

0 comments on commit a8c7e82

Please sign in to comment.