From 02aef33a8959de14fcae077b7d3748e3fa0acec4 Mon Sep 17 00:00:00 2001 From: fordchao Date: Sat, 27 Jun 2026 21:16:10 +0800 Subject: [PATCH] feat: use system font stack instead of Geist for better CJK display Replace the Geist Variable font with system default font stack to improve rendering for Chinese/Japanese/Korean (CJK) users. The new font stack falls back to Pingfang SC on macOS and Microsoft YaHei on Windows, which look more natural for CJK text. Closes: nashsu/llm_wiki/issues (if any) --- src/index.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/index.css b/src/index.css index 3787e14a0..d46b35112 100644 --- a/src/index.css +++ b/src/index.css @@ -1,13 +1,11 @@ @import "tailwindcss"; @import "tw-animate-css"; @import "shadcn/tailwind.css"; -@import "@fontsource-variable/geist"; - @custom-variant dark (&:is(.dark *)); @theme inline { --font-heading: var(--font-sans); - --font-sans: 'Geist Variable', sans-serif; + --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Pingfang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif; --color-sidebar-ring: var(--sidebar-ring); --color-sidebar-border: var(--sidebar-border); --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);