diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-08 10:12:31 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-08 10:12:31 +0700 |
| commit | 0ca62faf89775496320025c170c942b2cb3e1a20 (patch) | |
| tree | 4107119c58e82aedf3478c165741824ff9cd08c1 /src/lib/product/components/Product/ProductMobile.jsx | |
| parent | e7383ff9601e47953c732fccf093e19993ec37cd (diff) | |
update theme color
Diffstat (limited to 'src/lib/product/components/Product/ProductMobile.jsx')
| -rw-r--r-- | src/lib/product/components/Product/ProductMobile.jsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/product/components/Product/ProductMobile.jsx b/src/lib/product/components/Product/ProductMobile.jsx index 13b02354..493fcbf7 100644 --- a/src/lib/product/components/Product/ProductMobile.jsx +++ b/src/lib/product/components/Product/ProductMobile.jsx @@ -122,7 +122,7 @@ const ProductMobile = ({ product, wishlist, toggleWishlist }) => { )} <button type='button' className='ml-auto' onClick={toggleWishlist}> {wishlist.data?.productTotal > 0 ? ( - <HeartIcon className='w-6 fill-red_r-11 text-red_r-11' /> + <HeartIcon className='w-6 fill-danger-500 text-danger-500' /> ) : ( <HeartIcon className='w-6' /> )} @@ -142,13 +142,13 @@ const ProductMobile = ({ product, wishlist, toggleWishlist }) => { <div className='badge-solid-red'>{activeVariant?.price?.discountPercentage}%</div> </div> )} - <h3 className='text-red_r-11 font-semibold mt-1'> + <h3 className='text-danger-500 font-semibold mt-1'> {activeVariant?.price?.priceDiscount > 0 ? ( currencyFormat(activeVariant?.price?.priceDiscount) ) : ( <span className='text-gray_r-11 leading-6 font-normal'> Hubungi kami untuk dapatkan harga terbaik, - <a href='https://wa.me/' className='text-red_r-11 underline'> + <a href='https://wa.me/' className='text-danger-500 underline'> klik disini </a> </span> @@ -232,7 +232,7 @@ const ProductMobile = ({ product, wishlist, toggleWishlist }) => { </span> )} {activeVariant?.stock == 0 && ( - <a href='https://wa.me' className='text-red_r-11 font-medium'> + <a href='https://wa.me' className='text-danger-500 font-medium'> Tanya Stok </a> )} @@ -240,7 +240,7 @@ const ProductMobile = ({ product, wishlist, toggleWishlist }) => { <SpecificationContent label='Berat Barang'> {activeVariant?.weight > 0 && <span>{activeVariant?.weight} KG</span>} {activeVariant?.weight == 0 && ( - <a href='https://wa.me' className='text-red_r-11 font-medium'> + <a href='https://wa.me' className='text-danger-500 font-medium'> Tanya Berat </a> )} @@ -275,7 +275,7 @@ const informationTabOptions = [ ] const TabButton = ({ children, active, ...props }) => { - const activeClassName = active ? 'text-red_r-11 underline underline-offset-4' : 'text-gray_r-11' + const activeClassName = active ? 'text-danger-500 underline underline-offset-4' : 'text-gray_r-11' return ( <button {...props} type='button' className={`font-medium pb-1 ${activeClassName}`}> {children} |
