fix: improve font configuration for Chinese support

This commit is contained in:
2026-03-04 02:03:22 +08:00
parent f3b0d79ef9
commit 0329bd2ff6
2 changed files with 3 additions and 3 deletions

View File

@@ -8,8 +8,8 @@
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
--font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
--font-mono: 'Inter', 'ui-monospace', 'SFMono-Regular', 'Menlo', monospace;
}
@media (prefers-color-scheme: dark) {

View File

@@ -3,7 +3,7 @@ import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import './globals.css';
const inter = Inter({ subsets: ['latin'] });
const inter = Inter({ subsets: ['latin'], display: 'swap' });
export const metadata: Metadata = {
title: '资源下载 - 选择项目和版本',