Skip to content

Commit

Permalink
Merge pull request #15 from deco-sites/karla-discount-and-color-ajust
Browse files Browse the repository at this point in the history
fix: white mode
  • Loading branch information
karlaoshikawa authored Dec 4, 2024
2 parents b6964ff + 418a447 commit 56b01a7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .deco/blocks/Luxury.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"fontFamily": "'Georgia'"
},
"mainColors": {
"primary": "#09090b",
"base-100": "#09090b",
"primary": "#ffffff",
"base-100": "#ffffff",
"tertiary": "#cddef9",
"secondary": "#164195",
"neutral": "#ffffff"
Expand Down Expand Up @@ -34,4 +34,4 @@
"--tab-radius": "0.5rem"
},
"mode": "dark"
}
}
10 changes: 4 additions & 6 deletions components/product/CustomShelfSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function CustomShelfSlider({
{products?.map((product, index) => (
<Slider.Item
index={index}
class="carousel-item rounded-md w-full sm:w-1/4 first:pl-0 sm:first:pl-0 last:pr-0 sm:last:pr-0"
class="carousel-item rounded-md border border-[#E9E9E9] w-full sm:w-1/4 first:pl-0 sm:first:pl-0 last:pr-0 sm:last:pr-0"
>
<ProductCardCustom
product={product}
Expand Down Expand Up @@ -94,16 +94,15 @@ function CustomShelfSlider({
mapProductToAnalyticsItem({
index,
product,
...(useOffer(product.offers)),
...useOffer(product.offers),
})
),
},
}}
/>
</div>

{
/* <div id={id} class="shelf-custom-items">
{/* <div id={id} class="shelf-custom-items">
{products?.map((product, index) => (
<ProductCardCustom
product={product}
Expand All @@ -113,8 +112,7 @@ function CustomShelfSlider({
index={index}
/>
))}
</div> */
}
</div> */}
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion components/ui/SectionHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function Header(props: Props) {
/>
)}

<p class="text-accent text-xl md:text-2xl items-start ">
<p class="text-success text-xl md:text-2xl items-start ">
{props.title}
</p>
</div>
Expand Down

0 comments on commit 56b01a7

Please sign in to comment.