From e711a3501d9b08c5712420279de8920afa3c497e Mon Sep 17 00:00:00 2001 From: Antigravity Date: Fri, 29 May 2026 19:15:13 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20badges=20statut=20(Connect=C3=A9/Actif/P?= =?UTF-8?q?ay=C3=A9)=20en=20emerald=20sobre,=20d=C3=A9co=20en=20primary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- memento-note/app/(main)/settings/integrations/page.tsx | 2 +- memento-note/components/mcp/mcp-settings-panel.tsx | 2 +- memento-note/components/settings/billing-history.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/memento-note/app/(main)/settings/integrations/page.tsx b/memento-note/app/(main)/settings/integrations/page.tsx index e14ce34..6308b6e 100644 --- a/memento-note/app/(main)/settings/integrations/page.tsx +++ b/memento-note/app/(main)/settings/integrations/page.tsx @@ -127,7 +127,7 @@ export default function IntegrationsPage() { const StatusBadge = ({ connected }: { connected: boolean }) => connected ? ( - + Connecté ) : ( diff --git a/memento-note/components/mcp/mcp-settings-panel.tsx b/memento-note/components/mcp/mcp-settings-panel.tsx index 3015b51..98ea470 100644 --- a/memento-note/components/mcp/mcp-settings-panel.tsx +++ b/memento-note/components/mcp/mcp-settings-panel.tsx @@ -304,7 +304,7 @@ function KeyCard({ keyInfo, onRevoke, onDelete, isPending }: { keyInfo: McpKeyIn {keyInfo.active ? t('mcpSettings.apiKeys.active') : t('mcpSettings.apiKeys.revoked')} diff --git a/memento-note/components/settings/billing-history.tsx b/memento-note/components/settings/billing-history.tsx index 83ae069..6995d9a 100644 --- a/memento-note/components/settings/billing-history.tsx +++ b/memento-note/components/settings/billing-history.tsx @@ -72,7 +72,7 @@ export function BillingHistory() { const getStatusBadge = (status: string | null) => { const s = status?.toLowerCase(); if (s === 'paid') { - return 'bg-primary/10 text-primary/80 dark:text-primary border border-primary/20'; + return 'bg-emerald-50 dark:bg-emerald-950/40 text-emerald-700 dark:text-emerald-300 border border-emerald-200 dark:border-emerald-800/50'; } if (s === 'open' || s === 'pending') { return 'bg-amber-500/10 text-amber-600 dark:text-amber-400 border border-amber-500/20';