.nut-theme-dark {
  .nut-empty {
    background: $dark6;
    &__description {
      color: $dark1;
    }
  }
}

.nut-empty {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: $empty-padding;
  background-color: $background-color3;
  &__image {
    width: $empty-image-size;
    height: $empty-image-size;

    .img {
      width: 100%;
      height: 100%;
    }

    // 兼容小程序标签和img-slot
    img,
    image {
      width: 100%;
      height: 100%;
    }
  }

  &__description {
    margin-top: $empty-description-margin-top;
    padding: $empty-description-padding;
    color: $empty-description-color;
    font-size: $empty-description-font-size;
    line-height: $empty-description-line-height;
  }
}
