From 3d935f7eb6a06c726f12a60e253c848cc063ba07 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Tue, 7 Jul 2026 18:53:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(editor):=20=E9=BB=98=E8=AE=A4=E5=AD=97?= =?UTF-8?q?=E4=BD=93=E6=94=B9=E7=94=A8=20Fira=20Code=20=E4=BC=98=E5=85=88?= =?UTF-8?q?=E5=9B=9E=E9=80=80=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/desktop/src/stores/settingsStore.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/stores/settingsStore.ts b/apps/desktop/src/stores/settingsStore.ts index 7d4195d750..f9e5e6aa1f 100644 --- a/apps/desktop/src/stores/settingsStore.ts +++ b/apps/desktop/src/stores/settingsStore.ts @@ -478,9 +478,9 @@ export const EDITOR_THEMES: { value: EditorTheme; label: string; dark: boolean } const EDITOR_THEME_VALUES = new Set(EDITOR_THEMES.map((theme) => theme.value)); export const FONT_FAMILIES: { value: string; label: string }[] = [ + { value: "'Fira Code', 'Cascadia Code', 'Cascadia Mono', 'JetBrains Mono', monospace", label: "Fira Code" }, { value: "'JetBrains Mono', 'Fira Code', monospace", label: "JetBrains Mono" }, - { value: "'Fira Code', monospace", label: "Fira Code" }, - { value: "'Cascadia Code', monospace", label: "Cascadia Code" }, + { value: "'Cascadia Code', 'Cascadia Mono', monospace", label: "Cascadia Code" }, { value: "'Source Code Pro', monospace", label: "Source Code Pro" }, { value: "'SF Mono', 'Menlo', monospace", label: "SF Mono / Menlo" }, { value: "'Consolas', 'Courier New', monospace", label: "Consolas" }, @@ -488,7 +488,7 @@ export const FONT_FAMILIES: { value: string; label: string }[] = [ ]; export const DEFAULT_EDITOR_SETTINGS: EditorSettings = { - fontFamily: "'JetBrains Mono', 'Fira Code', monospace", + fontFamily: "'Fira Code', 'Cascadia Code', 'Cascadia Mono', 'JetBrains Mono', monospace", fontSize: 13, uiFontFamily: DEFAULT_UI_FONT_FAMILY, uiScale: 1,