//size
@mixin radio-size($font-size, $size, $padding-l) {
  .#{$radio-prefix-cls}__inner {
    padding-left: ($size + $padding-l);
    font-size: $font-size;

    &::before {
      width: $size;
      height: $size;
      font-size: $font-size;
    }
  }

  &.#{$radio-prefix-cls}--checked,
  .#{$radio-prefix-cls}__input[type=radio]:checked ~,
  .#{$radio-prefix-cls}__input[type=radio][checked] ~,
  .#{$radio-prefix-cls}__input[type=radio] {
    .#{$radio-prefix-cls}__inner {
      &::after {
        width: $size - 8;
        height: $size - 8;
      }
    }
  }
}
