$b-design-tag-primary-close-btn-bg: white;

$b-design-tag-size-l-padding-r: $s-1;
$b-design-tag-size-m-padding-r: $s-1;
$b-design-tag-size-s-padding-r: 2px;
$b-design-tag-size-l-margin-l: $s-2;
$b-design-tag-size-m-margin-l: $s-2;
$b-design-tag-size-s-margin-l: $s-1;

@mixin tag-close-btn-bg($iconSize) {
  .#{$css-prefix}tag-close-btn {
    .#{$css-prefix}icon {
      position: relative;
      z-index: 2;

      &::after {
        content: "";
        position: absolute;
        left: calc(50% - #{$iconSize} / 2);
        top: calc(50% - #{$iconSize} / 2);
        width: $iconSize;
        height: $iconSize;
        border-radius: 100%;
        z-index: -1;
      }
    }
  }
}
