refactor: use the primary color for a hover

staging
Dinesh Salunke 2023-11-06 14:37:36 +05:30
parent 440be0218e
commit c30e5568ba
1 changed files with 4 additions and 4 deletions

View File

@ -40,19 +40,19 @@
</div> </div>
{/if} {/if}
{/block} {/block}
<div class="product-description flex flex-col pt-4 group-hover:text-gray-950 gap-1"> <div class="product-description flex flex-col pt-4 group-hover:text-blue-900 gap-1">
{block name='product_price_and_shipping'} {block name='product_price_and_shipping'}
<div class="flex w-full justify-between items-center"> <div class="flex w-full justify-between items-center">
{if $product.has_discount} {if $product.has_discount}
<span class="regular-price line-through text-red-700/50 leading-none">{$product.regular_price}</span> <span class="regular-price line-through leading-none font-medium">{$product.regular_price}</span>
{/if} {/if}
<div class="font-semibold text-lg"> <div class="font-bold text-lg">
<span>{$product.price}</span> <span>{$product.price}</span>
</div> </div>
</div> </div>
{/block} {/block}
{block name='product_name'} {block name='product_name'}
<span class="text-xl" itemprop="name">{$product.name|truncate:30:'...'}</span> <span class="text-xl font-medium" itemprop="name">{$product.name|truncate:30:'...'}</span>
{/block} {/block}
</div> </div>
</a> </a>