+
{formatWithCurrency(pendingTotal / 100, 0)}
diff --git a/src/utils/withdrawalUtils.ts b/src/utils/withdrawalUtils.ts
index a168bfb..aa0e91f 100644
--- a/src/utils/withdrawalUtils.ts
+++ b/src/utils/withdrawalUtils.ts
@@ -24,8 +24,8 @@ export type StatusBadge = { labelKey: string; color: string; bgColor: string };
export const withdrawalStatusBadgeConfig: Record = {
pending: {
labelKey: 'admin.withdrawals.status.pending',
- color: 'text-yellow-400',
- bgColor: 'bg-yellow-500/20',
+ color: 'text-warning-400',
+ bgColor: 'bg-warning-500/20',
},
approved: {
labelKey: 'admin.withdrawals.status.approved',
@@ -62,7 +62,8 @@ export function getWithdrawalStatusBadge(status: string): StatusBadge {
export function getRiskColor(score: number): { text: string; bg: string; bar: string } {
if (score < 30)
return { text: 'text-success-400', bg: 'bg-success-500/20', bar: 'bg-success-500' };
- if (score < 50) return { text: 'text-yellow-400', bg: 'bg-yellow-500/20', bar: 'bg-yellow-500' };
+ if (score < 50)
+ return { text: 'text-warning-400', bg: 'bg-warning-500/20', bar: 'bg-warning-500' };
if (score < 70) return { text: 'text-orange-400', bg: 'bg-orange-500/20', bar: 'bg-orange-500' };
return { text: 'text-error-400', bg: 'bg-error-500/20', bar: 'bg-error-500' };
}
@@ -72,7 +73,7 @@ export function getRiskLevelColor(level: string): { text: string; bg: string } {
case 'low':
return { text: 'text-success-400', bg: 'bg-success-500/20' };
case 'medium':
- return { text: 'text-yellow-400', bg: 'bg-yellow-500/20' };
+ return { text: 'text-warning-400', bg: 'bg-warning-500/20' };
case 'high':
return { text: 'text-orange-400', bg: 'bg-orange-500/20' };
case 'critical':