fix: remplacer couleurs emerald/green fluo par couleurs brand dans les paramètres
Some checks failed
CI / Lint, Unit Tests & Build (push) Failing after 1m25s
CI / Deploy production (on server) (push) Has been skipped

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Antigravity
2026-05-29 19:13:09 +00:00
parent a1c1729904
commit b012869119
9 changed files with 17 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ const FEATURE_LABEL_KEYS: Record<string, string> = {
function UsageBar({ used, limit, isUnlimited }: { used: number; limit: number; isUnlimited: boolean }) {
const pct = isUnlimited ? 0 : Math.min(100, limit > 0 ? (used / limit) * 100 : 0);
const color =
pct >= 90 ? 'bg-rose-500' : pct >= 70 ? 'bg-amber-500' : 'bg-emerald-500';
pct >= 90 ? 'bg-rose-500' : pct >= 70 ? 'bg-amber-500' : 'bg-primary';
return (
<div className="h-1.5 w-full rounded-full bg-foreground/10 overflow-hidden">
@@ -82,7 +82,7 @@ export function UsageBreakdown() {
<span className="text-xs text-muted-foreground">{label}</span>
<span className="text-xs font-medium text-foreground tabular-nums">
{isUnlimited ? (
<span className="text-emerald-600 dark:text-emerald-400">{t('billing.unlimited')}</span>
<span className="text-primary/80 dark:text-primary">{t('billing.unlimited')}</span>
) : (
`${quota.used} / ${quota.limit}`
)}