design upgrade
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user