From 3e377e21a314ac6ff5906ffc53e9153df89f0c8d Mon Sep 17 00:00:00 2001 From: tianma-if Date: Fri, 17 Jul 2026 19:52:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E6=B7=B1=E7=AC=94=E8=AE=B0=E6=AD=A3?= =?UTF-8?q?=E6=96=87=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/src/components/EditorPane.tsx | 2 +- apps/web/src/styles/globals.css | 2 +- apps/web/src/styles/mobile-markdown-editor.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/EditorPane.tsx b/apps/web/src/components/EditorPane.tsx index f848cd30..fa14673e 100644 --- a/apps/web/src/components/EditorPane.tsx +++ b/apps/web/src/components/EditorPane.tsx @@ -2672,7 +2672,7 @@ const RichEditorPane = ({ spellCheck data-edgeever-mobile-editor="plain-textarea" aria-label="笔记正文" - className="block min-h-[60dvh] w-full resize-none border border-slate-200 bg-white px-4 py-3 pr-32 text-base leading-7 text-slate-900 outline-none placeholder:text-slate-400 sm:px-7" + className="block min-h-[60dvh] w-full resize-none border border-slate-200 bg-white px-4 py-3 pr-32 text-base leading-7 text-slate-950 outline-none placeholder:text-slate-400 sm:px-7" placeholder="开始记录..." style={{ WebkitUserSelect: "text", userSelect: "text", caretColor: "auto" }} /> diff --git a/apps/web/src/styles/globals.css b/apps/web/src/styles/globals.css index 74877cf0..bad90579 100644 --- a/apps/web/src/styles/globals.css +++ b/apps/web/src/styles/globals.css @@ -170,7 +170,7 @@ textarea { } .ProseMirror { - color: #020617; + color: #000; font-size: var(--editor-body-font-size); line-height: var(--editor-body-line-height); min-height: 100%; diff --git a/apps/web/src/styles/mobile-markdown-editor.css b/apps/web/src/styles/mobile-markdown-editor.css index 26149757..c62bfd1f 100644 --- a/apps/web/src/styles/mobile-markdown-editor.css +++ b/apps/web/src/styles/mobile-markdown-editor.css @@ -395,7 +395,7 @@ input { min-height: calc(100dvh - 14rem); outline: none; padding: 18px 12px 32px; - color: #0f172a; + color: #020617; font-size: 17px; line-height: 1.7; -webkit-user-select: text;