.fr-rounded-circle {
  border-radius: 50% !important;
}

$baseRoundedSize: 0rem;

@mixin rounded-generate {
  $count: 0rem;
  @for $i from 0 through 9 {
    .fr-rounded-#{$i}-x {
      border-radius: ($baseRoundedSize + $count);
    }
    $count: $count + 0.5;
  }
}

@include rounded-generate;

@mixin rounded-generate-left {
  $count: 0rem;
  @for $i from 0 through 9 {
    .fr-rounded-left-#{$i}-x {
      border-bottom-left-radius: ($baseRoundedSize + $count);
      border-top-left-radius: ($baseRoundedSize + $count);
    }
    $count: $count + 0.5;
  }
}

@include rounded-generate-left;

@mixin rounded-generate-right {
  $count: 0rem;
  @for $i from 0 through 9 {
    .fr-rounded-right-#{$i}-x {
      border-bottom-right-radius: ($baseRoundedSize + $count);
      border-top-right-radius: ($baseRoundedSize + $count);
    }
    $count: $count + 0.5;
  }
}

@include rounded-generate-right;

@mixin rounded-generate-top {
  $count: 0rem;
  @for $i from 0 through 9 {
    .fr-rounded-top-#{$i}-x {
      border-top-right-radius: ($baseRoundedSize + $count);
      border-top-left-radius: ($baseRoundedSize + $count);
    }
    $count: $count + 0.5;
  }
}

@include rounded-generate-top;

@mixin rounded-generate-bottom {
  $count: 0rem;
  @for $i from 0 through 9 {
    .fr-rounded-bottom-#{$i}-x {
      border-bottom-right-radius: ($baseRoundedSize + $count);
      border-bottom-left-radius: ($baseRoundedSize + $count);
    }
    $count: $count + 0.5;
  }
}

@include rounded-generate-bottom;
