.nut-theme-dark {
  .nut-inputnumber {
    &__icon {
      color: $dark-color;
      &--disabled {
        color: $dark-color-gray;
      }
    }
    input,
    &__text--readonly {
      background-color: $dark-background;
      color: $dark-color;
      border: 1px solid $dark-color-gray;
    }
    &--disabled {
      input {
        color: $dark-color-gray;
      }
    }
  }
}
.nut-inputnumber {
  display: $inputnumber-display;
  align-items: center;
  border: $inputnumber-border;
  border-radius: $inputnumber-border-radius;
  height: $inputnumber-height;
  line-height: $inputnumber-line-height;
  box-sizing: $inputnumber-border-box;

  &--disabled {
    input {
      color: $inputnumber-icon-void-color;
    }
  }

  &__icon {
    color: $inputnumber-icon-color;
    font-size: $inputnumber-icon-size;
    cursor: pointer;
    &--disabled {
      color: $inputnumber-icon-void-color;
      cursor: not-allowed;
    }
  }

  input {
    border-top: 0 !important;
    border-bottom: 0 !important;
  }

  input,
  &__text--readonly,
  &__text--input {
    width: $inputnumber-input-width;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    border: $inputnumber-input-border;
    font-size: $inputnumber-input-font-size;
    color: $inputnumber-input-font-color;
    margin: $inputnumber-input-margin;
    background-color: $inputnumber-input-background-color;
    border-radius: $inputnumber-input-border-radius;
  }
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    appearance: none;
  }
}
