fix(settings): render AI consent copy as foreground content

The central-codex and auto-read consent notes are safety copy the user
has to read before enabling a data-sharing path, but both rendered as
muted extra-small meta. Promote them to foreground text-sm and keep only
the decorative icon muted.
This commit is contained in:
Marc-André Bombeck committed 2026-08-09 03:59:19 +02:00
1 parent b46550d9a2
commit 338e9bc818
2 files changed
+10 -4

No files matched your search

@@ -105,8 +105,11 @@ export function AutoReadCard() {
role="note"
className="border-border space-y-3 rounded-lg border border-dashed px-3 py-2.5"
>
<div className="text-muted-foreground flex items-start gap-2 text-xs">
<ShieldAlert className="mt-0.5 size-3.5 shrink-0" aria-hidden />
<div className="flex items-start gap-2 text-sm">
<ShieldAlert
className="text-muted-foreground mt-0.5 size-3.5 shrink-0"
aria-hidden
/>
<p className="min-w-0">{t("settings.ai.autoRead.honesty")}</p>
</div>
<div className="flex flex-wrap gap-2">
@@ -104,8 +104,11 @@ export function CentralCodexSwitch({
role="note"
className="border-border space-y-3 rounded-lg border border-dashed px-3 py-2.5"
>
<div className="text-muted-foreground flex items-start gap-2 text-xs">
<ShieldAlert className="mt-0.5 size-3.5 shrink-0" aria-hidden />
<div className="flex items-start gap-2 text-sm">
<ShieldAlert
className="text-muted-foreground mt-0.5 size-3.5 shrink-0"
aria-hidden
/>
<p className="min-w-0">{t("settings.ai.centralCodex.honesty")}</p>
</div>
<div className="flex flex-wrap gap-2">