.nut-tag {
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  font-size: $tag-font-size;
  border-radius: $tag-default-border-radius;
  height: $tag-height;
  &--default {
    color: $tag-default-color;
    background: $tag-default-background-color;
    border: $tag-border-width solid transparent;
    &.nut-tag--plain {
      color: $tag-default-background-color;
      border: $tag-border-width solid $tag-default-background-color;
    }
  }

  &--primary {
    color: $tag-default-color;
    background: $tag-primary-background-color;
    border: $tag-border-width solid transparent;
    &.nut-tag--plain {
      color: $tag-primary-background-color;
      border: $tag-border-width solid $tag-primary-background-color;
    }
  }

  &--success {
    color: $tag-default-color;
    background: $tag-success-background-color;
    border: $tag-border-width solid transparent;
    &.nut-tag--plain {
      color: $tag-success-background-color;
      border: $tag-border-width solid $tag-success-background-color;
    }
  }

  &--danger {
    color: $tag-default-color;
    background: $tag-danger-background-color;
    border: $tag-border-width solid transparent;
    &.nut-tag--plain {
      color: $tag-danger-background-color-plain;
      border: $tag-border-width solid $tag-danger-background-color-plain;
    }
  }

  &--warning {
    color: $tag-default-color;
    background: $tag-warning-background-color;
    border: $tag-border-width solid transparent;
    &.nut-tag--plain {
      color: $tag-warning-background-color;
      border: $tag-border-width solid $tag-warning-background-color;
    }
  }

  &--round {
    border-radius: $tag-round-border-radius;
  }

  &--mark {
    border-radius: 0 12px 12px 0;
  }
  &--close {
    margin-left: 4px;
    cursor: pointer;
  }
}
