design upgrade

This commit is contained in:
Nermin Karic
2026-11-23 00:59:47 +01:00
parent 9e84140474
commit ada6fd857c
198 changed files with 6626 additions and 2539 deletions

View File

@@ -22,12 +22,12 @@ const LineItemUnitPrice = ({
)
return (
<div className="flex flex-col text-ui-fg-muted justify-center h-full">
<div className="flex flex-col text-muted-foreground justify-center h-full">
{hasReducedPrice && (
<>
<p>
{style === "default" && (
<span className="text-ui-fg-muted">Original: </span>
<span className="text-muted-foreground">Original: </span>
)}
<span
className="line-through"
@@ -40,13 +40,13 @@ const LineItemUnitPrice = ({
</span>
</p>
{style === "default" && (
<span className="text-ui-fg-interactive">-{percentage_diff}%</span>
<span className="text-primary">-{percentage_diff}%</span>
)}
</>
)}
<span
className={clx("text-base-regular", {
"text-ui-fg-interactive": hasReducedPrice,
className={clx("text-base", {
"text-primary": hasReducedPrice,
})}
data-testid="product-unit-price"
>