fix(web): 离线/内网环境改用系统字体,避免构建时联网下载 Google 字体

This commit is contained in:
selfrelease
2026-06-16 23:28:43 +08:00
parent 247da7b43c
commit 654d99c5e9
2 changed files with 15 additions and 7 deletions
+10
View File
@@ -4,6 +4,16 @@
@custom-variant dark (&:is(.dark *));
/* 系统字体回退:离线/内网环境不依赖 Google 字体 */
:root {
--font-sans: ui-sans-serif, system-ui, -apple-system, "PingFang SC",
"Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Roboto, Helvetica, Arial,
sans-serif;
--font-geist-sans: var(--font-sans);
--font-geist-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
"Liberation Mono", monospace;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);