Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

加深笔记正文颜色

tianma-if3e377e21a314
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;