.nut-theme-dark {
  .nut-badge {
    &.show {
      background: $dark-background;
      color: $dark-color;
    }
  }
}
.nut-badge {
  position: relative;
  display: inline-block;
  .nut-badge__icon {
    display: flex;
    align-items: center;
    line-height: normal;
    transform: $badge-content-transform;
    position: absolute;
    background: $badge-background-color;
    padding: $badge-icon-padding;
    text-align: center;
    border-radius: $badge-border-radius;
    z-index: $badge-z-index;
  }
  .nut-badge__content {
    display: flex;
    align-items: center;
    transform: $badge-content-transform;
    &--sup {
      position: absolute;
      background: $badge-background-color;
      padding: $badge-padding;
      text-align: center;
      border-radius: $badge-border-radius;
      font-size: $badge-font-size;
      font-weight: normal;
      color: $badge-color;
    }
    &--dot {
      width: $badge-dot-width;
      height: $badge-dot-height;
      border-radius: $badge-dot-border-radius;
      padding: $badge-dot-padding;
    }
    &--bubble {
      border-bottom-left-radius: 0;
    }
  }
}
