@use '../base/common/base-variables' as *;

$theme: 'Tailwind';

//Layout Variables Start
$spin-padding: 10px;
$spin-label-margin-top: 10px;
$spin-label-font-size: $text-sm;

//Layout Variables End

//Normal Variables Start
$spin-label-color: $primary;
$spin-overlay-background: $overlay-bg-color;
$spin-label-font-family: $font-family;
$spin-overlay-stroke-color: $primary;
$spin-overlay-font-color: $white;

//Normal Variables End

//Theme based other styles start
$spin-material-stroke-color: $primary;
$spin-boot4-stroke-color: $primary;
$spin-boot4-stroke-width: 4;
$spin-fabric-stroke-color: $primary-lighter;
$spin-fabric-stroke-width: 1.5;
$spin-tailwind-arc-color: $primary;
$spin-tailwind-stroke-color: $primary-lighter;
$spin-tailwind-stroke-width: 4.5;
$spin-fabric-arc-color: $primary;
$spin-bootstrap-stroke-color: $primary;
$spin-boot5-stroke-width: 4;
$spin-boot5-stroke-color: $primary;
$spin-tail-margin: 0 auto !default;
$spin-bootstrap-border-radius: 50% !default;
$spinner-zero-space: 0 !default;
$spinner-full-width: 100% !default;
$spinner-half-width: 50% !default;
$spinner-full-height: 100% !default;

@mixin boot5-spinner-rotate {
  animation: material-spinner-rotate .75s linear infinite;
}

@mixin mat-spinner-rotate {
  animation: material-spinner-rotate 1568.63ms linear infinite;
}

@mixin fb-spinner-rotate {
  animation: fabric-spinner-rotate 1.3s infinite cubic-bezier(.53, .21, .29, .67);
}

@mixin tw-spinner-rotate {
  animation: fabric-spinner-rotate 1.3s infinite cubic-bezier(.21, .21, .21, .21); //Tailwind
}

@mixin boot4-spinner-rotate {
  animation: material-spinner-rotate .75s linear infinite;
}

/* stylelint-disable property-no-vendor-prefix */
@keyframes material-spinner-rotate {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes fabric-spinner-rotate {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

//Theme based other styles end
