Skip to content

Commit

Permalink
chore: change red to destructive
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Dec 23, 2024
1 parent 70963f5 commit 68f0a8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/DualCurrencyInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function DualCurrencyInput({
className={cn(
"w-full border-transparent bg-transparent text-center mt-3",
((max && Number(amount) > max) || (min && Number(amount) < min)) &&
"text-red-500",
"text-destructive",
)}
placeholder="0"
keyboardType={inputMode === "sats" ? "number-pad" : "decimal-pad"}
Expand Down
2 changes: 1 addition & 1 deletion pages/send/LNURLPay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function LNURLPay() {
<Text
className={cn(
"text-muted-foreground text-center font-semibold2",
amount && isAmountInvalid ? "text-red-500" : "",
amount && isAmountInvalid ? "text-destructive" : "",
)}
>
Between{" "}
Expand Down
2 changes: 1 addition & 1 deletion pages/withdraw/Withdraw.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export function Withdraw() {
<Text
className={cn(
"text-muted-foreground text-center font-semibold2",
valueSat && isAmountInvalid ? "text-red-500" : "",
valueSat && isAmountInvalid ? "text-destructive" : "",
)}
>
Between{" "}
Expand Down

0 comments on commit 68f0a8c

Please sign in to comment.