From 1fcdb67049e2ee124f5fd68fb3b98eaaed812ec7 Mon Sep 17 00:00:00 2001 From: tianma-if Date: Sat, 26 Sep 2026 10:59:08 +0800 Subject: [PATCH] fix(web): lighten heavy fills and drop template filler Checked controls, progress, and update chips use the same charcoal as switches. Template actions and attachment filters no longer use a solid black fill, and the template page drops its two explanatory lines. --- apps/web/src/components/AssetsPane.tsx | 2 +- apps/web/src/components/EditorPane.tsx | 4 ++-- apps/web/src/components/EditorTagPicker.tsx | 2 +- apps/web/src/components/TemplatesPane.tsx | 5 +---- apps/web/src/components/dialogs/TemplatesDialog.tsx | 5 +---- apps/web/src/components/plugins/PluginCatalogCard.tsx | 2 +- apps/web/src/components/settings/DataExportCard.tsx | 2 +- apps/web/src/components/settings/PluginManagerCard.tsx | 4 ++-- apps/web/src/components/settings/WebDavBackupCard.tsx | 2 +- apps/web/src/components/ui/badge.tsx | 2 +- apps/web/src/lib/ui-palette.test.mjs | 1 + apps/web/src/styles/globals.css | 2 +- packages/shared/src/i18n/en-US.ts | 2 -- packages/shared/src/i18n/ja.ts | 2 -- packages/shared/src/i18n/zh-CN.ts | 2 -- 15 files changed, 14 insertions(+), 25 deletions(-) diff --git a/apps/web/src/components/AssetsPane.tsx b/apps/web/src/components/AssetsPane.tsx index c9df0901..b467687f 100644 --- a/apps/web/src/components/AssetsPane.tsx +++ b/apps/web/src/components/AssetsPane.tsx @@ -236,7 +236,7 @@ export const AssetsPane = ({ onClose, repository, onOpenExecutionCenter }: Asset onClick={() => setFilterType(type)} className={`rounded-lg border border-transparent px-3 py-1.5 text-xs transition-colors ${ filterType === type - ? "bg-slate-950 font-semibold text-slate-50" + ? "bg-workspace-selection font-semibold text-slate-950" : "font-medium text-slate-600 hover:bg-slate-100" }`} > diff --git a/apps/web/src/components/EditorPane.tsx b/apps/web/src/components/EditorPane.tsx index 91e61763..d2737498 100644 --- a/apps/web/src/components/EditorPane.tsx +++ b/apps/web/src/components/EditorPane.tsx @@ -3795,7 +3795,7 @@ const RichEditorPane = ({ {mobileEditingActive && !readOnly && (