.homegrade-blocks-custom-heading.has-icon {
  &:before {
    @apply bg-primary;
  }
}

.homegrade-blocks-plus-loin {
  .homegrade-blocks-custom-heading.has-icon {
    &.has-icon:before {
      @apply bg-secondary;
    }
    &.has-icon--key::before {
      background-image: url('../resources/img/pictogrammes/icon_key_dark.svg');
    }
    &.has-icon--house::before {
      background-image: url('../resources/img/pictogrammes/icon_house_dark.svg');
    }
    &.has-icon--bulb::before {
      background-image: url('../resources/img/pictogrammes/icon_bulb_dark.svg');
    }
    &.has-icon--chain::before {
      background-image: url('../resources/img/pictogrammes/icon_chain_dark.svg');
    }
  }
}
