Email for professionals and teams
Raise the contrast of secondary text to WCAG AA (#95)
Can K.960dda46566b
diff --git a/src/app/(admin)/accounts/account-aliases.tsx b/src/app/(admin)/accounts/account-aliases.tsxindex d833478..21b506f 100644--- a/src/app/(admin)/accounts/account-aliases.tsx+++ b/src/app/(admin)/accounts/account-aliases.tsx@@ -40,7 +40,7 @@ export function AccountAliases({ domains, domainId, username, useAllDomains, onUmaxLength={64}required/>- <span className="text-sm text-neutral-400">@</span>+ <span className="text-sm text-neutral-500">@</span><Selectaria-label={t("aliases.domainLabel", { n: index + 1 })}value={alias.domainId}diff --git a/src/app/(admin)/accounts/page.tsx b/src/app/(admin)/accounts/page.tsxindex 9709e43..b1a5211 100644--- a/src/app/(admin)/accounts/page.tsx+++ b/src/app/(admin)/accounts/page.tsx@@ -113,7 +113,7 @@ export default function AccountsPage() {})}</List></div><Dialog open={createOpen} onOpenChange={setCreateOpen}><DialogContent className="max-h-[calc(100dvh-4rem)] w-[min(640px,calc(100vw-32px))] overflow-y-auto"><DialogHeader><DialogTitle>{t("accounts.addTitle")}</DialogTitle><DialogDescription>{t("accounts.addDescription")}</DialogDescription></DialogHeader><form onSubmit={createAccount}><fieldset disabled={saving} className="space-y-4">- <div className="space-y-2"><Label htmlFor="account-username">{t("auth.email")}</Label><div className="flex h-10 overflow-hidden rounded-md border border-neutral-200 bg-white"><Input id="account-username" value={username} onChange={(event) => setUsername(event.target.value)} placeholder={t("accounts.username")} className="min-w-0 flex-1 rounded-none border-0 shadow-none" required /><span className="flex items-center text-sm text-neutral-400">@</span><Select aria-label={t("accounts.domain")} value={domainId} onChange={(event) => setDomainId(event.target.value)} containerClassName="min-w-0 max-w-[55%] shrink-0 rounded-none border-0 px-0" className="bg-transparent px-3 text-sm" required><option value="">{t("accounts.selectDomain")}</option>{domains.map((domain) => <option key={domain.id} value={domain.id}>{domain.hostname}</option>)}</Select></div></div>+ <div className="space-y-2"><Label htmlFor="account-username">{t("auth.email")}</Label><div className="flex h-10 overflow-hidden rounded-md border border-neutral-200 bg-white"><Input id="account-username" value={username} onChange={(event) => setUsername(event.target.value)} placeholder={t("accounts.username")} className="min-w-0 flex-1 rounded-none border-0 shadow-none" required /><span className="flex items-center text-sm text-neutral-500">@</span><Select aria-label={t("accounts.domain")} value={domainId} onChange={(event) => setDomainId(event.target.value)} containerClassName="min-w-0 max-w-[55%] shrink-0 rounded-none border-0 px-0" className="bg-transparent px-3 text-sm" required><option value="">{t("accounts.selectDomain")}</option>{domains.map((domain) => <option key={domain.id} value={domain.id}>{domain.hostname}</option>)}</Select></div></div><div className="space-y-2"><Label htmlFor="account-password">{t("auth.password")}</Label><Input id="account-password" type="password" minLength={8} value={password} onChange={(event) => setPassword(event.target.value)} required /></div>{canChooseRole && <div className="space-y-2"><Label htmlFor="account-role">{t("accounts.role")}</Label><Select id="account-role" value={role} onChange={(event) => setRole(event.target.value as "admin" | "user")} containerClassName="h-10 w-full bg-white px-0" className="px-3 text-sm"><option value="user">{t("accounts.roleUser")}</option><option value="admin">{t("accounts.roleAdmin")}</option></Select></div>}<AccountAliases domains={domains} domainId={domainId} username={username} useAllDomains={useAllDomains} onUseAllDomainsChange={setUseAllDomains} aliases={aliases} onAliasesChange={setAliases} />diff --git a/src/app/(admin)/ai-usage/usage-chart.tsx b/src/app/(admin)/ai-usage/usage-chart.tsxindex 70d0d0f..5c64a6c 100644--- a/src/app/(admin)/ai-usage/usage-chart.tsx+++ b/src/app/(admin)/ai-usage/usage-chart.tsx@@ -11,13 +11,13 @@ export function UsageChart({ daily, timeZone = getUserTimeZone() }: UsageChartPrreturn <section className="rounded-2xl bg-white p-5"><div className="flex flex-wrap items-center justify-between gap-3"><div><h2 className="text-base font-semibold text-neutral-900">{t("aiUsage.byDay")}</h2><p className="mt-1 text-xs text-neutral-500">{t("aiUsage.chartHint", { zone: timeZone })}</p></div><div className="flex items-center gap-4 text-xs text-neutral-600"><span className="flex items-center gap-1.5"><span className="h-2.5 w-2.5 rounded-sm bg-blue-600" /> {t("aiUsage.legendInput")}</span><span className="flex items-center gap-1.5"><span className="h-2.5 w-2.5 rounded-sm bg-sky-300" /> {t("aiUsage.legendOutput")}</span></div></div><div className="mt-5 flex gap-3" role="img" aria-label={t("aiUsage.chartLabel")}>- <div className="flex h-48 flex-col justify-between pb-5 text-right text-[10px] text-neutral-400"><span>{formatTokenCount(maxTokens)}</span><span>0</span></div>+ <div className="flex h-48 flex-col justify-between pb-5 text-right text-[10px] text-neutral-500"><span>{formatTokenCount(maxTokens)}</span><span>0</span></div><div className="flex min-w-0 flex-1 items-end gap-1 border-b border-neutral-200">{days.map((day, index) => {const total = day.inputTokens + day.outputTokens;return <div key={day.date} className="flex h-48 min-w-0 flex-1 flex-col items-center" title={t("aiUsage.barTitle", { day: formatDailyLabel(day.date), tokens: formatTokenCount(total), requests: formatTokenCount(day.requests) })}><div className="flex h-[172px] w-full items-end justify-center"><div className="relative w-full max-w-5 rounded-t-sm" style={{ height: `${total ? Math.max(2, total / maxTokens * 100) : 0}%` }}><div className="absolute inset-x-0 bottom-0 bg-blue-600" style={{ height: `${total ? day.inputTokens / total * 100 : 0}%` }} /><div className="absolute inset-x-0 top-0 bg-sky-300" style={{ height: `${total ? day.outputTokens / total * 100 : 0}%` }} /></div></div>- <span className="h-5 whitespace-nowrap pt-1 text-[9px] text-neutral-400">{index % 5 === 0 || index === days.length - 1 ? formatDailyLabel(day.date) : ""}</span>+ <span className="h-5 whitespace-nowrap pt-1 text-[9px] text-neutral-500">{index % 5 === 0 || index === days.length - 1 ? formatDailyLabel(day.date) : ""}</span></div>;})}</div>diff --git a/src/app/(admin)/branding/page.tsx b/src/app/(admin)/branding/page.tsxindex b6d8fc3..561a805 100644--- a/src/app/(admin)/branding/page.tsx+++ b/src/app/(admin)/branding/page.tsx@@ -91,7 +91,7 @@ export default function BrandingPage() {<Input ref={inputRef} type="file" accept={BRANDING_ICON_ACCEPT} className="hidden" onChange={(event) => pickIcon(event.target.files?.[0] ?? null)} /><button type="button" onClick={() => inputRef.current?.click()} className="flex items-center gap-4 rounded-2xl border border-dashed border-neutral-300 p-4 text-left hover:bg-neutral-50"><img src={preview ?? branding.iconUrl} alt={t("branding.iconPreview")} className="h-16 w-16 rounded-2xl object-cover" />- <span className="text-sm text-neutral-600"><ImagePlus className="mb-1 h-5 w-5" />{t("branding.chooseImage")}<br /><span className="text-xs text-neutral-400">{t("branding.maxSize")}</span></span>+ <span className="text-sm text-neutral-600"><ImagePlus className="mb-1 h-5 w-5" />{t("branding.chooseImage")}<br /><span className="text-xs text-neutral-500">{t("branding.maxSize")}</span></span></button></div>{status && <p role="status" className="text-sm text-neutral-600">{status}</p>}diff --git a/src/app/(admin)/domains/ResendDomainSection.tsx b/src/app/(admin)/domains/ResendDomainSection.tsxindex 4b8cae3..dc0f563 100644--- a/src/app/(admin)/domains/ResendDomainSection.tsx+++ b/src/app/(admin)/domains/ResendDomainSection.tsx@@ -142,7 +142,7 @@ export default function ResendDomainSection({ domainId, onStatus }: { domainId:<span className="font-medium">{record.type}</span><span className="break-all">{record.name}</span><span className="break-all">{record.priority !== null ? `${record.priority} ` : ""}{record.value}</span>- <span className="uppercase text-neutral-400">{record.status.replace(/_/g, " ")}</span>+ <span className="uppercase text-neutral-500">{record.status.replace(/_/g, " ")}</span></li>))}</ul>diff --git a/src/app/(admin)/mailboxes/page.tsx b/src/app/(admin)/mailboxes/page.tsxindex d7f0b47..05b7033 100644--- a/src/app/(admin)/mailboxes/page.tsx+++ b/src/app/(admin)/mailboxes/page.tsx@@ -196,7 +196,7 @@ export default function MailboxesPage() {placeholder={t("mailboxes.localPlaceholder")}className="min-w-0 flex-1 rounded-none border-0 shadow-none focus-visible:border-0"/>- <span className="flex items-center text-sm text-neutral-400">@</span>+ <span className="flex items-center text-sm text-neutral-500">@</span><Selectaria-label={t("accounts.domain")}className="min-w-0 max-w-[55%] bg-transparent px-3 text-sm text-neutral-700 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50"diff --git a/src/app/(admin)/webhooks/deliveries.tsx b/src/app/(admin)/webhooks/deliveries.tsxindex afc05dc..dc86a34 100644--- a/src/app/(admin)/webhooks/deliveries.tsx+++ b/src/app/(admin)/webhooks/deliveries.tsx@@ -68,7 +68,7 @@ export function WebhookDeliveries({ webhookId }: { webhookId: string }) {<tr key={delivery.id} className="border-t border-neutral-100 align-top"><td className="px-3 py-2"><span className="block">{delivery.eventType}</span>- <span className="block text-xs text-neutral-400">+ <span className="block text-xs text-neutral-500">{formatTimestamp(delivery.createdAt)}</span></td>@@ -86,7 +86,7 @@ export function WebhookDeliveries({ webhookId }: { webhookId: string }) {{delivery.responseStatus ?? "—"}{delivery.durationMs !== null && (// An explicit separator: "200" next to "6ms" otherwise reads as "2006ms".- <span className="ml-1 text-xs text-neutral-400">+ <span className="ml-1 text-xs text-neutral-500">· {formatDuration(delivery.durationMs)}</span>)}diff --git a/src/app/(admin)/webhooks/page.tsx b/src/app/(admin)/webhooks/page.tsxindex b98df89..7bef686 100644--- a/src/app/(admin)/webhooks/page.tsx+++ b/src/app/(admin)/webhooks/page.tsx@@ -166,19 +166,19 @@ export default function WebhooksPage() {<span className="block text-xs text-neutral-500">{t("webhooks.stat.deliveries")}</span></div><div className="px-4 py-3">- <span className={`block text-lg font-semibold ${hook.stats.delivered ? "text-green-600" : "text-neutral-400"}`}>+ <span className={`block text-lg font-semibold ${hook.stats.delivered ? "text-green-600" : "text-neutral-500"}`}>{hook.stats.delivered}</span><span className="block text-xs text-neutral-500">{t("webhooks.stat.delivered")}</span></div><div className="px-4 py-3">- <span className={`block text-lg font-semibold ${hook.stats.pending ? "text-amber-600" : "text-neutral-400"}`}>+ <span className={`block text-lg font-semibold ${hook.stats.pending ? "text-amber-600" : "text-neutral-500"}`}>{hook.stats.pending}</span><span className="block text-xs text-neutral-500">{t("webhooks.stat.inFlight")}</span></div><div className="px-4 py-3">- <span className={`block text-lg font-semibold ${hook.stats.failing ? "text-red-600" : "text-neutral-400"}`}>+ <span className={`block text-lg font-semibold ${hook.stats.failing ? "text-red-600" : "text-neutral-500"}`}>{hook.stats.failing}</span><span className="block text-xs text-neutral-500">{t("webhooks.stat.failed")}</span>diff --git a/src/app/(calendar)/calendar/page.tsx b/src/app/(calendar)/calendar/page.tsxindex d76df46..d845bea 100644--- a/src/app/(calendar)/calendar/page.tsx+++ b/src/app/(calendar)/calendar/page.tsx@@ -427,7 +427,7 @@ export default function CalendarPage() {<button key={dateKey(day)} type="button" aria-label={formatUserDate(day, { weekday: "long", month: "long", day: "numeric", year: "numeric" })} aria-pressed={selected}onClick={() => { setVisibleDate(day); setMonthPickerOpen(false); }}className={clsx("mx-auto my-0.5 flex h-11 w-11 items-center justify-center rounded-full text-base font-medium hover:bg-neutral-200/80",- selected ? "bg-blue-600 text-white hover:bg-blue-600" : isToday ? "bg-neutral-200 text-neutral-900" : outsideMonth ? "text-neutral-400" : "text-neutral-900")}>+ selected ? "bg-blue-600 text-white hover:bg-blue-600" : isToday ? "bg-neutral-200 text-neutral-900" : outsideMonth ? "text-neutral-500" : "text-neutral-900")}>{formatUserDate(day, { day: "numeric" })}</button>);diff --git a/src/app/(calendar)/upcoming-sidebar.tsx b/src/app/(calendar)/upcoming-sidebar.tsxindex a792eaa..19fbec5 100644--- a/src/app/(calendar)/upcoming-sidebar.tsx+++ b/src/app/(calendar)/upcoming-sidebar.tsx@@ -60,7 +60,7 @@ export function UpcomingSidebar({ events, onSelect, drawer = false, refreshKey }const awaiting = events === undefined && !loaded && !loadError;const SKELETON = <div className="space-y-6" aria-label={t("calendar.loadingUpcoming")} aria-busy="true">{[0, 1].map((group) => <div key={group} className="animate-pulse"><div className="mb-3 h-4 w-28 rounded bg-neutral-200" /><div className="space-y-3">{[0, 1, 2].map((row) => <div key={row} className="flex items-start gap-3"><span className="mt-0.5 h-4 w-4 shrink-0 rounded-full bg-neutral-200" /><span className="min-w-0 flex-1 space-y-1.5"><span className="block h-3.5 w-3/4 rounded bg-neutral-200" /><span className="block h-3 w-1/2 rounded bg-neutral-100" /></span></div>)}</div></div>)}</div>;const list = !minimal && <div ref={scrollRef} className="h-full overflow-y-auto overscroll-contain rounded-t-3xl px-5 py-5">- {awaiting ? SKELETON : groups.length === 0 ? <div><h2 className="text-lg font-semibold text-neutral-900">{t("calendar.upcoming")}</h2><p className="mt-4 text-sm text-neutral-400">{loadError ? t("calendar.upcomingLoadFailed") : t("calendar.noUpcoming")}</p></div> : visibleGroups.map((group) => <section key={group.key} className="mb-6 last:mb-0"><h2 className="sticky -top-5 z-10 -mx-5 mb-2 bg-white px-5 py-2 text-base font-semibold text-neutral-900">{group.label}</h2><div className="space-y-2">{group.events.map((event) => <button key={event.id} type="button" onClick={() => onSelect ? onSelect(event) : router.push(`/calendar?event=${encodeURIComponent(event.id)}`)} className="group flex w-full items-start gap-3 text-left"><span className="mt-0.5 h-4 w-4 shrink-0 rounded-full border-2 border-white ring-1 ring-neutral-200" style={{ backgroundColor: normalizeCalendarColor(event.color) }} /><span className="min-w-0"><span className="block truncate text-sm text-neutral-700 group-hover:text-neutral-950">{event.title}</span><span className="block text-xs text-neutral-400">{formatEventRange(event)}</span></span></button>)}</div></section>)}+ {awaiting ? SKELETON : groups.length === 0 ? <div><h2 className="text-lg font-semibold text-neutral-900">{t("calendar.upcoming")}</h2><p className="mt-4 text-sm text-neutral-500">{loadError ? t("calendar.upcomingLoadFailed") : t("calendar.noUpcoming")}</p></div> : visibleGroups.map((group) => <section key={group.key} className="mb-6 last:mb-0"><h2 className="sticky -top-5 z-10 -mx-5 mb-2 bg-white px-5 py-2 text-base font-semibold text-neutral-900">{group.label}</h2><div className="space-y-2">{group.events.map((event) => <button key={event.id} type="button" onClick={() => onSelect ? onSelect(event) : router.push(`/calendar?event=${encodeURIComponent(event.id)}`)} className="group flex w-full items-start gap-3 text-left"><span className="mt-0.5 h-4 w-4 shrink-0 rounded-full border-2 border-white ring-1 ring-neutral-200" style={{ backgroundColor: normalizeCalendarColor(event.color) }} /><span className="min-w-0"><span className="block truncate text-sm text-neutral-700 group-hover:text-neutral-950">{event.title}</span><span className="block text-xs text-neutral-500">{formatEventRange(event)}</span></span></button>)}</div></section>)}{visibleCount < total && <div ref={sentinelRef} aria-hidden="true" className="h-1" />}</div>;diff --git a/src/app/(drive)/drive/page.tsx b/src/app/(drive)/drive/page.tsxindex 45d8abf..9637e6d 100644--- a/src/app/(drive)/drive/page.tsx+++ b/src/app/(drive)/drive/page.tsx@@ -313,7 +313,7 @@ export default function DrivePage() {<button type="button" onClick={() => open(item)} aria-disabled={item.trashedAt ? true : undefined} className="flex min-w-0 items-center gap-3 py-3 text-left aria-disabled:cursor-default"><Icon size={16} className={clsx("shrink-0", className)} fill={item.kind === "folder" ? "currentColor" : "none"} /><span className="truncate text-neutral-900">{item.name}</span>- {item.shared && item.role === "owner" && <Share2 size={12} className="shrink-0 text-neutral-400" aria-label={t("drive.share")} />}+ {item.shared && item.role === "owner" && <Share2 size={12} className="shrink-0 text-neutral-500" aria-label={t("drive.share")} />}</button><span className="hidden md:block"><DriveOwnerAvatar item={item} /></span><span className="hidden text-neutral-600 md:block">{dateFormat.format(new Date(item.updatedAt))}</span>diff --git a/src/app/(settings)/settings/import/page.tsx b/src/app/(settings)/settings/import/page.tsxindex 8e55953..654bfaf 100644--- a/src/app/(settings)/settings/import/page.tsx+++ b/src/app/(settings)/settings/import/page.tsx@@ -270,7 +270,7 @@ export default function SettingsImportPage() {><label className="flex-1">{t("importPage.selected")}</label><span className="truncate">{sourceSummary}</span>- <span className="text-neutral-400 px-2">▾</span>+ <span className="text-neutral-500 px-2">▾</span></button>{sourceDropdownOpen && (<div className="absolute z-20 mt-2 w-full rounded-xl border border-neutral-200 bg-white p-2 shadow-lg">diff --git a/src/app/book/[userId]/[eventId]/page.tsx b/src/app/book/[userId]/[eventId]/page.tsxindex 73ddf6d..14eedef 100644--- a/src/app/book/[userId]/[eventId]/page.tsx+++ b/src/app/book/[userId]/[eventId]/page.tsx@@ -148,7 +148,7 @@ export default function PublicBookingEventPage() {<button type="button" aria-label={t("public.prevMonth")} disabled={!firstMonth || moveMonth(visibleMonth, -1) < firstMonth} onClick={() => setMonth(moveMonth(visibleMonth, -1))} className="flex h-9 w-9 items-center justify-center rounded-md border border-neutral-200 text-blue-600 hover:bg-blue-50 disabled:cursor-not-allowed disabled:opacity-30"><ChevronLeft className="h-5 w-5" /></button><button type="button" aria-label={t("public.nextMonth")} disabled={!lastMonth || moveMonth(visibleMonth, 1) > lastMonth} onClick={() => setMonth(moveMonth(visibleMonth, 1))} className="flex h-9 w-9 items-center justify-center rounded-md border border-neutral-200 text-blue-600 hover:bg-blue-50 disabled:cursor-not-allowed disabled:opacity-30"><ChevronRight className="h-5 w-5" /></button></div>- <div className="mx-auto mt-6 grid max-w-[440px] grid-cols-7 max-sm:px-5 text-center text-sm text-neutral-400">{t("public.weekdayHeads").split("|").map((head) => <span key={head}>{head}</span>)}</div>+ <div className="mx-auto mt-6 grid max-w-[440px] grid-cols-7 max-sm:px-5 text-center text-sm text-neutral-500">{t("public.weekdayHeads").split("|").map((head) => <span key={head}>{head}</span>)}</div><div className="mx-auto mt-2 mb-6 grid max-w-[440px] grid-cols-7 max-sm:px-5">{calendarDays(visibleMonth).map((date, index) => <div key={date || `blank-${index}`} className="aspect-square min-w-0">{date && <button type="button" disabled={!slotsByDate.has(date) && date !== todayDate} onClick={() => { setSelectedDate(date); setError(""); writeBookingPageSelection(date, null, timeZone); }} aria-label={`${formatCalendarDate(date, { weekday: "long", month: "long", day: "numeric", year: "numeric" })}${date === todayDate ? t("public.today") : ""}${slotsByDate.has(date) ? t("public.availableTimes", { count: slotsByDate.get(date)?.length }) : t("public.noTimesDay")}`} aria-current={date === todayDate ? "date" : undefined} aria-pressed={selectedDate === date} className={`flex h-full w-full items-center justify-center rounded-lg text-base ${selectedDate === date ? "bg-blue-600 text-white" : slotsByDate.has(date) || date === todayDate ? "text-blue-700 hover:bg-blue-50" : "cursor-not-allowed text-neutral-400"}`}><span className={`relative flex h-10 w-10 items-center justify-center rounded-full ${selectedDate === date ? "font-semibold" : slotsByDate.has(date) ? "bg-blue-50 font-medium" : ""} ${date === todayDate && selectedDate !== date ? "ring-2 ring-blue-300 ring-offset-2" : ""}`}>{Number(date.slice(-2))}{date === todayDate && selectedDate === date && <span aria-hidden="true" className="absolute bottom-1 h-1 w-1 rounded-full bg-white" />}</span></button>}</div>)}</div>diff --git a/src/app/globals.css b/src/app/globals.cssindex 6aa2838..d9662e4 100644--- a/src/app/globals.css+++ b/src/app/globals.css@@ -3,6 +3,7 @@@custom-variant dark (&:where(.dark, .dark *));:root {+ --color-neutral-500: #6b6b6b;--background: #f6f8fc;--foreground: #202124;--card: #ffffff;@@ -209,8 +210,8 @@ button {--color-neutral-100: #35363a;--color-neutral-200: #3c4043;--color-neutral-300: #5f6368;- --color-neutral-400: #80868b;- --color-neutral-500: #9aa0a6;+ --color-neutral-400: #9aa0a6;+ --color-neutral-500: #a8aeb4;--color-neutral-600: #bdc1c6;--color-neutral-700: #dadce0;--color-neutral-800: #e8eaed;diff --git a/src/components/agent/agent-turn.tsx b/src/components/agent/agent-turn.tsxindex 7c86d51..1eb3aba 100644--- a/src/components/agent/agent-turn.tsx+++ b/src/components/agent/agent-turn.tsx@@ -20,7 +20,7 @@ export function AgentTurnView({ turn, draftActions, onOpenDraft, onApproveDraft,}const turnDraftActions = draftActions.filter((action) => turn.activity.some((item) => item.id === action.messageId));const workContent = <div className="mt-2 space-y-2 text-xs">- {turn.activity.length ? turn.activity.map((item) => item.role === "reasoning" ? <p key={item.id} className="whitespace-pre-wrap break-words text-xs text-neutral-600 pl-5">{item.content}</p> : <AgentToolActivity key={item.id} item={item} forceOpen={turn.running} />) : <p className="text-neutral-400">{turn.running ? t("agent.turn.waiting") : t("agent.turn.noDetails")}</p>}+ {turn.activity.length ? turn.activity.map((item) => item.role === "reasoning" ? <p key={item.id} className="whitespace-pre-wrap break-words text-xs text-neutral-600 pl-5">{item.content}</p> : <AgentToolActivity key={item.id} item={item} forceOpen={turn.running} />) : <p className="text-neutral-500">{turn.running ? t("agent.turn.waiting") : t("agent.turn.noDetails")}</p>}</div>;return <div className="space-y-3 py-2">{turn.user && <div className="ml-auto w-fit max-w-[90%] whitespace-pre-wrap break-words rounded-2xl bg-blue-100/65 px-4 py-3 text-sm leading-relaxed text-black">{turn.user.content}</div>}diff --git a/src/components/agent/tool-activity.tsx b/src/components/agent/tool-activity.tsxindex dec9063..6a8fa0a 100644--- a/src/components/agent/tool-activity.tsx+++ b/src/components/agent/tool-activity.tsx@@ -33,7 +33,7 @@ export function AgentToolActivity({ item, forceOpen }: { item: AgentMessage; for<div className="mt-1.5 space-y-2 pl-[18px] text-neutral-600"><p>{display.description}</p>{emails.length > 0 && <ul className="space-y-1.5">{emails.map((email) => <li key={email.id} className="break-words"><AgentEmailLink email={email} className="font-medium text-blue-700 hover:underline" />{email.from && <span className="text-neutral-500"> · {email.from}</span>}{email.snippet && <p className="line-clamp-2 text-neutral-500">{email.snippet}</p>}</li>)}</ul>}- {result && Object.entries(result).filter(([key, value]) => !["emails", "text", "attachments", "result", "id", "subject", "from", "snippet", "url", "reviewUrl", "action", "status"].includes(key) && value !== null && typeof value !== "object").map(([key, value]) => <p key={key} className="break-words"><span className="text-neutral-400">{key.replace(/([A-Z])/g, " $1")}: </span>{String(value)}</p>)}+ {result && Object.entries(result).filter(([key, value]) => !["emails", "text", "attachments", "result", "id", "subject", "from", "snippet", "url", "reviewUrl", "action", "status"].includes(key) && value !== null && typeof value !== "object").map(([key, value]) => <p key={key} className="break-words"><span className="text-neutral-500">{key.replace(/([A-Z])/g, " $1")}: </span>{String(value)}</p>)}{typeof result?.text === "string" && <p className="max-h-36 overflow-y-auto whitespace-pre-wrap break-words">{result.text}</p>}{Array.isArray(result?.attachments) && result.attachments.length > 0 && <p>{t("agent.activity.attachments", { list: result.attachments.map((file: { filename?: string }) => file.filename || t("agent.activity.attachment")).join(", ") })}</p>}{!result && item.content && <p className="whitespace-pre-wrap break-words">{item.content}</p>}diff --git a/src/components/auth/auth-shell.tsx b/src/components/auth/auth-shell.tsxindex e6f79bf..c839a64 100644--- a/src/components/auth/auth-shell.tsx+++ b/src/components/auth/auth-shell.tsx@@ -66,7 +66,7 @@ export function AuthShell({<span key={step.label} className="flex items-center gap-2"><spanclassName={- step.active ? "text-blue-700" : "text-neutral-400"+ step.active ? "text-blue-700" : "text-neutral-500"}>{index + 1} {step.label}diff --git a/src/components/compose/compose-form.tsx b/src/components/compose/compose-form.tsxindex 92394ce..b574e87 100644--- a/src/components/compose/compose-form.tsx+++ b/src/components/compose/compose-form.tsx@@ -492,11 +492,11 @@ export function ComposeForm({><FileText className="h-4 w-4 shrink-0 text-neutral-500" /><span className="max-w-48 truncate">{attachment.filename}</span>- <span className="text-xs text-neutral-400">{formatAttachmentSize(attachment.size)}</span>+ <span className="text-xs text-neutral-500">{formatAttachmentSize(attachment.size)}</span><buttontype="button"onClick={() => void removeStoredAttachment(attachment.id)}- className="rounded-full p-1 text-neutral-400 hover:bg-neutral-200 hover:text-neutral-700"+ className="rounded-full p-1 text-neutral-500 hover:bg-neutral-200 hover:text-neutral-700"><X className="h-3.5 w-3.5" /><span className="sr-only">{t("compose.removeAttachment")}</span>@@ -510,7 +510,7 @@ export function ComposeForm({><FileText className="h-4 w-4 shrink-0 text-neutral-500" /><span className="max-w-48 truncate font-medium">{attachment.file.name}</span>- <span className="text-xs text-neutral-400">+ <span className="text-xs text-neutral-500">{formatAttachmentSize(attachment.file.size)}</span><button@@ -520,7 +520,7 @@ export function ComposeForm({current.filter((item) => item.id !== attachment.id),)}- className="rounded-full p-1 text-neutral-400 hover:bg-neutral-200 hover:text-neutral-700"+ className="rounded-full p-1 text-neutral-500 hover:bg-neutral-200 hover:text-neutral-700"><X className="h-3.5 w-3.5" /><span className="sr-only">{t("compose.removeAttachment")}</span>diff --git a/src/components/compose/recipient-input.tsx b/src/components/compose/recipient-input.tsxindex b8e2956..276dcbb 100644--- a/src/components/compose/recipient-input.tsx+++ b/src/components/compose/recipient-input.tsx@@ -77,7 +77,7 @@ export function RecipientInput({<buttontype="button"aria-label={t("recipient.remove", { address: getEmailAddress(entry) })}- className="rounded-full p-0.5 text-neutral-400 hover:bg-neutral-200 hover:text-neutral-700"+ className="rounded-full p-0.5 text-neutral-500 hover:bg-neutral-200 hover:text-neutral-700"onClick={(event) => {event.stopPropagation();onChange(value.filter((item) => item !== entry));diff --git a/src/components/compose/schedule-send-menu.tsx b/src/components/compose/schedule-send-menu.tsxindex ea3ff0a..7676bfe 100644--- a/src/components/compose/schedule-send-menu.tsx+++ b/src/components/compose/schedule-send-menu.tsx@@ -60,7 +60,7 @@ export function ScheduleSendMenu({ disabled, value, onChange, mailboxId, from, oclassName="cursor-pointer rounded-md px-3 py-2 outline-none hover:bg-neutral-100 focus:bg-neutral-100">{t(option.labelKey)}- <span className="ml-2 text-xs text-neutral-400">+ <span className="ml-2 text-xs text-neutral-500">{option.value && formatScheduledSend(option.value)}</span></DropdownMenu.Item>diff --git a/src/components/compose/template-menu.tsx b/src/components/compose/template-menu.tsxindex 39184c1..a42c0a6 100644--- a/src/components/compose/template-menu.tsx+++ b/src/components/compose/template-menu.tsx@@ -38,7 +38,7 @@ export function TemplateMenu({ onApply, onNew }: TemplateMenuProps) {className="z-50 flex max-h-80 w-64 flex-col rounded-lg border border-neutral-200 bg-white p-1 text-sm shadow-lg"><div className="min-h-0 flex-1 overflow-y-auto">- {templates.length === 0 && <p className="px-3 py-2 text-xs text-neutral-400">{t("template.none")}</p>}+ {templates.length === 0 && <p className="px-3 py-2 text-xs text-neutral-500">{t("template.none")}</p>}{templates.map((template) => (<DropdownMenu.Itemkey={template.id}diff --git a/src/components/contacts/contact-details.tsx b/src/components/contacts/contact-details.tsxindex fc77235..3a3f2e3 100644--- a/src/components/contacts/contact-details.tsx+++ b/src/components/contacts/contact-details.tsx@@ -132,11 +132,11 @@ export function ContactDetailsTrigger({</div><div className="grid gap-3 rounded-lg bg-neutral-50 p-3 text-sm sm:grid-cols-2"><div>- <p className="text-xs font-medium uppercase text-neutral-400">{t("contact.source")}</p>+ <p className="text-xs font-medium uppercase text-neutral-500">{t("contact.source")}</p><p className="mt-1 capitalize text-neutral-700">{contact?.source ?? t("contact.sourceEmail")}</p></div><div>- <p className="text-xs font-medium uppercase text-neutral-400">{t("contact.lastSeen")}</p>+ <p className="text-xs font-medium uppercase text-neutral-500">{t("contact.lastSeen")}</p><p className="mt-1 text-neutral-700">{contact?.lastSeenAt ? formatUserDate(contact.lastSeenAt, { month: "short", day: "2-digit", year: "numeric" }) : t("contact.unknown")}</p>diff --git a/src/components/messages/message-folder-page.tsx b/src/components/messages/message-folder-page.tsxindex 7bcf739..18bfe21 100644--- a/src/components/messages/message-folder-page.tsx+++ b/src/components/messages/message-folder-page.tsx@@ -151,7 +151,7 @@ function MessageListRow({<span className="ml-2 text-xs font-normal text-neutral-500">{message.threadCount}</span>)}</span>- <span className={clsx(unread ?"font-medium":"text-neutral-400","shrink-0 text-[11px]")}>+ <span className={clsx(unread ?"font-medium":"text-neutral-500","shrink-0 text-[11px]")}>{message.scheduledAt ? formatScheduledSendTime(message.scheduledAt, t) : formatMessageListTimestamp(message.createdAt)}</span></span>diff --git a/src/components/new-message-popup.tsx b/src/components/new-message-popup.tsxindex 5009fb1..cb0b4eb 100644--- a/src/components/new-message-popup.tsx+++ b/src/components/new-message-popup.tsx@@ -35,7 +35,7 @@ export function NewMessagePopup({<buttontype="button"onClick={onDismiss}- className="rounded-full p-1 text-neutral-400 hover:bg-neutral-100 hover:text-neutral-700"+ className="rounded-full p-1 text-neutral-500 hover:bg-neutral-100 hover:text-neutral-700"><X className="h-4 w-4" /><span className="sr-only">{t("notification.dismiss")}</span>diff --git a/src/components/settings/domain-routing/domain-routing.tsx b/src/components/settings/domain-routing/domain-routing.tsxindex d313b7f..d4d814d 100644--- a/src/components/settings/domain-routing/domain-routing.tsx+++ b/src/components/settings/domain-routing/domain-routing.tsx@@ -259,7 +259,7 @@ export function DomainRouting({ domain }: DomainRoutingProps = {}) {<div className="flex items-center gap-2"><Label htmlFor="rule-value">{t("routing.matchValue")}</Label><Tooltip label={t("routing.matchAllHint")}>- <span className="text-neutral-400"><Info className="h-4 w-4" /></span>+ <span className="text-neutral-500"><Info className="h-4 w-4" /></span></Tooltip></div><Input@@ -274,7 +274,7 @@ export function DomainRouting({ domain }: DomainRoutingProps = {}) {<div className="flex items-center gap-2"><Label htmlFor="rule-priority">{t("routing.priority")}</Label><Tooltip label={t("routing.priorityHint")}>- <span className="text-neutral-400"><Info className="h-4 w-4" /></span>+ <span className="text-neutral-500"><Info className="h-4 w-4" /></span></Tooltip></div><Input@@ -329,7 +329,7 @@ export function DomainRouting({ domain }: DomainRoutingProps = {}) {<div className="flex items-center gap-2"><p className="text-sm font-medium">{t("routing.keepCopy")}</p><Tooltip label={t("routing.keepCopyHint")}>- <span className="text-neutral-400"><Info className="h-4 w-4" /></span>+ <span className="text-neutral-500"><Info className="h-4 w-4" /></span></Tooltip></div></div>@@ -397,7 +397,7 @@ function RuleSection({<div className="flex items-center gap-2"><CardTitle className="text-xs uppercase">{title}</CardTitle><Tooltip label={description}>- <span className="text-neutral-400"><Info className="h-4 w-4" /></span>+ <span className="text-neutral-500"><Info className="h-4 w-4" /></span></Tooltip></div></CardHeader>@@ -425,7 +425,7 @@ function RuleSection({{describeRule(rule, mailboxes, hostname, t)}</p>)}- <p className="text-xs text-neutral-400">+ <p className="text-xs text-neutral-500">{t("routing.stats", { priority: rule.priority, count: rule.matchCount, last: formatLastMatched(rule.lastMatchedAt, t) })}</p></div>diff --git a/src/components/shortcuts/command-palette-item.tsx b/src/components/shortcuts/command-palette-item.tsxindex 71b324c..dadb012 100644--- a/src/components/shortcuts/command-palette-item.tsx+++ b/src/components/shortcuts/command-palette-item.tsx@@ -51,8 +51,8 @@ export function CommandPaletteItem({<spanclassName={`ml-2 text-xs truncate ${isActive- ? "text-blue-100"- : "text-neutral-400"+ ? "text-white"+ : "text-neutral-500"}`}>{item.subtitle}@@ -64,7 +64,7 @@ export function CommandPaletteItem({<kbdclassName={`text-xs px-2 py-0.5 rounded-md font-mono font-medium shrink-0 ${isActive- ? "bg-blue-700 text-blue-100"+ ? "bg-blue-700 text-white": "bg-neutral-100 text-neutral-500 border border-neutral-200"}`}>diff --git a/src/components/shortcuts/command-palette.tsx b/src/components/shortcuts/command-palette.tsxindex c9608ad..0d03de5 100644--- a/src/components/shortcuts/command-palette.tsx+++ b/src/components/shortcuts/command-palette.tsx@@ -104,7 +104,7 @@ function CommandPaletteDialog({aria-label={t("palette.placeholder")}className="w-full bg-transparent text-neutral-900 placeholder-neutral-400 text-[15px] focus:outline-none"/>- <kbd className="px-2 py-0.5 text-xs font-semibold text-neutral-400 bg-neutral-100 border border-neutral-200 rounded-md shadow-2xs">+ <kbd className="px-2 py-0.5 text-xs font-semibold text-neutral-500 bg-neutral-100 border border-neutral-200 rounded-md shadow-2xs">ESC</kbd></div>@@ -112,13 +112,13 @@ function CommandPaletteDialog({{/* Results */}<div id={listboxId} role="listbox" aria-label={t("palette.placeholder")} className="max-h-80 overflow-y-auto p-2">{filteredCommands.length === 0 ? (- <div role="status" className="p-8 text-center text-sm text-neutral-400">+ <div role="status" className="p-8 text-center text-sm text-neutral-500">{t("palette.noMatch", { query })}</div>) : (Object.entries(grouped).map(([category, items]) => (<div key={category} role="group" aria-label={t(`shortcut.category.${category}` as TranslationKey)} className="mb-2 last:mb-0">- <div aria-hidden="true" className="px-3 py-1 text-[11px] font-semibold uppercase tracking-wider text-neutral-400">+ <div aria-hidden="true" className="px-3 py-1 text-[11px] font-semibold uppercase tracking-wider text-neutral-500">{t(`shortcut.category.${category}` as TranslationKey)}</div>{items.map((item) => {@@ -146,7 +146,7 @@ function CommandPaletteDialog({</div>{/* Footer */}- <div className="px-4 py-2.5 bg-neutral-50 border-t border-neutral-100 flex items-center justify-between text-xs text-neutral-400">+ <div className="px-4 py-2.5 bg-neutral-50 border-t border-neutral-100 flex items-center justify-between text-xs text-neutral-500"><div className="flex items-center gap-3"><span><kbd className="px-1.5 py-0.5 bg-neutral-200 rounded mr-1 text-[10px]">diff --git a/src/components/shortcuts/shortcuts-help-dialog.tsx b/src/components/shortcuts/shortcuts-help-dialog.tsxindex f75ff3e..feed7d4 100644--- a/src/components/shortcuts/shortcuts-help-dialog.tsx+++ b/src/components/shortcuts/shortcuts-help-dialog.tsx@@ -89,7 +89,7 @@ function ShortcutsHelpDialogContent({<h2 id={titleId} className="text-base font-semibold text-neutral-900">{t("shortcutsHelp.title")}</h2>- <p className="text-xs text-neutral-400">+ <p className="text-xs text-neutral-500">{t("shortcutsHelp.subtitle")}</p></div>@@ -109,7 +109,7 @@ function ShortcutsHelpDialogContent({<div className="overflow-y-auto p-6 grid grid-cols-1 md:grid-cols-2 gap-6">{Object.entries(grouped).map(([category, items]) => (<div key={category} className="space-y-3">- <h3 className="text-xs font-semibold uppercase tracking-wider text-neutral-400 border-b border-neutral-100 pb-1.5">+ <h3 className="text-xs font-semibold uppercase tracking-wider text-neutral-500 border-b border-neutral-100 pb-1.5">{t(`shortcut.category.${category}` as TranslationKey)}</h3><div className="space-y-2">@@ -132,7 +132,7 @@ function ShortcutsHelpDialogContent({</div>{/* Footer */}- <div className="px-6 py-3 bg-neutral-50 border-t border-neutral-100 flex items-center justify-between text-xs text-neutral-400">+ <div className="px-6 py-3 bg-neutral-50 border-t border-neutral-100 flex items-center justify-between text-xs text-neutral-500"><span>{withKey(t("shortcutsHelp.pressToToggle", { key: "{key}" }), "?")}</span><span>{withKey(t("shortcutsHelp.pressToClose", { key: "{key}" }), "ESC")}</span></div>diff --git a/src/components/sidebar-footer.tsx b/src/components/sidebar-footer.tsxindex c5b11f1..8b8b0be 100644--- a/src/components/sidebar-footer.tsx+++ b/src/components/sidebar-footer.tsx@@ -38,7 +38,7 @@ export function SidebarFooter() {export function PoweredBy({ className = "px-1" }: { className?: string }) {const { t } = useLanguage();return (- <p className={`${className} text-[11px] text-neutral-400`}>+ <p className={`${className} text-[11px] text-neutral-500`}>{t("navigation.poweredBy")}{" "}<ahref={`https://mailflare.co/?ref=${typeof window !== "undefined" ? location.hostname : ""}&v=${packageJson.version}`}diff --git a/src/components/ui/badge.tsx b/src/components/ui/badge.tsxindex 26cc023..593204f 100644--- a/src/components/ui/badge.tsx+++ b/src/components/ui/badge.tsx@@ -6,7 +6,7 @@ const badgeVariants = cva({variants: {variant: {- success: "border-transparent bg-green-600/10 text-green-600",+ success: "border-transparent bg-green-600/10 text-green-800",default:"border-transparent bg-neutral-900 text-neutral-50",secondary: