@import url(../var.less);

.checkbox-size(@padding, @border-radius, @height, @lihe-height, @font-size, @input-height, @input-width, @after-height, @after-width) {
  padding: @padding;
  border-radius:  @border-radius;
  height: @height;

  .w-checkbox__label {
    line-height: @lihe-height;
    font-size: @font-size;
  }

  .w-checkbox__inner {
    height: @input-height;
    width: @input-width;

    &::after when (@after-height>0) and (@after-width>0){
      height: @after-height;
      width:@after-width;
    }
  }
}