feat: add layout transition

This commit is contained in:
Sonny
2024-05-17 19:26:10 +02:00
committed by Sonny
parent a910b898c7
commit 8077f8f9c9
9 changed files with 29 additions and 41 deletions

View File

@@ -0,0 +1,8 @@
import styled from '@emotion/styled';
import { fadeInScale } from '~/styles/keyframes';
const TransitionLayout = styled.div(({ theme }) => ({
animation: `${theme.transition.delay} ${fadeInScale} both`,
}));
export default TransitionLayout;