@use '../params/index.scss' as *;

.x-base-enter {
  animation: x-base-enter $x-animation-duration-base;
  animation-timing-function: ease-in;
}
.x-base-leave {
  animation: x-base-leave $x-animation-duration-base;
  animation-timing-function: ease-out;
}

@keyframes x-base-enter {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes x-base-leave {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.2);
  }
}
