diff --git a/changelog/unreleased/console-kill-ai-slop.md b/changelog/unreleased/console-kill-ai-slop.md new file mode 100644 index 00000000..962a7c01 --- /dev/null +++ b/changelog/unreleased/console-kill-ai-slop.md @@ -0,0 +1,7 @@ +### English + +- Tighten the console's visual noise: small text now uses one 12 px caption size, oversized card radii and the toast's heavy shadow are reduced, and account errors, update status, and the key "all providers" tag use neutral surfaces instead of tinted red, green, or yellow boxes. + +### 中文 + +- 收敛控制台视觉噪音:小字统一为 12 px 一档,卡片过大圆角与通知的重阴影减小,账号错误、更新状态和密钥“全部供应商”标签改用中性底色,不再使用红/绿/黄整块着色。 diff --git a/docs/DESIGN.md b/docs/DESIGN.md index 14d50048..021bba32 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -122,7 +122,7 @@ HeroUI 3.2.4 的 `Tabs.Indicator` 会因 `SharedElementTransition` 崩溃,不 | 页内说明 | `mt-1 max-w-2xl text-sm leading-6 text-muted` | | 区块标题 | `font-semibold tracking-[-0.015em]` | | 正文 | `text-sm leading-6` | -| 元信息 / 标签 | `text-xs` 或 `text-[11px] text-muted` | +| 元信息 / 标签 | `text-caption text-muted`(12 px;`text-xs` 为同值别名,不再单独使用 11 px) | | 侧栏分组 | `text-[10px] font-semibold tracking-[0.12em] uppercase text-muted` | | 等宽 | `.mono`,`font-variant-numeric: tabular-nums` | diff --git a/frontend/src/components/AddAccountModal.tsx b/frontend/src/components/AddAccountModal.tsx index 234ec4ef..fd61b625 100644 --- a/frontend/src/components/AddAccountModal.tsx +++ b/frontend/src/components/AddAccountModal.tsx @@ -535,7 +535,7 @@ export function AddAccountModal({ isOpen, onClose, onAdded }: Props) {
{t('addAccountTitle')} -

+

{step === 'method' ? t('addAccountDesc') : (hint || t('addAccountDesc'))}

@@ -549,7 +549,7 @@ export function AddAccountModal({ isOpen, onClose, onAdded }: Props) { {typesLoading ? ( ) : !typesReady ? ( -

{t('accountTypeHint')}

+

{t('accountTypeHint')}

) : ( setAdvancedOpen((open) => !open)} aria-expanded={advancedOpen} - className="inline-flex items-center gap-1 text-xs font-medium text-muted transition-colors hover:text-foreground" + className="inline-flex items-center gap-1 text-caption font-medium text-muted transition-colors hover:text-foreground" > {t('wizardAdvanced')} @@ -640,7 +640,7 @@ export function AddAccountModal({ isOpen, onClose, onAdded }: Props) {
{t('dropSystemPrompt')}
-

{t('dropSystemPromptCreateHint')}

+

{t('dropSystemPromptCreateHint')}

) : null} {message ? ( -

{isDone ? : null}{message}

+

{isDone ? : null}{message}

) : null}
) : null} {message && !authUrl ? ( -

{isDone ? : null}{message}

+

{isDone ? : null}{message}

) : null} {showCallbackPaste ? (

{t('wizardCallbackLead')}