// size

@mixin switch-size($font-size, $height, $width, $toggle-height, $toggle-width, $inner-padding, $switch-checked-toggle-left) {
  min-width: $width;
  height: $height;
  //line-height: $height;
  padding-left: $toggle-width + $switch-toggle-text-space;
  font-size: $font-size;

  &::after {
    width: $toggle-width;
    height: $toggle-height;
  }

  .#{$switch-prefix-cls}__inner {
    //font-size: $font-size * .75;
    padding: 0 $inner-padding;
  }

  &.#{$switch-prefix-cls}--checked,
  &.#{$switch-prefix-cls}[checked] {
    padding-right: $toggle-width + $switch-toggle-text-space;
    padding-left: 0;

    &::after {
      left: $switch-checked-toggle-left;
    }
  }
}
