chore: Change heart icon to icon-heart and change var icon-stroke to accomodate changes in frappe icon

- `icon-heart` got a stroke colour that needs to be overriden via var `icon-stroke
- Use `icon-heart` instead of `icon-heart-active` as the latter has a color fill now
This commit is contained in:
marination 2022-02-23 00:13:44 +05:30
parent af9fa049c7
commit b0a1cd6a7b
2 changed files with 5 additions and 5 deletions

View File

@ -338,14 +338,14 @@ body.product-page {
.btn-add-to-wishlist { .btn-add-to-wishlist {
svg use { svg use {
stroke: #F47A7A; --icon-stroke: #F47A7A;
} }
} }
.btn-view-in-wishlist { .btn-view-in-wishlist {
svg use { svg use {
fill: #F47A7A; fill: #F47A7A;
stroke: none; --icon-stroke: none;
} }
} }
@ -1022,7 +1022,7 @@ body.product-page {
.not-wished { .not-wished {
cursor: pointer; cursor: pointer;
stroke: #F47A7A !important; --icon-stroke: #F47A7A !important;
&:hover { &:hover {
fill: #F47A7A; fill: #F47A7A;
@ -1030,7 +1030,7 @@ body.product-page {
} }
.wished { .wished {
stroke: none; --icon-stroke: none;
fill: #F47A7A !important; fill: #F47A7A !important;
} }

View File

@ -13,7 +13,7 @@
<li class="wishlist wishlist-icon hidden"> <li class="wishlist wishlist-icon hidden">
<a class="nav-link" href="/wishlist"> <a class="nav-link" href="/wishlist">
<svg class="icon icon-lg"> <svg class="icon icon-lg">
<use href="#icon-heart-active"></use> <use href="#icon-heart"></use>
</svg> </svg>
<span class="badge badge-primary shopping-badge" id="wish-count"></span> <span class="badge badge-primary shopping-badge" id="wish-count"></span>
</a> </a>