bruno/packages/grafnode-run/src/globalStyles.js

49 lines
849 B
JavaScript
Raw Normal View History

2022-01-03 21:37:46 +01:00
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;