.nut-theme-dark {
  .nut-category {
    &__cateList {
      background: $dark-background2;
    }

    &__cateListLeft {
      background: $dark-background4;
    }
    &__cateListItem {
      color: $dark-color-gray;
    }
    &__cateListItemChecked {
      color: $dark-color;
      background: $dark-background2;
      &::before {
        background: $category-list-item-checked-img-bg-color;
      }
    }
  }
}
.nut-category {
  &__cateList {
    display: flex;
    background: $category-bg-color;
  }

  &__cateListLeft {
    background: $category-list-left-bg-color;
  }

  &__cateListItemChecked,
  &__cateListItem {
    width: 100px;
    height: 50px;
    font-size: 13px;
    font-family: PingFangSC;
    font-weight: normal;
    color: $category-list-item-color;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
  }
  &__cateListItemChecked {
    background: $category-list-item-checked-color;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    &::before {
      position: absolute;
      content: '';
      left: 0;
      width: 5px;
      height: 18px;
      background: $category-list-item-checked-img-bg-color;
    }
  }
}
