import { createGlobalStyle } from 'styled-components'; const GlobalStyle = createGlobalStyle` @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes fade-out { from { opacity: 1; } to { opacity: 0; } } @keyframes fade-and-slide-in-from-top { from { opacity: 0; -webkit-transform: translateY(-30px); transform: translateY(-30px); } to { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fade-and-slide-out-from-top { from { opacity: 1; -webkit-transform: none; transform: none; } to { opacity: 2; -webkit-transform: translateY(-30px); transform: translateY(-30px); } } `; export default GlobalStyle;