/**************************
 * Copyright Monkey Exchange. All Rights Reserved
 * This style guide was developed by Monkey Exchange Team
 * MIT Licence
**************************/
%skeleton {
  animation: skeleton-loading 1s linear infinite alternate;
  display: block;
  border-radius: 4px;
  width: 100%;
}

@keyframes skeleton-loading {
  0% {
    background-color: hsl(200deg 20% 85%);
  }

  100% {
    background-color: hsl(200deg 20% 95%);
  }
}

.text-loading-xxs {
  @extend %skeleton;

  border-radius: 2px;
  margin: 2px 0;
  height: 8px;
}

.text-loading-xs {
  @extend %skeleton;

  border-radius: 2px;
  margin: 2px 0;
  height: 9px;
}

.text-loading-sm {
  @extend %skeleton;

  border-radius: 2px;
  margin: 2px 0;
  height: 10px;
}

.text-loading-md {
  @extend %skeleton;

  border-radius: 2px;
  margin: 2px 0;
  height: 12px;
}

.text-loading-lg {
  @extend %skeleton;

  margin: 2px 0;
  height: 20px;
}

.text-loading-xl {
  @extend %skeleton;

  margin: 2px 0;
  height: 28px;
}

.text-loading-xxl {
  @extend %skeleton;

  margin: 2px 0;
  height: 44px;
}

.loading-sm {
  @extend %skeleton;

  border-radius: 12px;
  height: 32px;
}

.loading-md {
  @extend %skeleton;

  border-radius: 12px;
  height: 40px;
}

.loading-lg {
  @extend %skeleton;

  border-radius: 12px;
  height: 48px;
}
