From ab6bad5218d034d5a1bc5db09765cddb00856064 Mon Sep 17 00:00:00 2001 From: tianma-if Date: Sat, 26 Sep 2026 00:53:08 +0800 Subject: [PATCH] fix(web): use ink chrome and 12px type on secondary pages Tags, attachments, plugins, templates, and the tag picker follow the 12px and 14px ink palette. Beta badges use the same 12px line height as the surrounding labels. --- apps/web/src/components/AiPromptsPane.tsx | 24 +++++------ apps/web/src/components/AssetsPane.tsx | 36 ++++++++--------- apps/web/src/components/EditorTagPicker.tsx | 27 +++++++------ .../components/EvernoteImportGuidePane.tsx | 2 +- apps/web/src/components/NotebookPane.tsx | 4 +- .../src/components/PluginMarketplacePane.tsx | 2 +- apps/web/src/components/SettingsPane.tsx | 2 +- apps/web/src/components/TagsPane.tsx | 8 ++-- apps/web/src/components/TemplatesPane.tsx | 40 +++++++++---------- .../src/components/WorkspaceMobileChrome.tsx | 2 +- .../attachments/AttachmentFileIcon.tsx | 22 +++++----- .../execution/ExecutionCenterPane.tsx | 2 +- apps/web/src/components/pdf/PdfThumbnail.tsx | 2 +- .../components/plugins/PluginCatalogCard.tsx | 17 ++++---- .../plugins/PluginSettingsSection.tsx | 4 +- .../components/settings/PluginManagerCard.tsx | 13 +++--- 16 files changed, 103 insertions(+), 104 deletions(-) diff --git a/apps/web/src/components/AiPromptsPane.tsx b/apps/web/src/components/AiPromptsPane.tsx index e7c19420..5f6b6973 100644 --- a/apps/web/src/components/AiPromptsPane.tsx +++ b/apps/web/src/components/AiPromptsPane.tsx @@ -183,7 +183,7 @@ export const AiPromptsPane = ({ onClose, onOpenExecutionCenter }: { onClose: ()

- + {t("aiPrompts.title")}

{t("aiPrompts.description")}

@@ -196,9 +196,9 @@ export const AiPromptsPane = ({ onClose, onOpenExecutionCenter }: { onClose: ()
-

+

{t("aiPrompts.listTitle")} - + {prompts.length}

@@ -227,7 +227,7 @@ export const AiPromptsPane = ({ onClose, onOpenExecutionCenter }: { onClose: () className="gap-1.5 border-slate-200 bg-card text-xs font-semibold text-slate-700 shadow-2xs hover:bg-slate-50 hover:text-slate-900" onClick={startCreating} > - + {t("aiPrompts.add")}
@@ -241,15 +241,15 @@ export const AiPromptsPane = ({ onClose, onOpenExecutionCenter }: { onClose: () {editorOpen ? (
{ event.preventDefault(); if (canSubmit && hasChanges) saveMutation.mutate(); }} >
-

- +

+ {editing ? t("aiPrompts.edit") : t("aiPrompts.add")}