diff --git a/memento-note/app/(main)/settings/data/page.tsx b/memento-note/app/(main)/settings/data/page.tsx index e4f2cd8..41fa3c2 100644 --- a/memento-note/app/(main)/settings/data/page.tsx +++ b/memento-note/app/(main)/settings/data/page.tsx @@ -183,8 +183,8 @@ export default function DataSettingsPage() { }, { icon: Upload, - iconColor: 'text-emerald-600 dark:text-emerald-400', - iconBg: 'bg-emerald-500/10 dark:bg-emerald-500/20', + iconColor: 'text-primary/80 dark:text-primary', + iconBg: 'bg-primary/10 dark:bg-primary/20', title: t('dataManagement.import.title'), description: t('dataManagement.import.description'), loading: isImporting, diff --git a/memento-note/app/(main)/settings/general/general-settings-client.tsx b/memento-note/app/(main)/settings/general/general-settings-client.tsx index 0478dcc..bbb05d5 100644 --- a/memento-note/app/(main)/settings/general/general-settings-client.tsx +++ b/memento-note/app/(main)/settings/general/general-settings-client.tsx @@ -233,7 +233,7 @@ export function GeneralSettingsClient({ initialSettings }: GeneralSettingsClient className={cn( 'shrink-0 px-3 py-1 rounded-full text-[10px] font-bold uppercase tracking-wider border', hasAiConsent - ? 'bg-emerald-500/10 text-emerald-700 dark:text-emerald-400 border-emerald-500/20' + ? 'bg-primary/10 text-primary/80 dark:text-primary border-primary/20' : 'bg-concrete/10 text-concrete border-border' )} > diff --git a/memento-note/app/(main)/settings/integrations/page.tsx b/memento-note/app/(main)/settings/integrations/page.tsx index 254ba54..e14ce34 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 0b00b56..3015b51 100644 --- a/memento-note/components/mcp/mcp-settings-panel.tsx +++ b/memento-note/components/mcp/mcp-settings-panel.tsx @@ -231,7 +231,7 @@ export function McpSettingsPanel({ initialKeys, serverStatus }: McpSettingsPanel onClick={() => handleCopy(showRawKey!)} className="shrink-0 p-2.5 rounded-xl border border-border hover:bg-paper dark:hover:bg-white/10 transition-colors" > - {copied ? : } + {copied ? : } @@ -304,7 +304,7 @@ function KeyCard({ keyInfo, onRevoke, onDelete, isPending }: { keyInfo: McpKeyIn {keyInfo.active ? t('mcpSettings.apiKeys.active') : t('mcpSettings.apiKeys.revoked')} @@ -403,7 +403,7 @@ function ConfigInstructions({ serverStatus }: { serverStatus: McpServerStatus }) return (
-
+
@@ -436,7 +436,7 @@ function ConfigInstructions({ serverStatus }: { serverStatus: McpServerStatus }) onClick={() => handleCopySnippet(cfg.snippet)} className="absolute top-3 right-3 p-1.5 rounded-lg border border-border bg-paper dark:bg-black/30 hover:bg-white dark:hover:bg-black/50 transition-colors" > - {copied ? : } + {copied ? : }
diff --git a/memento-note/components/settings/SettingInput.tsx b/memento-note/components/settings/SettingInput.tsx index ec305ae..77e1bd1 100644 --- a/memento-note/components/settings/SettingInput.tsx +++ b/memento-note/components/settings/SettingInput.tsx @@ -79,7 +79,7 @@ export function SettingInput({ )} {isSaved && !isLoading && ( - + )}
diff --git a/memento-note/components/settings/SettingToggle.tsx b/memento-note/components/settings/SettingToggle.tsx index 1bf6e32..ca9be07 100644 --- a/memento-note/components/settings/SettingToggle.tsx +++ b/memento-note/components/settings/SettingToggle.tsx @@ -60,7 +60,7 @@ export function SettingToggle({
{isLoading && } - {!isLoading && !error && checked && } + {!isLoading && !error && checked && } {!isLoading && !error && !checked && } { const s = status?.toLowerCase(); if (s === 'paid') { - return 'bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border border-emerald-500/20'; + return 'bg-primary/10 text-primary/80 dark:text-primary border border-primary/20'; } if (s === 'open' || s === 'pending') { return 'bg-amber-500/10 text-amber-600 dark:text-amber-400 border border-amber-500/20'; diff --git a/memento-note/components/settings/billing-plans.tsx b/memento-note/components/settings/billing-plans.tsx index d26b909..f0ff111 100644 --- a/memento-note/components/settings/billing-plans.tsx +++ b/memento-note/components/settings/billing-plans.tsx @@ -321,8 +321,8 @@ export function BillingPlans() { > {/* Success Banner */} {successBanner && ( -
- +
+

{t('billing.checkoutSuccessTitle') || 'Abonnement activé !'}

{successBanner}

@@ -351,7 +351,7 @@ export function BillingPlans() { {status?.status ? t(`billing.${status.status.toLowerCase()}`) || status.status : t('billing.active')} @@ -545,7 +545,7 @@ export function BillingPlans() { )} > {t('billing.annual')} - {t('billing.save')} ~17% + {t('billing.save')} ~17%
)} diff --git a/memento-note/components/settings/usage-breakdown.tsx b/memento-note/components/settings/usage-breakdown.tsx index 6f9bd8b..2cc3230 100644 --- a/memento-note/components/settings/usage-breakdown.tsx +++ b/memento-note/components/settings/usage-breakdown.tsx @@ -25,7 +25,7 @@ const FEATURE_LABEL_KEYS: Record = { 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 (
@@ -82,7 +82,7 @@ export function UsageBreakdown() { {label} {isUnlimited ? ( - {t('billing.unlimited')} + {t('billing.unlimited')} ) : ( `${quota.used} / ${quota.limit}` )}