.nut-theme-dark {
  .nut-checkbox {
    &__label {
      color: $dark-color;
      &--disabled {
        color: $checkbox-label-disable-color;
      }
    }
    &__button {
      background: $dark-background;
      color: $dark-color;
      &--disabled {
        color: $checkbox-label-disable-color;
        border: 1px solid $checkbox-label-disable-color;
      }
    }
  }
}
.nut-checkbox {
  display: flex;
  align-items: center;
  &--reverse {
    flex-direction: row-reverse;
    .nut-checkbox__label {
      margin-right: $checkbox-label-margin-left;
      margin-left: 0;
    }
  }
  &__button {
    display: inline-flex;
    align-items: center;
    padding: $checkbox-button-padding;
    font-size: $checkbox-button-font-size;
    background: $checkbox-label-button-bg-color;
    border-radius: $checkbox-button-border-radius;
    color: $checkbox-label-color;
    box-sizing: border-box;
    border: 1px solid $checkbox-label-button-border-color;
    &--active {
      background: $checkbox-label-button-bg-active-color;
      color: $checkbox-label-font-active-color;
      border: 1px solid $checkbox-label-button-border-active-color;
    }
    &--disabled {
      color: $checkbox-label-disable-color;
      border: none;
    }
  }
  &__label {
    flex: 1;
    margin-left: $checkbox-label-margin-left;
    font-size: $checkbox-label-font-size;
    color: $checkbox-label-color;
    &--disabled {
      color: $checkbox-label-disable-color;
    }
  }
  &__icon {
    color: $primary-color;
    font-size: $checkbox-icon-font-size;
    transition-duration: 0.3s;
    transition-property: color, border-color, background-color;
  }
  &__icon--unchecked {
    color: $checkbox-icon-disable-color;
    font-size: $checkbox-icon-font-size;
  }
  &__icon--indeterminate {
    color: $primary-color;
    font-size: $checkbox-icon-font-size;
  }
  &__icon--disable {
    color: $checkbox-icon-disable-color2;
    font-size: $checkbox-icon-font-size;
  }
}
